Math in Coding Review

Math in Coding Review

7th - 8th Grade

11 Qs

quiz-placeholder

Similar activities

Class VII

Class VII

7th Grade

10 Qs

Quiz Chapter 12: Data Handling

Quiz Chapter 12: Data Handling

7th Grade

10 Qs

F1 - Discount

F1 - Discount

7th Grade

12 Qs

Year 9 Self Evaluation Algebra 1

Year 9 Self Evaluation Algebra 1

8th - 10th Grade

12 Qs

Assessment #6 (Chp5-7 F1)

Assessment #6 (Chp5-7 F1)

7th - 8th Grade

15 Qs

7ICT - Algorithms Revision Quiz

7ICT - Algorithms Revision Quiz

7th Grade

15 Qs

Common Fraction Conversions

Common Fraction Conversions

5th - 7th Grade

10 Qs

Basic Quadratic Inequalities

Basic Quadratic Inequalities

8th Grade

12 Qs

Math in Coding Review

Math in Coding Review

Assessment

Quiz

Computers, Mathematics

7th - 8th Grade

Practice Problem

Hard

Created by

Blake Ciolfi

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?