Java Basics
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Areej Althubaity
Used 63+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is a Java valid variable name?
Sum Grades
static
public
FindAverage
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Static methods refer to methds that:
are private and no one can see them
can be only accessed by an object of same class
return data of type static
can be written as ClassName.methodName(arguments)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
we could pass a whole array to a method as a value
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which statement is correct?
int Var
boolean 15;
double var123;
int min=0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int [] array2= array1;
array2 references to array1 and points to array1's elements
array2 will be created and has the same elements as array1
nothing will happen
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of the following code is:
int[] array = {2,4,6,8,10};
for (int i=0; i < array.length;i++){
System.out.println(array[2]);
}
2
4
6
8
10
2,4,6,8,10
6
6
6
6
6
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
method signature is
method name + parameter list
same as method head
same as method body
a cool signature :)
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
Already have an account?
Similar Resources on Wayground
15 questions
GDSC Intro Quiz
Quiz
•
University
11 questions
Recap Chapter 6, 7, 8
Quiz
•
University
10 questions
2024 - Struktur Data Quiz 1
Quiz
•
University
15 questions
Netw2-Quiz No.1 (final term)
Quiz
•
University
14 questions
DSC119_Chap 2: Data Preparation Methodology and Interface Design
Quiz
•
University
10 questions
Java Script. Parte 1.
Quiz
•
University
15 questions
code trivia
Quiz
•
University
15 questions
OM_SBENT3C_Q2
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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
