Java Basics
Java Variables
Scanners
Math functions & operators
100

How do you write a short comment?

//

100

What variable type stores WORDS?

String

100

What is missing?

import ____.util.Scanner;

java

100

What is the result Math.abs(-5)

5

200
What is the mistake here?

System.out.println {

there shouldn't be a {

200

What is variable name here?

boolean check = false;

check

200
What is missing here?


int num = myScan._____();

nextInt

200

What does this function do?

Math.pow(5,2);

52 = 25

300

what is the class name here?

public class Jeopardy {

Jeopardy

300

What are the 3 variable types that stores in numbers?

int, double, float

300

What is missing here?

String name = myScan.next____();

Line
300

What is the result it Math.sqrt(4) + Math.abs (-4)?

6.0

400

What goes in the missing blank?

public static void ______ (String[] args) { ... }

main

400

Which variable type uses single quotes?

char

400

Create a Scanner object named "printMe".

Scanner printMe = new Scanner(System.in);

400

What is 14 % 3?

2