Console.Log
Variables
User Input/Random Numbers
Basic Math
Current Events
100

When writing a string, we must start with what phrase to initialize it?

console.log

100

What type of variable is 10

Int

100

Do we use read or next when asking for user input?

read

100

What is this sign *

multiply

100

We are___ days until the general election(closest one)

A. <25

B. <50

C. <75


B

200

What is wrong with this segment of code?


Console.log("Hello");

Capital C.

200

What type of variable is either true or false

Boolean

200
Do we use Random or Randomizer to get a random number?

Randomizer

200

What does % mean?

Module, what is left over.

200

This prominent rapper will be playing at the Super Bowl in February.

Kendrick Lamar

300

Write on the board how this code would print:


console.log("Hello");

console.log("_");

console.log("World");

Hello 

_

World

300

How do we make sure a variable never changes?

How do you call it?

Keep it constant.

const

300

(_,_)


Describe the blanks in the Randomizer

LowEnd, highEnd

300

Solve:

1+2+3*4-2

13

300

The Federal Reserve announced yesterday that they would __________ interest rates.

Lower

400

This data type in Java is used to represent a sequence of characters.

String

400

What's wrong with this code

let numApples = 20;

console.log("I love to eat + numApples + "A day");

Missing a "

400

What is wrong with this line of code or is there anything wrong at all?

num =readInt("What is your favorite number?")

No "let"

400

Solve

1+(2+3)/4+8*6

I want the answer as an Int

50

400

Who is the Mayor of Overland Park?

Curt Skoog

500

This keyword is used to declare an INT   in JavaScript.

let

500

How would this print? Write on board


let teacher = "Mr.";

let name = "O'Keefe";

console.log( teacher + name);

Mr.O'Keefe (no space)

500

What is incorrect or correct with this code?

let num = Randomizer.readInt(1,10);

It should be next not read

500

Solve:

1+4*5%3+2

5

500

How many Senators does the state of Kansas have?

2