
APCS Principles 24-25 Midterm review Questions
Authored by Brian Ciavarella
Computers
10th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
27 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following is true of algorithms?
Algorithms must be written in a specific programming language
Algorithms can solve every problem
Algorithms can be constructed using combinations of sequencing, selection, and iteration
Algorithms always have a set of ambiguous instructions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is appropriate for storing a person's age in years?
String
Number
Boolean
Array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code segment results in "true" being returned if a number is odd?
A. num % 2 == 1;
B. num % 1 != 2;
C. num % 1 == 1;
D. num % 2 == 0;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which concept does the following algorithm BEST demonstrate? Repeat for Weekdays Wake up Go to school Come home Go to bed
Execution
Sequencing
Selection
Iteration
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression: 17 % 4?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given that y has a value of 10, what is the value of the expression: (y < 10) AND (y > 5)?
True
False
y
10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following terms is accurate for the definition: a reusable block of code that performs a specific task?
Function Call
Variable
Function
Expression
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?