
AP Computer Science Midterm Review
Authored by Nick Steckler
Computers
10th - 12th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be produced by the following statement?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Expressions follow order of operations rules. What value will result hold after this statement is executed?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose that addition and subtraction had higher precedence than multiplication and division. What would the following expression evaluate as?
(hint: Use parentheses to elevate the rank of addition and subtraction operations)
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Assume aNum is a variable of type double that is positive. A program contains the boolean expression (Math.pow( aNum, 0.5 ) == Math.sqrt ( aNum )). Even though aNum1/2 is mathematically equivalent to √aNum the above expression returns the value false in a student's program. Which of the following is the most likely reason?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If a is of type int and has a value of 0 when the segment is executed, what will happen?
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the output be for the following poorly formatted program segment, if the input value for x is 33?
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following will evaluate to true only if boolean expressions X, Y, and Z are all false?
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?
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade