033. Extra Help

033. Extra Help

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

AP CSP Review

AP CSP Review

9th - 12th Grade

10 Qs

CSI U5L2 - Sequence & Selection

CSI U5L2 - Sequence & Selection

10th Grade - University

10 Qs

Bài 4: Nhập xuất dữ liệu

Bài 4: Nhập xuất dữ liệu

12th Grade

10 Qs

Computer Science Foundations - Module 4 Review

Computer Science Foundations - Module 4 Review

9th - 11th Grade

9 Qs

9. Урок 12+ Принципи тривимірної навігації

9. Урок 12+ Принципи тривимірної навігації

9th Grade

9 Qs

Break the fear

Break the fear

11th - 12th Grade

10 Qs

9 класс Информатика Одномерный массив данных

9 класс Информатика Одномерный массив данных

9th - 10th Grade

10 Qs

Ch 5 Practice

Ch 5 Practice

9th - 12th Grade

10 Qs

033. Extra Help

033. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Robert Giordano

FREE Resource

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to set up a loop that will continue as long as num equals 0

while _______________:

2.

DROPDOWN QUESTION

1 min • 1 pt

Set up a while loop that will continue as long as num1 and num2 are greater than 5

while ​ (a)   :

num1 > 5 and num2 > 5
num1 < 5 and num2 < 5
num1 > 5 or num2 > 5
num1 < 5 or num2 < 5
num1 and num2 > 5
num1 or num2 > 5
num1 and num2 < 5
num1 or num2 < 5

3.

DRAG AND DROP QUESTION

1 min • 1 pt

Complete the statement to generate a random number in the range [1, 10]

num = random.randint(​ (a)   , ​ (b)   )

1
10
0
2
9
11

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the if statement to only print "Hey" if num is greater than 10

if _________:

print("Hey")

5.

DRAG AND DROP QUESTION

1 min • 1 pt

Media Image

Complete the code to translate the numbers 1 - 4 to A - D

conditionA: ​ (a)  

conditionB: ​ (b)  

conditionC: ​ (c)  

conditionD: ​ (d)  

num == 1
num == 2
num == 3
num == 4
num == 0
num = 0
num = 1
num = 2
num = 3
num = 4