
Java - Flow of Control Quiz
Authored by Everlast Chigoba
Mathematics, Computers
9th - 12th Grade
CCSS covered
Used 53+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During program development, software requirements specify
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which phase of program development would you expect the programmer(s) to determine the classes and objects needed?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would not be considered an algorithm?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a programmer follows the four phases of program development as intended, which of the four phases should require the least amount of creativity?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The idea that program instructions execute in order (linearly) unless otherwise specified through a conditional statement is known as
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Of the following if statements, which one correctly executes three instructions if the condition is true?
a = b * 2;
y = x;
z = a – y;
if (x <0)
a = b*2;
y=x;
z=a-y;
}
a = b * 2;
y = x;
z = a – y;
}
{
a = b*2;
y = x;
z = a - y;
}
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the sets of statements below will add 1 to x if x is positive and subtract 1 from x if x is negative but leave x alone if x is 0?
else x--;
else if (x < 0) x--;
if (x < 0) x--;
else x = 0;
else x++;
x--;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?