JavaScript Pre-test

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

x has a value of 6 y has a value of 4

Consider the following program code. What are the values of x and y as a result of this program code?

10 is printed

Consider the following program code. What is the result of running this program code? var sum= 0; for(var i=0; i <5; i++) sum += i print 1n(sum);

29

Evaluate the mathematical expression: 3 + 5 x 6 - 4

6 times

How many times would the phrase 'codeHS' be printed in the following scenario?

x ≤ 6

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

John has $15 and they are serving pizza

John will buy school lunch if they are serving pizza or grilled cheese and he has more than $10 in his wallet. Otherwise, John will bring lunch. In which of the following cases will John buy lunch?

row 1 column 4 facing south

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

2.5 units

Six identical circles fit inside the rectangle as shown. If the rectangle has a width of 15 units and a height of 10 units, what is the radius of each circle

A for loop repeats commands a specific number of times and a while loop repeats until a condition becomes false

What is the difference between a for loop and a while loop?

3 only

Which of the following describes a task effectively broken into smaller parts? (1). Looking for similarities between different bicycles (2). Ignoring unnecessary details in a math problem (3). Getting ready for school by getting dressed and eating breakfast


Set pelajaran terkait

Inquizitive: Misplaced/Dangling Modifiers

View Set

EC 110 Final Exam Practice Problems

View Set

bio 260 chapter 11 the cardiovascular system

View Set

Quiz 5: Conditioning & Learning; Memory

View Set

8.22.F - Test: Africa & Southwest Asia

View Set