
Basic Java Programming Pre-test
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which method is used to print Hello World in Java?
Back
System.out.println("Hello World");
2.
FLASHCARD QUESTION
Front
How to create a variable with the numeric value 5? Options: x = 5;, num x = 5, float x = 5;, int x = 5;
Back
int x = 5;
3.
FLASHCARD QUESTION
Front
Which of these statements about Data Types is FALSE?
int stores whole numbers,
double stores fractional numbers,
boolean stores true or false values,
char store a sequence of characters
Back
char store a sequence of characters
4.
FLASHCARD QUESTION
Front
Which library is used to receive input?
Back
java.util.Scanner;
5.
FLASHCARD QUESTION
Front
What is the correct way of using if conditions in Java? Options: if (x = 10), if (x == 10), if (x === 10), if (x != 10)
Back
if (x == 10)
6.
FLASHCARD QUESTION
Front
What is the correct way to start a while loop in Java? Options: while x > y {, while (x > y), while x > y:, x > y while {
Back
while (x > y)
7.
FLASHCARD QUESTION
Front
Which is the correct way of using a For Loop? Options: for (int i==0;i<10;i++), for (m=10;m>10;m--), for (j<1;j=10;j++), for (int k==0;i<=10;i--), for (int l++;l=1;l<10)
Back
for (m=10;m>10;m--)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
6 questions
Testo Narrativo
Flashcard
•
11th Grade
2 questions
Environmental Vocabulary Flashcard
Flashcard
•
11th Grade
4 questions
LKPD 1
Flashcard
•
12th Grade
8 questions
Mastering Relative and Comment Clauses
Flashcard
•
11th Grade
15 questions
What is the Limit?
Flashcard
•
11th Grade
7 questions
[فوائد معرفة الآيات]
Flashcard
•
University
8 questions
Elips kelas 12
Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade