Java Basics

Quiz
•
Computers
•
Professional Development
•
Medium
Szilvia Bogárdi
Used 481+ 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
12 questions
StreamQuiz

Quiz
•
Professional Development
15 questions
JS - Arrays and Objects

Quiz
•
Professional Development
12 questions
Javascript Avanzado ft-22b Grupo 5

Quiz
•
Professional Development
20 questions
Python AA

Quiz
•
Professional Development
15 questions
Coding Club Kahoot

Quiz
•
Professional Development
15 questions
Emerging Tech Trivia

Quiz
•
Professional Development
20 questions
ND Visit 3/31

Quiz
•
Professional Development
20 questions
JavaScript

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade