Math in Coding Review

Math in Coding Review

7th - 8th Grade

11 Qs

quiz-placeholder

Similar activities

The Real Number System and Comparing Review

The Real Number System and Comparing Review

8th Grade - University

16 Qs

Python Quiz  -  5

Python Quiz - 5

4th - 11th Grade

10 Qs

Python Lists

Python Lists

8th - 9th Grade

10 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

Python Basics

Python Basics

KG - University

15 Qs

Y9 Python Plenary

Y9 Python Plenary

8th Grade

11 Qs

Python - тест

Python - тест

1st - 12th Grade

15 Qs

HTML

HTML

8th Grade

10 Qs

Math in Coding Review

Math in Coding Review

Assessment

Quiz

Computers, Mathematics

7th - 8th Grade

Hard

Created by

Blake Ciolfi

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of the following code?

256

512

1024

2048

None of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does the following program do?

Displays a countdown from 5 to 0

Displays a countdown from 5 to -1

Displays the number 0

Displays the number -1

None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What is the final value of j?

0

8

4

16

None of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What is the final value of g?

9

10

6

An error will occur since there are too many "not"

None of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Media Image

The following code will not run properly and instead show an error message. Why?

Because there should only be one equal sign in g == 5

You cannot have a while loop inside an if statement

Python is confused because there are too many conditions being checked

There is nothing inside the while loop

None of the above

6.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Media Image

What does the following code do?

Replaces all items in the list by 4

Replaces the first item in the list by 4

Replaces the last item in the list by 4

Nothing. An error will occur

None of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

5 inputs, 5 outputs

5 inputs, 1 output

1 input, 5 outputs

1 input, 1 output

None of the above

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?