Start learning →

BCA General Python Programming — practice questions — page 2

Explore 32 free Python Programming questions in BCA General Computer Science. Open each question or exercise to read its content, reference answers and available explanation.

Practise Python Programming with Quill →

Python Programming questions and exercises with answers

Showing questions 31–32 of 32.

Worked practice questions

Group the Python ideas

Read exercise and reference answers
Items
  1. Group
    Variables
    Item
    Declared on use
  2. Group
    Variables
    Item
    Refers to object
  3. Group
    Operators
    Item
    and, or, not
  4. Group
    Operators
    Item
    Acts on operands
  5. Group
    Comments
    Item
    Starts with hash
  6. Group
    Comments
    Item
    Ignored on run
Groups
  1. Item
    Variables
  2. Item
    Operators
  3. Item
    Comments
Instructions
Drag each item into the group it belongs to.
_Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_

Open this exercise →

Python basics bingo

Read exercise and reference answers
Clues and terms
  1. Clue
    Translates and runs statements one at a time.
    Item
    Interpreter
  2. Clue
    Write the program in a file, save it, then run it.
    Item
    Script mode
  3. Clue
    A reserved word with one fixed meaning.
    Item
    Keyword
  4. Clue
    The name that uniquely marks a variable.
    Item
    Identifier
  5. Clue
    Text after a hash that the interpreter skips.
    Item
    Comment
  6. Clue
    A value that an operator works upon.
    Item
    Operand
  7. Clue
    Comma separated items inside square brackets.
    Item
    List
  8. Clue
    The one standard mapping type, in curly brackets.
    Item
    Dictionary
  9. Clue
    Its value cannot be changed once assigned.
    Item
    Immutable
Instructions
Read each clue and tap the term it describes.
_Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_

Open this exercise →

How to practise

  1. Choose a Python Programming question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

More Computer Science topics