026. A - G Extra Help

026. A - G Extra Help

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Code.org CSP Unit 4 Review

Code.org CSP Unit 4 Review

9th - 12th Grade

6 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

C# Programming Basics Quiz

C# Programming Basics Quiz

10th Grade

10 Qs

IGCSE Computer Science - Chapter 9: Problem-Solving and Design

IGCSE Computer Science - Chapter 9: Problem-Solving and Design

9th - 10th Grade

10 Qs

SLR 9 - Advanced Programming Techniques - Part Two

SLR 9 - Advanced Programming Techniques - Part Two

10th Grade

10 Qs

SUBROUTINE 101

SUBROUTINE 101

9th Grade

10 Qs

Input and Output Operations in Python

Input and Output Operations in Python

6th - 10th Grade

11 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 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