Search Header Logo

Test 4 Edhesive Review

Authored by Katy Fleming

Computers

9th - 12th Grade

Used 30+ times

Test 4 Edhesive Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?