
AP Computer Science Principles (Final Exam part 2)
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

29 questions
Show all answers
1.
FLASHCARD QUESTION
Front
According to ASCII character encoding, which letter is represented by the binary (base 2) number 1010100?
Back
T
2.
FLASHCARD QUESTION
Front
What code should Jasmine insert where it says
Back
cartTotal = cartTotal +1;
3.
FLASHCARD QUESTION
Front
What is a possible output when the following code segment executes? The ending position of the turtle is shown in each diagram. The starting position is shown as a white triangle in cases where the turtle starts and ends in different locations.
Back
4.
FLASHCARD QUESTION
Front
A Boolean expression is an expression that evaluates to which of the following? Yes/Maybe/No, Any Integer, Integers between 1 and 10, Any single character
Back
True/False
5.
FLASHCARD QUESTION
Front
Consider the following segment given in pseudo code. What will be displayed if grade is set to 70? Options: You passed! , Time to start studying again! , You passed! and Time to start studying again! , Nothing will be displayed , An error will occur on line 7; you cannot have an IF inside an ELSE statement
Back
You passed!
6.
FLASHCARD QUESTION
Front
Back
7.
FLASHCARD QUESTION
Front
Which of the following is true about while loops? While loops terminate after a fixed number of loops that is pre-determined , While loops terminate after a fixed number of loops that is determined after the loop executes once. , While loops run as long as a given boolean condition is true. , While loops run as long as a given boolean condition is false. , While loops are known as "forever loops" and never stop until the program is halted by the user.
Back
While loops run as long as a given boolean condition is true.
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?