APCS Principles 24-25 Midterm review Questions

Quiz
•
Computers
•
10th Grade
•
Easy
Brian Ciavarella
Used 6+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
25 questions
JavaScript Console & Graphics Review

Quiz
•
9th - 12th Grade
25 questions
JavaScript Basics & Graphics Test

Quiz
•
9th - 12th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
23 questions
If Statement/ Boolean Logic Review

Quiz
•
10th Grade
25 questions
JavaScript

Quiz
•
1st - 10th Grade
24 questions
Intro to Programming with Karel

Quiz
•
9th - 12th Grade
23 questions
Programming with Karel Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade