
Java Programming Concepts and Expressions
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

29 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following data types is used to store a whole number in Java? Options: double, int, boolean, String
Back
int
2.
FLASHCARD QUESTION
Front
Given int x = 7; int y = 3; double z = x / y;, what is the value of z after this code executes?
Back
2.0
3.
FLASHCARD QUESTION
Front
Which of the following best describes the purpose of a variable in a Java program? Options: To perform arithmetic calculations only, To store data values that can be used and modified later, To display values on the screen, To hold comments and documentation for the code
Back
To store data values that can be used and modified later
4.
FLASHCARD QUESTION
Front
What is the value of c after executing the following code:
int a = 10;
int b = 3;
int c = a % b;
Back
1
5.
FLASHCARD QUESTION
Front
Which of the following correctly represents a boolean value in Java? YES, True, true, 1
Back
true
6.
FLASHCARD QUESTION
Front
If int n = 5;, which expression correctly casts n to a double? Options: double x = n;, double x = (int)n;, double x = (n)double;, double x = (double)n;
Back
double x = (double)n;
7.
FLASHCARD QUESTION
Front
Which of the following is not a primitive data type in Java? Options: int, double, boolean, String
Back
String
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
29 questions
AP CSA Unit 3 Boolean Expressions
Flashcard
•
10th - 12th Grade
15 questions
Eukaryotic cell organelles
Flashcard
•
12th Grade
15 questions
Season 1 Review
Flashcard
•
12th Grade
15 questions
DNA Structure
Flashcard
•
12th Grade
18 questions
Java Method
Flashcard
•
12th Grade
26 questions
Rights of the Accused
Flashcard
•
12th Grade
18 questions
JavaScript Variables, Data Types, and Operators Flashcard
Flashcard
•
University
23 questions
Automata Flashcard April 2025
Flashcard
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade