GoConqr has a new look! Let us know what you think.

Quiz

Python revision quiz

Fiona Faulkner 9 questions 2.0 (2 ratings)

Take the quiz

Questions in this quiz (9)

  1. 1The keyword 'print' outputs text in brackets to the screen
    1. ATrue
    2. BFalse
  2. 2To store data in a program we use a variable followed by this sign
    1. Acolon (:)
    2. Bequals (=)
    3. Chyphen (-)
  3. 3To allow the user of a program to enter data in response to a question we use the keyword 'int'
    1. ATrue
    2. BFalse
  4. 4Data that consists of letters, characters, spaces and numbers is this data type:
    1. Astring
    2. Binteger
    3. Cfloat
  5. 5To cast a number back to string we use int( )
    1. ATrue
    2. BFalse
  6. 6To tell a program to only run if a specified condition is met, we use:
    1. Aelse
    2. Belif
    3. Cif
  7. 7Iteration means:
    1. Athe program will end
    2. Bthe program will loop
  8. 8To make a program easier to read and understand we use a line of text to explain part of the code. So that the line of text does not become confused as part of the actual program, we use this character:
    1. A#
    2. B*
  9. 9Boolean conditions can only have 1 of 2 possible values, e.g. ==, !=
    1. ATrue
    2. BFalse

Information

Description
keywords used to program in Python
Language
English
Views
439
Rating
2.0 out of 5 · 2 ratings
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?