LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

8th Grade

10 Qs

quiz-placeholder

Similar activities

GAIMF-US-0001 - Quiz 1

GAIMF-US-0001 - Quiz 1

6th - 8th Grade

10 Qs

Lekcja 1.3

Lekcja 1.3

4th Grade - University

7 Qs

“Elektron pochtada ishlashni boshlash” (5-sinf))

“Elektron pochtada ishlashni boshlash” (5-sinf))

5th Grade - University

10 Qs

Advanced Microsoft Word Skills Assessment

Advanced Microsoft Word Skills Assessment

8th Grade - University

15 Qs

BASIC SCIENCE AND TECHNOLOGY

BASIC SCIENCE AND TECHNOLOGY

8th Grade

10 Qs

Основы алгоритмизации для 8 класса

Основы алгоритмизации для 8 класса

8th Grade

12 Qs

Recap Handout 3 & 4

Recap Handout 3 & 4

6th Grade - University

15 Qs

Python (basics)

Python (basics)

1st Grade - University

11 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?