Search Header Logo

AP Computer Science Principles AP MC Practice Questions

Authored by Raj Selvaraj

10th Grade - University

Used 615+ times

AP Computer Science Principles AP MC Practice Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

39 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

Which of the following describes the part of a computer which stores instructions and information which has been input to the computer?

CPU

Binary

RAM

Machine Code

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?