026. A - G Extra Help

026. A - G Extra Help

9th - 12th Grade

7 Qs

Similar activities

Functions With Return Values U1M2 Python

Functions With Return Values U1M2 Python

9th - 12th Grade

12 Qs

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

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

9th Grade

9 Qs

AP CSA 5.3 (Comments)

AP CSA 5.3 (Comments)

10th - 12th Grade

6 Qs

Visual Basic

Visual Basic

11th Grade

12 Qs

Python Loops

Python Loops

9th - 12th Grade

10 Qs

2.1.2 Flowcharts and algorithms

2.1.2 Flowcharts and algorithms

10th Grade

10 Qs

HTML Javascript

HTML Javascript

9th Grade

12 Qs

Visual Basic I

Visual Basic I

10th - 11th Grade

10 Qs

026. A - G Extra Help

026. A - G Extra Help

Assessment

Quiz

Created by

Robert Giordano

Computers

9th - 12th Grade

Hard

7 questions

Show all answers

1.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up the while loop to continue as long as num1 is equal to num2

while ​ (a)   : ​

num1 == num2
num1 = num2
num1 =/= num2
num1 != num2

2.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up a while loop to continue while num1 is less than or equal to num2

while ​ (a)   :

num1 <= num2
num1 < num2
num1 > num2
num1 >= num2
num1 == num2
num1 != num2

3.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up a while loop to continue until num1 is equal to num2

while ​ (a)   :

num1 != num2
num1 == num2
num1 < num2
num1 > num2
num1 <= num2
num1 >= num2

4.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up the while loop to continue while remaining is positive

while ​ (a)   :

remaining > 0
remaining != 0
remaining == 0
remaining >= 0
remaining < 0
remaining <= 0

5.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up a while loop to continue until the user chooses 0

choice = -1

while ​ (a)   :

choice != 0
choice == 0
choice = -1
choice == -1

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the import statement required to generate random numbers

import ______

7.

DROPDOWN QUESTION

1 min • 1 pt

Complete the statement to generate a random number in then range of 1 - 100 (inclusive)

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

randint
1
100
randrange
0
2
101
99