AP CSP Unit 3 Review

AP CSP Unit 3 Review

Assessment

Quiz

Computers

10th Grade - University

Medium

Created by

Caitlin King

Used 14+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A program that Thomas has written is complete. It has been tested thoroughly, and some outputs were not as expected. Thomas is now going through the code carefully attempting to establish the cause of these errors and change the code to remove them. What is this procedure called?

Error check

Debugging

Development

Coding

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Understanding of the life cycle of a program is an essential component to becoming an effective programmer. Which of the following is the best example of how the life cycle of a program should work?

Idea→algorithm→write code→execute code→maintain→debug

Idea→algorithm→write code→debug→execute code→maintain

Idea→write code→algorithm→execute code→debug→maintain

Idea→algorithm→write code→execute code→debug→maintain

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Jeremiah is part of a group planning a summer fair at which local businesses can run stalls and events. He wants to use his programming skills to develop an app for the fair which businesses will be able to use to communicate information about their activities at the fair with visitors. Which of the following would be the best first step for Jeremiah to take?

Develop all of the major algorithms which will be required for the app by drawing flowchart representations

Write thorough documentation explaining how the code for the app works

Write some sample code to understand how the app might work

Find out from the businesses and potential visitors what information and format they think should be used for the app

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following is the MOST important reason computers use artificial languages over natural language?

The meaning of different characters and words in an artificial languages is explicit and unambiguous

The syntax of natural languages is easy to translate by computers

The syntax of artificial languages is explicit and unambiguous

The meaning of different characters and words in an artificial languages is too complicated

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following best describes high-level computing languages?

They are not very ambiguous

They are extremely difficult for humans to read and understand

They evolve naturally over time

They are very easy for machines to understand and parse

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

A statistics teacher wishes to create a program on her calculator that generates a random even integer. The command built in the calculator to generate a random positive integer is RANDOM(a,b). This command generates a random integer between integers a and b (and including a and b). Which of the following lines of code will ensure that the random integer generated will be even?

RANDOM(a,b) + 1

RANDOM(a,b) + 2

RANDOM(a,b) * 2

RANDOM(a,b) - 2

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Consider the following actions which might be performed by a developer when creating a new piece of software to solve a problem.

1. Thoroughly testing code with a variety of inputs

2. Designing an algorithm to tackle the central problem the program hopes to solve

3. Considering what outputs a program solving the problem might produce and what inputs it may require to do this

4. Writing code in a high-level programming language to implement an algorithm

In which order in the development cycle would these actions first appear?

3, 2, 4, 1

2, 4, 1, 3

2, 3, 4, 1

3, 4, 1, 2

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?