Java Basics

Quiz
•
Computers
•
Professional Development
•
Medium
Szilvia Bogárdi
Used 480+ times
FREE Resource
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
Similar Resources on Wayground
13 questions
Javascript HTML CSS

Quiz
•
Professional Development
12 questions
JavaScript

Quiz
•
Professional Development
20 questions
java revews

Quiz
•
Professional Development
20 questions
File Extensions

Quiz
•
9th Grade - Professio...
22 questions
Quiz sobre Estruturas de Repetição e Vetores

Quiz
•
Professional Development
20 questions
js DOM

Quiz
•
12th Grade - Professi...
17 questions
Java

Quiz
•
Professional Development
20 questions
Assessment 1

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
8 questions
Understanding Government: Limited and Unlimited

Quiz
•
Professional Development
20 questions
tape measure

Quiz
•
Professional Development
24 questions
Street Signs

Quiz
•
9th Grade - Professio...