LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

8th Grade

10 Qs

quiz-placeholder

Similar activities

Understanding Data and Encoding

Understanding Data and Encoding

6th Grade - University

10 Qs

แบบทดสอบscratch

แบบทดสอบscratch

7th Grade - University

10 Qs

UHB Informatika Kelas VIII

UHB Informatika Kelas VIII

8th Grade

10 Qs

Penilaian Harian 1 Infrormatika kelas 8

Penilaian Harian 1 Infrormatika kelas 8

8th Grade

15 Qs

HTML_ONTAP_1

HTML_ONTAP_1

8th Grade

15 Qs

NPA Business External Factors

NPA Business External Factors

8th Grade - University

15 Qs

ITS Python 檔案與例外處理課堂測驗

ITS Python 檔案與例外處理課堂測驗

6th - 8th Grade

10 Qs

Tipuri de structuri

Tipuri de structuri

6th - 8th Grade

10 Qs

LOOPS AND FLOW CONTROL STATEMENTS

LOOPS AND FLOW CONTROL STATEMENTS

Assessment

Quiz

Information Technology (IT)

8th Grade

Practice Problem

Hard

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Already have an account?