Search Header Logo

026. A - G Extra Help

Authored by Robert Giordano

Computers

9th - 12th Grade

7 Questions

026. A - G Extra Help
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?