Ada Lovelace was the first __________.
Computer Programmer
What class is used to read from the keyboard?
What is a Data Type?
The kind of information stored in a variable.
What is the correct symbol for a comment?
// and/or /* */
System.out.printl("Hello!");
println
Print "Hello World!"
System.out.println("Hello World!");
Creating the first high level language is credited to famouse programmer ________.
Grace Murray Hopper
What function is used to read a String value from the user?
nextLine()
String, Scanner, Random
This is a direct representation of data in the code.
Literal
int x = 4.5;
4.5 is not a whole number
Declare and Initialize a String Variable called x to the literal text value hello
String x = "hello";
Charles Babbage's Differential Engine and ENIAC had little in common except that they were both created to _________.
Calculate Mathematical Equations for the Military
Can you print a user-entered value simultaneously while you read the value from the keyboard?
NO.
What's the difference between int and double?
int - whole number
double - decimal
This refers to a specific place in computer memory and the current value stored there.
Variable
should be nextBoolean()
Declare a boolean variable named canWin
boolean canWin;
The first computer (ENIAC) was programmed using ________.
Switches that represented binary
Which of these is NOT a Scanner library call (to the best of your knowledge):
nextBoolean()
nextDouble()
nextChar()
nextChar()
An error with Data Types is considered a ______ Error.
Syntax
These have specific, unchangeable meaning in the computer language.
Key Word
Charles Babbage's differential engine was inspired by:
A French industrial loom that used cards to control the pattern of the threads
//Will this code print the user entered value?
Scanner kb = new Scanner(System.in);
S.O.P("Who is your daddy and what does he do: ")
kb.nextLine();
NO.
A String is made of ________.
chars
This is code that someone else wrote that you can use.
Library Call
System.out.println("Math.pow(2,2)");
Logic Error
Write the import statement needed for the Scanner and Random libraries
import java.util.*;