026. A - G Extra Help

026. A - G Extra Help

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Java Methods & Constructors

Java Methods & Constructors

10th - 12th Grade

11 Qs

Programação em C

Programação em C

10th - 12th Grade

10 Qs

AP CSP MCQ Review Session 3 Quiz

AP CSP MCQ Review Session 3 Quiz

10th Grade

11 Qs

Python Condition Controlled Iteration

Python Condition Controlled Iteration

10th Grade

10 Qs

PRE-TEST g10

PRE-TEST g10

10th Grade

8 Qs

H446 1.2 Revision Quiz

H446 1.2 Revision Quiz

12th Grade

9 Qs

Control Structures - Selection in Python

Control Structures - Selection in Python

8th Grade - University

11 Qs

Phyton  Review Lesson 1-10

Phyton Review Lesson 1-10

12th Grade - Professional Development

5 Qs

026. A - G Extra Help

026. A - G Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Robert Giordano

FREE Resource

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