Control Structure

Control Structure

University

20 Qs

quiz-placeholder

Similar activities

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

Be / Past Tense

Be / Past Tense

12th Grade - University

18 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Wrist and Hand Short Quiz

Wrist and Hand Short Quiz

University

20 Qs

Trivia Day

Trivia Day

9th Grade - University

15 Qs

Do I Know You?

Do I Know You?

KG - Professional Development

20 Qs

Creating Lesson Plans EDUC2024

Creating Lesson Plans EDUC2024

University

20 Qs

Control Structure

Control Structure

Assessment

Quiz

Other, Computers

University

Hard

Created by

Afifah Nailah

Used 14+ times

FREE Resource

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

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?