Java Basics

Quiz
•
Computers
•
Professional Development
•
Medium
Szilvia Bogárdi
Used 474+ 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
15 questions
Computación básica - Conceptos básicos

Quiz
•
Professional Development
20 questions
Quiz 2- Entrada, Saída e Variáveis

Quiz
•
Professional Development
15 questions
JavaScript Pass by value, Pass by Reference, Scope Hoisting

Quiz
•
Professional Development
20 questions
QUIZ-5 static, String and StringBuffer

Quiz
•
Professional Development
20 questions
Java Chapter 5 Review Questions

Quiz
•
Professional Development
20 questions
JavaScript

Quiz
•
Professional Development
21 questions
Java Quiz on Module 1 & 2

Quiz
•
Professional Development
16 questions
Flutter Test

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade