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?
AP Computer Science Principles AP MC Practice Questions

Flashcard
•
Computers
•
12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Debugging
2.
FLASHCARD QUESTION
Front
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. What would be the best first step for Jeremiah to take? Options: 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.
Back
Find out from the businesses and potential visitors what information and format they think should be used for the app.
3.
FLASHCARD QUESTION
Front
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
Back
The syntax of artificial languages is explicit and unambiguous
4.
FLASHCARD QUESTION
Front
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
Back
They are not very ambiguous
5.
FLASHCARD QUESTION
Front
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 line of code will ensure that the random integer generated will be even? Options: RANDOM(a,b) + 1, RANDOM(a,b) + 2, RANDOM(a,b) * 2, RANDOM(a,b) - 2
Back
RANDOM(a,b) * 2
6.
FLASHCARD QUESTION
Front
Which of the following best describes “compilation” in reference to computer science? Options: Memory is set aside to store variables and instructions so that a program can be executed. Code in a high-level language is converted to low-level instructions which can be interpreted and run by the CPU. Instructions are repeated a set number of times, or until some specified objective is completed. Algorithms which have been planned, for example using flow-charts, are written in code.
Back
Code in a high-level language is converted to low-level instructions which can be interpreted and run by the CPU.
7.
FLASHCARD QUESTION
Front
Which of the following is a reason for the importance of variables in programming? Variables assist in making code more readable. Variables allow you to change a value used in multiple places in a program easily. Variables allow you to store values calculated by the program and access them at a later point in the program.
Back
All of these
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
AP CSA Unit 3 Review

Flashcard
•
12th Grade
17 questions
AP CS A Unit 3 Review

Flashcard
•
11th - 12th Grade
16 questions
[AP CSP] Block Based Code

Flashcard
•
12th Grade
16 questions
Unit 3 - Intro to App Design

Flashcard
•
12th Grade
13 questions
Fall Semester Exam Review (Units 1, 2)

Flashcard
•
12th Grade
15 questions
AP Bio Operons

Flashcard
•
11th - 12th Grade
10 questions
AP CSP Conditional and Mod Review

Flashcard
•
12th Grade
15 questions
AP Bio Unit 6 Previous Knowledge

Flashcard
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University