034. Extra Help

034. Extra Help

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Python end

Python end

10th Grade

10 Qs

Break the fear

Break the fear

11th - 12th Grade

10 Qs

Języki programowania

Języki programowania

1st - 12th Grade

10 Qs

Ozaria 2 T11

Ozaria 2 T11

12th Grade

10 Qs

Fundamentals of Algorithms

Fundamentals of Algorithms

10th Grade

10 Qs

10 класс повторение CSS and Внедрение мультимедиа

10 класс повторение CSS and Внедрение мультимедиа

10th Grade

10 Qs

MIL Summative Test No. 1

MIL Summative Test No. 1

12th Grade

10 Qs

Module 3: Imaging and Design For The Online Environment

Module 3: Imaging and Design For The Online Environment

11th - 12th Grade

10 Qs

034. Extra Help

034. Extra Help

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Robert Giordano

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Set up a while loop to continue while num is equal to 10

while _____________:

2.

DRAG AND DROP QUESTION

1 min • 1 pt

set up a while loop to continue while num1 is equal to num2

while ​ (a)   ​ (b)   ​ (c)   :

num1
==
num2
=
!-
!+
!=
<=
>=
<

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank to generate a random number between 5 and 10 inclusive

import random

num = random.randint(______)

4.

DRAG AND DROP QUESTION

1 min • 1 pt

Media Image

Complete the if/elif/else statement to translate the numbers 1 - 3 to A - C​

conditionA: ​ (a)  

conditionB: ​ (b)  

conditionC: ​ (c)  

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

5.

DRAG AND DROP QUESTION

1 min • 1 pt

Set up a while loop that will continue while both num1 and num2 are less than 5

while ​ ​ (a)   ​ (b)   ​ ​ (c)   :

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

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?