Python ICT Test
Python ICT Test
Worksheets Name
a) interpreter b) variable
c) whitespace d) modulus
a) modulus b) boolean
c) variables d) exponents
a) % b) """
c) # d) **
a) modulus b) boolean
c) comment d) variable
a) & b) **
c) % d) #
6. A data type than can have one of two values: True or False
a) modulus b) interpreter
c) variable d) boolean
a) () b) %
c) ** d) #
1/5
Python
a) my Variable = 10 b) myVariable is 10
c) myVariable = 10 d) myVariable: 10
9. 102 = 100
Which of the following is used in Python to calculate ten squared?
a) 10 ** 10 b) 10 ** 2
c) 10 * 2 d) 10 % 2
10. To solve a problem that requires the user to enter 10 numbers would use what type of iteration?
a) Boolean b) Integer
c) String d) Float
a) Iteration b) Selection
c) Sequence d) Variable
a) 3+4 b) print(3+4)
c) 7 d) SyntaxError
a) 3+4 b) SyntaxError
c) 7 d) 34
2/5
Python
a) SyntaxError b) Helloworld!
c) "Hello" "world!" d) Hello world!
a) print b) read
c) display d) output
3/5
Python
Answer Keys
4. c) comment 5. c) % 6. d) boolean
7. d) # 8. c) myVariable = 10 9. b) 10 ** 2
4/5
Python
5/5
Python-ICT
Worksheets Name
Python-ICT Class
Total questions: 20
Worksheet time: 9mins Date
a) defined by the values it can take or the operations b) Where there are different kinds/types of data
that can be performed provided
c) Shows you what different types of data are provided d) Used in ICT on google slides
a) Python b) Anaconda
c) Snail d) Snake
a) string b) boolean
c) float d) integer
a) Float b) Boolean
c) String d) Integer
a) String b) Integer
c) Float d) Boolean
a) String b) Boolean
c) Integer d) Float
1/5
Python-ICT
8. ==
What does this symbol mean?
9. !=
What is this symbol
10. <
What is this symbol?
a) Syntax b) Error
c) Here d) Syntax Error
a) Statements b) ICT
c) Python Code d) Selection
a) Python b) Help
c) Other d) Revision
2/5
Python-ICT
18. If you want more than one option for your code, what do you use (after if)?
a) ifif b) else
c) elif
a) John b) Bob
c) Rob
20. What is the word (command) used to display numbers and text on the screen?
a) output b) print
c) command d) input
3/5
Python-ICT
Answer Keys
13. d) Revision 14. a) Syntax is the rules of the 15. b) Television show called
programming language Monty Python
4/5
Python-ICT
5/5