AP Computer Science Principles AP MC Practice Questions

AP Computer Science Principles AP MC Practice Questions

10th Grade - University

39 Qs

quiz-placeholder

Similar activities

AP CSP Programming Test

AP CSP Programming Test

9th - 12th Grade

40 Qs

AP Computer Science Principles - Fall 2023 Exam

AP Computer Science Principles - Fall 2023 Exam

10th Grade

34 Qs

year 3 QUIZ 3 2nd term

year 3 QUIZ 3 2nd term

3rd Grade - University

40 Qs

Quiz Module 1-6 VB

Quiz Module 1-6 VB

10th Grade

40 Qs

AP Computer Science Review

AP Computer Science Review

9th - 12th Grade

40 Qs

AP Computer Science A

AP Computer Science A

9th - 12th Grade

40 Qs

AP Computer Science Principles Practice Exam

AP Computer Science Principles Practice Exam

9th - 12th Grade

40 Qs

Computer Science AP Quizlet Midterm

Computer Science AP Quizlet Midterm

9th - 12th Grade

41 Qs

AP Computer Science Principles AP MC Practice Questions

AP Computer Science Principles AP MC Practice Questions

Assessment

Quiz

10th Grade - University

Medium

Created by

Raj Selvaraj

Used 607+ times

FREE Resource

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

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?