Test 4 Edhesive Review

Test 4 Edhesive Review

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Iteration Recap

Iteration Recap

8th - 9th Grade

16 Qs

Python Control Structure

Python Control Structure

12th Grade

15 Qs

For Loop

For Loop

10th - 11th Grade

18 Qs

Python For Loops

Python For Loops

10th - 11th Grade

18 Qs

Loops

Loops

5th - 12th Grade

16 Qs

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

10th - 12th Grade

20 Qs

Loops Quiz

Loops Quiz

9th - 12th Grade

16 Qs

Python тілінде циклдар

Python тілінде циклдар

9th - 12th Grade

22 Qs

Test 4 Edhesive Review

Test 4 Edhesive Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Katy Fleming

Used 30+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

c = c + 1 is called a...

variable

count variable

input variable

float

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which loop prints the numbers 1, 2...100?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

To print the even numbers between -20 and 20 you would use:

x = x - 5

x = x - 1

x = x + 1

x = x + 2

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Ask the user to input a number less than 100. Print all the numbers from that number to 100.

Which loop correctly does this?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

What is the output? Select all that apply.

5

3

2

1

4

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Write a program that asks the user for their name and how many times to print it.

If I enter Ada and 3 it should print:

Ada

Ada

Ada

Which loop correctly does this?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The code sum = sum + num is used to ____________.

count how many times a loop repeats

add up a list of numbers

ask the user for input

declare a variable

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?