
3B - AP CSP
Authored by Inez아라 Inez아라
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best compares the values displayed by programs A and B?
Program A and Program B display identical values.
Program A and Program B display the same values in different orders.
Program A and program B display the same number of values, but the values differ.
Program A and Program B display a different number of values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A code segment is intended to transform the list utensils so that the last element of the list is moved to the beginning of the list.
Which of the following code segments transforms the list as intended?
len ← LENGTH(utensils)
temp ← utensils[len]
REMOVE(utensils, len)
APPEND(utensils, temp)
len ← LENGTH(utensils)
REMOVE(utensils, len)
temp ← utensils[len]
APPEND(utensils, temp)
len ← LENGTH(utensils)
temp ← utensils[len]
REMOVE(utensils, len)
INSERT(utensils, 1, temp)
len ← LENGTH(utensils)
REMOVE(utensils, len)
temp ← utensils[len]
INSERT(utensils, 1, temp)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A team of programmers is designing software. One portion of the project presents a problem for which there is not an obvious solution. After some research, the team determines that the problem is undecidable. Which of the following best explains the consequence of the problem being undecidable?
The problem can be solved algorithmically, but it will require an unreasonably long amount of time.
The problem can be solved algorithmically, but it will require an unreasonably large amount of data storage.
There is no possible algorithm that can be used to solve all instances of the problem.
There are several different possible algorithms that can solve the problem, but there is controversy about which is the most efficient.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A city planner is using simulation software to study crowd flow out of a large arena after an event has ended. The arena is located in an urban city. Which of the following best describes a limitation of using a simulation for this purpose?
The model used by the simulation software cannot be modified once the simulation has been used.
The model used by the simulation software often omits details so that it is easier to implement.
Running a simulation requires more time to generate data from trials than observing the crowd exiting the arena at various events.
Running a simulation requires a large number of observations to be collected before it can be used to explore a problem.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following describes the possible values of ans as a result of executing the code segment?
An integer value from 1 to 8, inclusive
Any integer value from 1 to 16, inclusive
Any integer value from 4 to 8, inclusive
Any integer value from 7 to 16, inclusive
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following procedures would be most useful as part of a program to determine whether a word appears in two different text files?
A procedure getWords, which takes a positive integer n and a text file as input and returns the first n words in the text file.
A procedure isFound, which takes a word and a text file as input and returns true if the word appears in the text file
A procedure textMatch, which takes two text files as input and returns true if the two text files are identical.
A procedure sameSize, which takes two text files as input and returns true if the two text files contain the same number of words.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A sorted list of numbers contains 200 elements. Which of the following is closest to the maximum number of list elements that will need to be examined when performing a binary search for a particular value in the list?
5
8
100
200
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
16 questions
Input Device
Quiz
•
9th - 10th Grade
16 questions
Conditions
Quiz
•
8th - 10th Grade
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
21 questions
Sets
Quiz
•
11th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
20 questions
Database&Relation
Quiz
•
12th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade