AP Computer Science Principles #1

This quiz is a speedy run-through using the DISPLAY method in the course language. Good luck!
Quiz by
PastimeQuizzer16
Rate:
Last updated: May 2, 2024
You have not attempted this quiz yet.
First submittedMay 2, 2024
Times taken220
Average score86.7%
Report this quizReport
4:00
Enter answer here
0
 / 15 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Hint
Answer
DISPLAY(2*2)
4
DISPLAY(2 mod 2)
0
DISPLAY(140 mod 57986)
140
DISPLAY(6/4)
1.5
DISPLAY(4-2)
2
DISPLAY(4*3+2)
14
DISPLAY("4+5")
4+5
DISPLAY("4" + "6")
46
Hint
Answer
DISPLAY(46+7)
53
DISPLAY("1+1" + "1")
1+11
DISPLAY(4+5+6)
15
DISPLAY(4-5)
-1
DISPLAY("4-5")
4-5
DISPLAY(1 + "a")
1a
DISPLAY("1" + 4)
14
Save Your Stats
Your Next Quiz
Name all 50 states in the USA. Easy, right?
Can you name the capitals cities of all 196 countries in the world?
Can you name the 49 urban agglomerations of the world that have a population of at least 10 million?
Drag the flag onto the correct state. Careful, though! One wrong move and the game ends.
Comments
No comments yet