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
Introduction In Problem Solving

Quiz
•
12th Grade
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
19 questions
2.2.2. Computational Methods

Quiz
•
12th Grade
16 questions
Coding review

Quiz
•
7th - 12th Grade
20 questions
Recursion

Quiz
•
12th Grade
20 questions
2.1 Algorithms

Quiz
•
10th - 12th Grade
20 questions
Computer Science

Quiz
•
9th - 12th Grade
23 questions
Intro to Algorithms

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University