034. Extra Help

034. Extra Help

Assessment

Assessment

Created by

Robert Giordano

Computers

9th - 12th Grade

Hard

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FILL IN THE BLANK

1 min • 1 pt

Set up a while loop to continue while num is equal to 10

while _____________:

2.

DRAG AND DROP

1 min • 1 pt

set up a while loop to continue while num1 is equal to num2

while ​ (a)   ​ (b)   ​ (c)   :

3.

FILL IN THE BLANK

1 min • 1 pt

Fill in the blank to generate a random number between 5 and 10 inclusive

import random

num = random.randint(______)

4.

DRAG AND DROP

1 min • 1 pt

Media Image

Complete the if/elif/else statement to translate the numbers 1 - 3 to A - C​

conditionA: ​ (a)  

conditionB: ​ (b)  

conditionC: ​ (c)  

5.

DRAG AND DROP

1 min • 1 pt

Set up a while loop that will continue while both num1 and num2 are less than 5

while ​ ​ (a)   ​ (b)   ​ ​ (c)   :