Java Basics MP1 Test 3
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A variable that holds a decimal number
Back
double
2.
FLASHCARD QUESTION
Front
It is a data type used to hold multiple characters, like words and sentences.
Back
String
3.
FLASHCARD QUESTION
Front
What output will be produced by:
System.out.println("Hello");
System.out.print("Karel");
Back
Hello
Karel
4.
FLASHCARD QUESTION
Front
What does the code segment output?
Back
5.
FLASHCARD QUESTION
Front
What is the value of x after this code runs?
int x = 5;
x = 10;
x = 4;
Back
4
6.
FLASHCARD QUESTION
Front
What will the following code print?
int n = 5;
n++;
n++;
n += n;
System.out.println(n);
Back
14
7.
FLASHCARD QUESTION
Front
Refer to the following code segment: The student wanted the output to be: 1 / 4 = 0.25. Which change to the first line would get the correct answer? Options: int myDouble = 1/4;, double myDouble = (double) 1/4;, double myDouble = (int) 1/4;, double myDouble = (int) (1.0/4.0);
Back
double myDouble = (double) 1/4;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
KESETIMBANGAN KIMIA XI
Flashcard
•
11th Grade
10 questions
1.5 Network Protocols & Toplogy
Flashcard
•
10th Grade
15 questions
The Genre of Science Fiction
Flashcard
•
11th - 12th Grade
13 questions
[AP CSP] Binary Conversion
Flashcard
•
9th - 12th Grade
10 questions
Output Devices
Flashcard
•
10th Grade
19 questions
Respiratory System and Gas Exchange
Flashcard
•
11th Grade
15 questions
MAT_2_EM_QN01-QN06
Flashcard
•
11th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University