| preferred AP College board partner for AP classes
AccuracyQuestionCorrect/AttemptLast Answer
33%
Identify, using its signature, the correct constructor being called.
AP Computer Science A / Unit 2: Using Objects
1/3 February 23, 2026 10:09
0%
What does the program print when executed?
AP Computer Science A / Unit 2: Using Objects
0/1 February 23, 2026 10:09
25%
Develop code to cast primitive values to different primitive types in arithmetic expressions and determine the value that is produced as a result.
AP Computer Science A / Unit 2: Using Objects
1/4 February 23, 2026 10:08
50%
Which line correctly concatenates s1 and s2 with a space in between using the '+' operator?
AP Computer Science A / Unit 2: Using Objects
1/2 February 23, 2026 10:07
100%
What is the value of d after the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 23, 2026 10:07
100%
How many iterations does the while-loop perform?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 23, 2026 10:07
33%
The program is intended to print whether x is odd or even, but it produces the opposite message for odd numbers. Identify the error in the code.
AP Computer Science A / Unit 1: Primitive Types
1/3 February 23, 2026 10:06
50%
What is the value of result after the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 23, 2026 10:06
25%
What will be printed by this program?
AP Computer Science A / Unit 1: Primitive Types
1/4 February 23, 2026 10:06
50%
Which of the following lines correctly computes the division of a by b as a double?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 23, 2026 09:59
50%
What is printed as a result of executing the code segment?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 23, 2026 09:59
100%
What will the output look like when this program runs?
AP Computer Science A / Unit 1: Primitive Types
2/2 February 23, 2026 09:59
67%
What will be output as a result of executing the code segment?
AP Computer Science A / Unit 1: Primitive Types
2/3 February 23, 2026 09:58
25%
Which of these could be the result of executing the code segment?
AP Computer Science A / Unit 1: Primitive Types
1/4 February 23, 2026 09:54
25%
How many times does this while-loop execute?
AP Computer Science A / Unit 1: Primitive Types
1/4 February 22, 2026 22:32
100%
Which of the following expressions evaluate to 4.5?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:31
50%
The code is supposed to check if 'flag' is true, but it always prints 'Flag is true'. What is the logical error?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:31
100%
After executing the code segment, what are the possible values of the variable var?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:30
100%
What is the value of q after the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:30
25%
What is the output of this Java program?
AP Computer Science A / Unit 1: Primitive Types
1/4 February 22, 2026 22:28
100%
What is the value of d after the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:28
50%
Which of the following statements generates a random integer between -23 and 8 (inclusive)?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:21
50%
What is the output of the program above?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:20
100%
What is the value of result after the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:15
100%
Which of the following missing lines correctly initializes 'result' to true if a is less than b?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:13
50%
Which of the following pairs of declarations will cause an error message?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:13
33%
Which missing line correctly declares and initializes the char variable 'grade' to 'C'?
AP Computer Science A / Unit 1: Primitive Types
1/3 February 22, 2026 22:12
50%
Which statement will correctly calculate the average score of all the games?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:12
0%
Which statement best describes the significance of using an int variable for 'balance' in this program?
AP Computer Science A / Unit 1: Primitive Types
0/2 February 22, 2026 22:12
50%
Which of the following statements assigns a random integer between 25 and 60, inclusive, to rn?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:09
33%
All of the following statements regarding compiling and errors in Java are true except:
AP Computer Science A / Unit 1: Primitive Types
1/3 February 22, 2026 22:08
100%
Which of the following statements can replace the /* missing statement */ so that calculateExpression works as intended?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:08
100%
What compile error occurs in this code?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:04
100%
Which of the following expressions evaluate to 4.5?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:04
100%
What is the output of the program above?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:03
33%
Which of the following replacements for the first line of code will ensure that the division is performed as floating-point arithmetic?
AP Computer Science A / Unit 1: Primitive Types
1/3 February 22, 2026 22:03
100%
What does the following code print?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:02
100%
What is printed when the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 22:02
50%
Which of the following is an example of a compile-time error in Java due to incorrect syntax?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:01
50%
Which of the following expressions evaluate to 0.5?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 22:00
0%
How many total times is the inner loop executed?
AP Computer Science A / Unit 1: Primitive Types
0/2 February 22, 2026 21:53
0%
What value is returned as a result of the call scramble("compiler", 3)?
AP Computer Science A / Unit 1: Primitive Types
0/1 February 22, 2026 21:45
33%
What is the printed output of the heap array (excluding index 0) after executing HeapTest?
AP Computer Science A / Unit 1: Primitive Types
1/3 February 22, 2026 21:43
100%
Which of the following statements can replace the /* missing statement */ so that convertToSeconds works as intended?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 21:43
50%
What does the above program print when executed?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 21:40
100%
What is the value of d after the code segment is executed?
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 21:38
33%
Which of the following is an example of using parentheses to change the order of operations in a Java arithmetic expression?
AP Computer Science A / Unit 1: Primitive Types
1/3 February 22, 2026 21:37
50%
Which of the following pairs of declarations will cause an error message?
AP Computer Science A / Unit 1: Primitive Types
1/2 February 22, 2026 21:36
100%
Identify the error that prevents the code from compiling.
AP Computer Science A / Unit 1: Primitive Types
1/1 February 22, 2026 21:36
25%
Which of the following best describes the value printed when processWords is called?
AP Computer Science A / Unit 1: Primitive Types
1/4 February 22, 2026 21:26
43%
All of the following statements about concatenating strings with primitive types in Java are true except:
AP Computer Science A / Unit 1: Primitive Types
3/7 February 22, 2026 21:21
100%
Evaluate $$\lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^{x}$$.
AP Calculus AB / Unit 1: Limits and Continuity
1/1 February 21, 2026 16:14
33%
Evaluate $$\displaystyle\lim\limits_{x \to 6} \frac{|x^2 - 36|}{|x - 6|}$$. Which of the following best describes the limit?
AP Calculus AB / Unit 1: Limits and Continuity
1/3 February 21, 2026 16:08
50%
Evaluate the limit $$\lim_{x\to 5} (2*x+3)$$.
AP Calculus AB / Unit 1: Limits and Continuity
1/2 February 20, 2026 22:43
33%
How does a decrease in the price of a good affect the quantity supplied, holding everything else constant?
AP Macroeconomics / Unit 1: Basic Economic Concepts
1/3 February 20, 2026 22:43
100%
What is the effect of a price ceiling set below equilibrium price?
AP Macroeconomics / Unit 1: Basic Economic Concepts
1/1 February 20, 2026 22:43
100%
What does a point inside the Production Possibilities Curve (PPC) indicate?
AP Macroeconomics / Unit 1: Basic Economic Concepts
1/1 February 20, 2026 22:42
100%
Which of the following is a determinant of demand?
AP Macroeconomics / Unit 1: Basic Economic Concepts
1/1 February 20, 2026 22:42
50%
What does the law of supply state?
AP Macroeconomics / Unit 1: Basic Economic Concepts
1/2 February 20, 2026 22:42
25%
In a market for smartphones, both a technological breakthrough reducing production costs and a decrease in consumer income occur simultaneously. If smartphones are normal goods, what is the most likely effect on equilibrium price and quantity?
AP Macroeconomics / Unit 1: Basic Economic Concepts
1/4 February 20, 2026 22:42
100%
What is common between Decreasing Opportunity Costs and Increasing Opportunity Costs?
AP Macroeconomics / Unit 1: Basic Economic Concepts
2/2 February 20, 2026 22:41
APFIVE © 2020.
Email: [email protected]|Privacy Policy