Lesson 3: Conditional Statements Y7

Lesson 3: Conditional Statements Y7

6th Grade

15 Qs

quiz-placeholder

Similar activities

Escape Sequences

Escape Sequences

6th - 11th Grade

20 Qs

PYTHON

PYTHON

6th - 8th Grade

13 Qs

Season 4 #Spaic Python Weekly Quiz

Season 4 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

Explorando Python

Explorando Python

6th Grade

16 Qs

Python Basics Quiz

Python Basics Quiz

6th - 10th Grade

15 Qs

python

python

3rd Grade - University

12 Qs

#Sg_Spaic Last season Quiz (ML and Python)

#Sg_Spaic Last season Quiz (ML and Python)

KG - Professional Development

10 Qs

Variables

Variables

6th - 8th Grade

10 Qs

Lesson 3: Conditional Statements Y7

Lesson 3: Conditional Statements Y7

Assessment

Quiz

Other

6th Grade

Hard

Created by

jasroop ict

Used 11+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code print?

x = 10 y = 5 print(x + y)

105

15

Error

10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What is a string?

Text in quotes "hello"

2.2

4

"hello" 2.2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 What is the output of this code?

a = True b = False

print(a + b)

True False 

False

Error

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an integer? 

4.0

4

"4"

Number with a decimal point

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 How would you define a variable that holds the number 3.14 in Python?

x = 3.14

x = 3.14f

x = "3.14"

x = 3.14.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a conditional statement? 

Ture and false 

If it is hot wear sunglasses, if it is cold wear a hat. 

 Error

 Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an input statement look like in Python?

input()

int()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?