
April Revision APCSP
Authored by Diana Mousa
Computers
12th Grade
17 Questions
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the missing statement?
item=3 OR item=6 OR item=9
item MOD 3=0 AND item > 0 AND item <9
item>3 AND ITEM <9
item MOD 3=1 AND item MOD 5=1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can replace <missing condition> to complete the last column of the table?
A AND B
A OR B
NOT (A OR B)
A AND NOT (B)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value displayed after the following algorithm is run?
1 2 3
7 6 5 4
4
7 6 5
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Consider the following program , which is intended to display the number of times a number target appears in a list, select TWO answers
The program correctly displays the count when the target is not the list
The program never correctly displays the correct value for count
The program correctly displays the count if the target appears once within the list and at the end of the list
The program always correctly displays the correct value for count
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Consider the following program. It is intended to display the index of the location where a target is located or to display -1 if the target is not in the list.
The target will not appear twice in the list. For which of the following test cases would the above program display the correct index if the target number is 356? select TWO answers
List(2,34,356,54)
List(2,34,54,356)
List(1,1,35,6)
List(2,356,11,54)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following code segments will correctly search for a value using a binary search?
list1<--Sort(list1)
list2<--Sort (list2)
resultList<-- combine (list1,list2)
BinarySearch(resultList,value)
resultList<--combine(list1,list2)
BinarySearch(resultList,value)
resultList<-- combine(list1,list2)
resultList<--Sort(resultList)
BinarySearch(resultList, value)
BinarySearch(list1,value)
BinarySearch(list2,value)
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
The question below uses a robot in a grid of squares. The robot is represented as a triangle, which is initailly facing toward the top of the grid. Which of the following codes would move the robot one square forward 1% of the time? Select TWO answers
if(RANDOM(1,100)=4)
MOVE_FORWARD( )
if(RANDOM(0,100)=4)
MOVE_FORWARD( )
if(RANDOM(1,100)<2)
MOVE_FORWARD( )
if(RANDOM(1,100)<=2)
MOVE_FORWARD( )
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?
Similar Resources on Wayground
13 questions
INTERNET CONNECTION
Quiz
•
12th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
20 questions
STS Informatika
Quiz
•
10th Grade - University
15 questions
Control Panel Hosting
Quiz
•
12th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade