
c4 2-5 The Common Operators - GCSE Quiz
Authored by Clare Ross
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the answer when we calculate 18 % 4?
14
4
4.5
2
0.5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type would we use to accurately store the result of 19 / 10 as 1.9?
Integer
Float
Boolean
String
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We want to work out if 5 is greater than 3. Enter the correct comparison operator to complete the statement below.
5<3
5>3
5==3
5>=3
4.
MULTIPLE SELECT QUESTION
30 sec • 3 pts
Given the following variables in the pic: Which three of the following statements are true?
userName != "Helen"
year == 2016
year <= year
age > year
age == year
5.
MULTIPLE SELECT QUESTION
30 sec • 2 pts
Given the following variables in the code below: Which two of the following statements are true?
userName != "Marit" OR Age == 23
age == 23 AND year == 2005
year == 2016 OR year == 2004
year == 2016 AND year == 2004
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following Python code below: Given the output of this code would be “The result is 1”, which of the following is missing from line 3?
result = num1 / num2
result = num1 // num2
result = num1 DIV num2
result = num1 MOD num2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following Python code: What would the output be?
3 2 1
3 2 1.5
3 2 6
3 2 9
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?