APCSP 3B

APCSP 3B

12th Grade

21 Qs

quiz-placeholder

Similar activities

3B Practices

3B Practices

9th - 12th Grade

25 Qs

Topic 2.1 Steps in Problem Solving

Topic 2.1 Steps in Problem Solving

12th Grade

20 Qs

Search/Sort Algorithm Recap

Search/Sort Algorithm Recap

9th - 12th Grade

18 Qs

Data Structures Quiz 1

Data Structures Quiz 1

12th Grade - University

18 Qs

AP Computer Science Principles Big Idea 3

AP Computer Science Principles Big Idea 3

12th Grade

21 Qs

2.1 Elements of Computational Thinking (KO)

2.1 Elements of Computational Thinking (KO)

12th Grade

20 Qs

Searching & sorting algorithms

Searching & sorting algorithms

10th - 12th Grade

21 Qs

Principles of Computer Science

Principles of Computer Science

10th - 12th Grade

20 Qs

APCSP 3B

APCSP 3B

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Media Image

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

Media Image

Which of the following changes should be made to the procedure to meet the student’s goal?

  1. i. The procedure should take max as an input parameter.

  2. ii. The condition in the REPEAT UNTIL block
    should be changed to count > max.

  3. 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

Media Image

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

Media Image

Which of the following code segments is equivalent to the code segment above?

Media Image
Media Image
Media Image
Media Image

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?