No student devices needed. Know more
15 questions
Evaluate the mathematical expression: 18 ÷ 3 + 3 × 3 – 8
2
4
5
7
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
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
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:
II only
I only
I and III only
I, II and IIIAnswered I, II and III
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
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
Which for loop will properly print “good luck” 10 times?
A
B
C
D
What are parameters?
The value that a method returns.
The formal names given to the data that gets passed into a method.
The values that a method prints to the screen.
The type that is given to a variable
10
5
This method is improperly written.
This method returns nothing.
The program does not compile.
dog
The program does not produce any output.
cat
Shape Rectangle Rectangle Oval
Shape Rectangle Square Circle
This code will error
Shape Rectangle Rectangle Circle
II only
III only
I and II
I only
I and III
What value will be held in mysteryNumber when this code finishes running?
17
0
1
16
Given this array:
1 2 4 5 6 7 8 12 14 21 22 42 53
How many comparisons are required to find 42 using the Binary Search?
2
10
3
5
Explore all questions with a free account