Control Structure

Control Structure

University

20 Qs

quiz-placeholder

Similar activities

Computer System Servicing: Occupational Health and Safety

Computer System Servicing: Occupational Health and Safety

10th Grade - University

15 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

Super easy quiz

Super easy quiz

1st Grade - Professional Development

16 Qs

PF Unit 5

PF Unit 5

KG - University

20 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

Python MCQ

Python MCQ

University

20 Qs

Safety Briefing Quiz

Safety Briefing Quiz

University

20 Qs

Control Structure

Control Structure

Assessment

Quiz

Other, Computers

University

Hard

Created by

Afifah Nailah

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use to control the number of repetition in while structure? 

Counter
Programmer
me
Officer

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which code line is not correct in calculator program?

2
3
1
4

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How many times will it repeat displaying the text(I deserve a good education) on the screen?

4
5
6
infinite

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result?
number_of_coins = 10                           . 
if number_of_coins == 6:                       .
.          print("You can buy some gum")
else:                                                                      .
if number_of_coins == 10:
.      print("You are rich")
else:                                               .
.  print("Get a job!")

You can buy some gum
You are rich
Get a job!
You are rich
Get a job!

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result?
number_of_coins = 1                           . 
if number_of_coins == 6:                       .
.          print("You can buy some gum")
else:                                                                      .
if number_of_coins == 10:
.      print("You are rich")
else:                                               .
.  print("Get a job!")

You can buy some gum
You are rich
Get a job!
You are rich
Get a job!

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result?
number_of_coins = 6                           . 
if number_of_coins > 6:                       .
.          print("You can buy some gum")
else:                                                                      .
if number_of_coins < 10:
.      print("You are rich")
else:                                               .
.  print("Get a job!")

You can buy some gum
You are rich
Get a job!
You are rich
Get a job!

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result?
number_of_coins = 2                           . 
if number_of_coins > 6:                       .
.          print("You can buy some gum")
else:                                                                      .
if number_of_coins < 10:
.      print("You are rich")
. print("Get a job!")

You can buy some gum
You are rich
Get a job!
Nothing prints

Access all questions and much more by creating a free account

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?