LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

8th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz Google sheet inf 8 semester ganjil

Quiz Google sheet inf 8 semester ganjil

8th Grade

10 Qs

Python (basics)

Python (basics)

1st Grade - University

11 Qs

Year 7,8,9 Variables

Year 7,8,9 Variables

6th - 8th Grade

10 Qs

С++ база

С++ база

8th Grade

13 Qs

8 клас Типи даних у програмуванні. Введення й виведення даних. В

8 клас Типи даних у програмуванні. Введення й виведення даних. В

8th Grade

10 Qs

Selection Programming_If condition

Selection Programming_If condition

8th Grade - University

15 Qs

Prova PRONATEC

Prova PRONATEC

6th - 8th Grade

10 Qs

Python week 03 quiz

Python week 03 quiz

6th - 8th Grade

8 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?