APCSP 3B

Quiz
•
Computers
•
12th Grade
•
Hard
Chase Choi
Used 9+ times
FREE Resource
21 questions
Show all answers
1.
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 are several different possible algorithms that can solve the problem, but there is controversy about which is the most efficient.
There is no possible algorithm that can be used to solve all instances of the problem.
2.
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 often omits details so that it is easier to implement.
The model used by the simulation software cannot be modified once the simulation has been used.
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.
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Based on the values in the table, which of the algorithms appear to run in reasonable time? (2 answers)
Algorithm A
Algorithm B
Algorithm C
Algorithm D
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student has a data file containing 10,000 numerical values. The student is writing a program to compute the average of the numbers contained in the file. Which of the following procedures is most likely to be useful in the student’s program?
A procedure that returns "true" if the file contains any duplicate values and returns "false" otherwise
A procedure that returns the sum of the values in the file
A procedure that returns the sum when adding one value to another
A procedure that returns the quotient when dividing one value by another
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following changes should be made to the procedure to meet the student’s goal?
i. The procedure should take max as an input parameter.
ii. The condition in the REPEAT UNTIL block
should be changed to count > max.iii. The condition in the REPEAT UNTIL
block should be changed to max < 5.
i
ii
i & ii
i & iii
6.
MULTIPLE CHOICE QUESTION
45 sec • 7 pts
DISPLAY(doSomething(10, 20))
What will be the result?
10 20
10 10
10 10 0
10 10 20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following code segments is equivalent to the code segment above?
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
การสร้างเกม

Quiz
•
12th Grade - University
25 questions
World of AI

Quiz
•
9th - 12th Grade
17 questions
Mathematics Quiz

Quiz
•
12th Grade
25 questions
Types and Components of Computer Systems

Quiz
•
9th - 12th Grade
20 questions
Software and programming languages

Quiz
•
9th - 12th Grade
16 questions
Computer Science Principles Unit 1

Quiz
•
12th Grade
20 questions
CSP AP Vocabulary 2 Review

Quiz
•
9th - 12th Grade
20 questions
Creating Algorithms through Pseudocodes and Flowcharts

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade