Java Basics
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Szilvia Bogárdi
Used 485+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Java is short for "JavaScript".
true
false
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you insert COMMENTS in Java code?
# This is a comment
/* This is a comment
// This is a comment
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data type is used to create a variable that should store text?
myString
String
Txt
string
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you create a variable with the numeric value 5?
float x = 5;
x = 5;
int x = 5;
num x = 5
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you create a variable with the floating number 2.8?
byte x = 2.8f
x = 2.8f;
float x = 2.8f;
int x = 2.8f;
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which method can be used to find the length of a string?
getSize()
getLength()
length()
len()
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operator is used to add together two values?
The + sign
The * sign
The & sign
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
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
Electrónica básica
Quiz
•
1st Grade - Professio...
20 questions
SH 3 Informatika 8
Quiz
•
Professional Development
20 questions
UH INFORMATIKA BAB BERFIKIR KOMPUTASIONAL
Quiz
•
Professional Development
20 questions
Salesforce Developer
Quiz
•
Professional Development
20 questions
Pascal (Тест 3)
Quiz
•
Professional Development
17 questions
Cheese
Quiz
•
KG - Professional Dev...
20 questions
Introduction to Machine Learning
Quiz
•
University - Professi...
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
