Module_3.1

Module_3.1

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

Nested If

Nested If

6th - 12th Grade

15 Qs

Programming Basics

Programming Basics

9th - 12th Grade

21 Qs

File Handling In Python

File Handling In Python

12th Grade

20 Qs

Python - Conditional Statements

Python - Conditional Statements

9th - 11th Grade

23 Qs

CodeHS JavaScript

CodeHS JavaScript

8th - 12th Grade

21 Qs

AQA GCSE Computer Science - 3.1.1 Representing algorithms

AQA GCSE Computer Science - 3.1.1 Representing algorithms

8th - 10th Grade

19 Qs

Scratch Pre-Assessment

Scratch Pre-Assessment

5th - 9th Grade

20 Qs

SQL

SQL

12th Grade

20 Qs

Module_3.1

Module_3.1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Harry Riley

Used 2+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The 'pass" statement does what?

exits the program

does not execute anything, just move to the next block of code

returns False

returns True

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Boolean expression evaluates to True or False?

True!

False!

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using an 'if' statement in Python, the code will execute if the condition is true?

False

True

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

= means to compare to values to see if they are equal to one another in Python?

true

false

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

'else' statement will run only if...

The 'if' statement is true

the 'if' statement is false

will run no matter what

can be ran by itself

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

condition 1 and condition 2

evaluates to true if one of them is false

if both are false it will evaluate to true

both conditions have to be false to evaluate to true

both conditions have to be true to evaluate to true

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

condition1 or condition 2 Must be what to evaluate to true?

both conditions have to be true

Both conditions have to be false

only one condition has to be true

at least on condition has to be false

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?