Codehs pretest

Codehs pretest

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Java

Java

9th - 12th Grade

15 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

IST CodeHS Unit 2 Robot Coding Review

IST CodeHS Unit 2 Robot Coding Review

9th - 12th Grade

20 Qs

JavaScript - Karel

JavaScript - Karel

9th - 10th Grade

20 Qs

Code.org APCSA Unit

Code.org APCSA Unit

10th - 12th Grade

10 Qs

JavaScript Knowledge & Skills

JavaScript Knowledge & Skills

9th - 12th Grade

15 Qs

Y8 Java (Karel the dog)

Y8 Java (Karel the dog)

8th - 9th Grade

10 Qs

JavaScript Basics CodeHS

JavaScript Basics CodeHS

7th - 12th Grade

20 Qs

Codehs pretest

Codehs pretest

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Lily Schick

Used 18+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Evaluate the mathematical expression: 18 ÷ 3 + 3 × 3 – 8

2

4

5

7

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

If x represents the area of the number line colored blue, which inequality accurately reflects the value of x?

x < 8

x > 8

x ≥ 8

x ≤ 8

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Melissa will only drink a cup of coffee if she has slept less than 8 hours or she had to wake up before 6 am.

In which of the following cases does Melissa not drink a cup of coffee?

Melissa sleeps for 8 hours and wakes up at 7 am

Melissa sleeps for 7 hours and wakes up at 8 am

Melissa sleeps for 9 hours and wakes up at 5:30 am

Melissa sleeps for 7 hours and wakes up at 6 am

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Karel the Dog is instructed to move forward two spaces. Then, if Karel is standing on a ball, Karel will turn left and move forward two spaces. Otherwise, Karel will move forward two spaces. Given the starting point below, where will Karel end up?

Starting Point:

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

II only

I only

I and III only

I, II and IIIAnswered I, II and III

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

x has a value of y

y has a value of temp

x has a value of 5

y has a value of 8

x has a value of 8

y has a value of 5

x and y have a value of 5

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You’re building an e-commerce website. You create a class called Transaction to represent a single purchase on the site.

Which of these would not make sense as an instance variable in the Transaction class?

private int totalTransactionsToday

private double price

private String purchaserEmail

private String productName

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?