Which of the following is the first step in problem-solving?

Practice Test

Quiz
•
Computers
•
University
•
Hard
Chansreypich undefined
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
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
Tema 6 Programación Básica

Quiz
•
University
45 questions
TECHNICAL QUIZ

Quiz
•
University
35 questions
CodeChef (Secret Snippet)

Quiz
•
University
45 questions
Lesson 1 Long Quiz

Quiz
•
University
45 questions
Python Quiz

Quiz
•
University
40 questions
Elements of a C# program

Quiz
•
University
35 questions
FINAL_EXAM (CFP_122)

Quiz
•
University
36 questions
AP CS A unit 1

Quiz
•
11th Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade