Test 4 Edhesive Review

Test 4 Edhesive Review

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Intro to Java Loops

Intro to Java Loops

9th - 12th Grade

15 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

Python Basics Review

Python Basics Review

10th Grade

18 Qs

Python Iteration

Python Iteration

10th Grade

17 Qs

for loop

for loop

9th Grade

22 Qs

Python - Iteration (For Loops)

Python - Iteration (For Loops)

10th Grade

20 Qs

Python Basics Review (TSK)

Python Basics Review (TSK)

9th - 12th Grade

20 Qs

For and While Loops in Python

For and While Loops in Python

9th - 12th Grade

16 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?