AP Computer Science Principles AP MC Practice Questions

Quiz
•
10th Grade - University
•
Medium
Raj Selvaraj
Used 608+ 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
Similar Resources on Wayground
34 questions
AP Computer Science Principles - Fall 2023 Exam

Quiz
•
10th Grade
40 questions
Module 7 FundIT

Quiz
•
10th Grade
35 questions
Programming/Coding Basics - PreAssessment

Quiz
•
7th - 10th Grade
44 questions
SDD N5 Quiz

Quiz
•
12th Grade
37 questions
OCR H446 - 2.2 Problem Solving and Programming - Algorithms - 02

Quiz
•
12th Grade
35 questions
PLTW CSE Unit 1.3 Review

Quiz
•
9th - 12th Grade
40 questions
AP Computer Science Principles Practice

Quiz
•
10th Grade
40 questions
Computer Science Pre-Assessment Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
ROAR Week 2025

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
37 questions
SJHS Key Student Policies

Quiz
•
11th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
20 questions
Bloom Day School Community Quiz

Quiz
•
10th Grade