Test 4 Edhesive Review

Test 4 Edhesive Review

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Python 3 Review Part 1

Python 3 Review Part 1

9th - 12th Grade

20 Qs

Lesson 5 Looping Quiz

Lesson 5 Looping Quiz

10th - 12th Grade

15 Qs

Python Basics Review

Python Basics Review

10th Grade

18 Qs

Python - Iteration (For Loops)

Python - Iteration (For Loops)

10th Grade

20 Qs

Penggunaan For dalam Bahasa C

Penggunaan For dalam Bahasa C

10th Grade

18 Qs

Pseudocode Practice Questions

Pseudocode Practice Questions

9th - 12th Grade

20 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python Basic Loops

Python Basic Loops

10th - 11th Grade

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