Search Header Logo

3b AP CSP

Authored by puulo puulo

Other

12th Grade

Used 1+ times

3b AP CSP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Media Image
Media Image
Media Image

Error. The robot will stay in its current location and the program will terminate


2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

5

20

0

Nothing, Runtime error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

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

Consider the following procedure.

PROCEDURE doSomething(num1, num2)

{

DISPLAY(num1)

RETURN(num1)

DISPLAY(num2)

}

Consider the following statement.

DISPLAY(doSomething(10, 20))

What is displayed as a result of executing the statement above?

10 10

10 20

10 10 20

10 20 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following procedures.

PROCEDURE proc1(str)

{

DISPLAY(str)

DISPLAY("happy")

}

PROCEDURE proc2(str1, str2)

{

proc1(str2)

DISPLAY(str1)

}

What is displayed as a result of the procedure call proc2("birthday", "to you") ?

birthday happy to you

birthday happy birthday

to you birthday happy

to you happy birthday

7.

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?