LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

8th Grade

10 Qs

quiz-placeholder

Similar activities

Blockly Programming Quiz [Level 1A]

Blockly Programming Quiz [Level 1A]

7th Grade - University

10 Qs

Cybersecurity Awareness Quiz PART 1

Cybersecurity Awareness Quiz PART 1

6th - 8th Grade

10 Qs

8-klass informatika

8-klass informatika

8th Grade - University

15 Qs

Python Junior

Python Junior

6th - 8th Grade

12 Qs

Computer Basics Quiz

Computer Basics Quiz

4th Grade - University

15 Qs

PICAXE_Robòtica

PICAXE_Robòtica

6th Grade - University

15 Qs

N5 Admin Letters and Tables

N5 Admin Letters and Tables

8th Grade - University

15 Qs

S3 Admin Excel Spreadsheet Formatting Assessment

S3 Admin Excel Spreadsheet Formatting Assessment

8th Grade - University

10 Qs

LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

Assessment

Quiz

Information Technology (IT)

8th Grade

Hard

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Code for

Five is greater than two!

if 5 > 2:

print("Five is greater than two!")

if 5 = 2:

print("Five is greater than two!")

if 5 > 2: Print("Five is greater than two!")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Code for

257

Hello, World!

x = 257

y = "Hello, World!"


print(y)

print(x)

x = 257

y = "Hello, World!"


print(x)

print(y)

x = 257

y = Hello, World!


print x

print y

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + "world" + "today")
Helloworldtoday
Hello world today
"Hello" "world" "today"
SyntaxError

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of this program:

Friday = False

if Friday:

print "Jeans day!"

else:

print "Uniform day"

Jeans day

Today is Friday

Uniform day

Not Friday

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will check to see if a is equal to b?
if a == b
if a = b:
if a != b:
if a == b:

6.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

An empty/null statement in python is ____________

go

pass

over

;

7.

MULTIPLE CHOICE QUESTION

2 mins • 12 pts

Media Image

What is the output of the above program ?

Am I here?

Or here ?

Am I here ? Or here ?

Or here ? Or over here ?

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?