
Practice Test

Quiz
•
Computers
•
University
•
Hard
Chansreypich undefined
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which of the following is the first step in problem-solving?
a) writing code
b) testing and debugging
c) identifying the problem
d) creating an algorithm
2.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which data type is used to store a single character in Java?
a) double
b) char
c) int
d) String
3.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which operator is used to compare the equality of two values?
a) ==
b) =
c) !=
d) ===
4.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which loop construct is guaranteed to execute at least once, regardless of T/F?
a) for
b) while
c) if-else
d) nested-if
e) do-while
5.
MULTIPLE SELECT QUESTION
2 mins • 2 pts
Which of the following is NOT a valid variable name in Java?
a) _profit
b) #profit
c) profitCurrent
d) intProfit
6.
MULTIPLE SELECT QUESTION
2 mins • 2 pts
What is the output of the following code?
int x = 5;
System.out.println(x++);
a) 6
b) 5
c) 0
d) compilation error
7.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which access specifier has the widest scope?
a) public
b) private
c) default
d) protected
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Python Final

Quiz
•
University
40 questions
9th Grade - IT Programming - 2nd Cycle Exam

Quiz
•
9th Grade - University
35 questions
Object-Oriented Programming_LQ#1_AVW1

Quiz
•
University
41 questions
Q2 PKS II TPB 10

Quiz
•
University
44 questions
LATIHAN PYTHON

Quiz
•
10th Grade - University
35 questions
OOPS quiz-1

Quiz
•
University
45 questions
Event Driven Handouts 1 & 2

Quiz
•
University
40 questions
Comandos en Python_SAN

Quiz
•
University
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University