AP Computer Science Principles Unit 4 Review

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

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is an advantage that text-based programming languages (e.g., Processing) have over block-based programming languages (e.g., Scratch)?
Options:
Text-based programming languages allow programmers to write programs in English and other natural languages.
Text-based programming languages do not require the programmer to worry about syntax, capitalization, or punctuation.
Programs written in text-based programming languages do not require debugging.
Text-based programming languages offer programmers more detailed control over lower-level functionality when writing a program.
Back
Text-based programming languages offer programmers more detailed control over lower-level functionality when writing a program.
2.
FLASHCARD QUESTION
Front
Consider the above procedure. Which of the following best describes the behavior of the find procedure? Options: Displays the position of the first occurrence of target in list, Displays the positions of all occurrences of target in list, Displays the position of the last occurrence of target in list, Displays each item in list that is equal to target
Back
Displays the positions of all occurrences of target in list
3.
FLASHCARD QUESTION
Front
Consider the following algorithm for manipulating the individual pixels of a digital, RGB image of a panda bear surrounded by dense, green jungle foliage. Algorithm: For each pixel, swap the values in the green and blue channels, leaving the red channel alone. Which of the following best describes the resulting image?
Back
The panda’s fur will appear black and white, but the foliage will appear to be tinted blue.
4.
FLASHCARD QUESTION
Front
Back
The resulting image will be a grayscale version of the original image.
5.
FLASHCARD QUESTION
Front
A programmer realizes she has reversed the roles of “goats” and “sheep” in a video game user manual. To correct this, which algorithm can she use? Options: First, change all occurrences of “goat” to “sheep” and then change all occurrences of “sheep” to “goat”; First, change all occurrences of “goat” to “sheep,” then change all occurrences of “sheep” to “foxes” and then change all occurrences of “foxes” to “goats”; First, change all occurrences of “goat” to “foxes,” then change all occurrences of “sheep” to “goat” and then change all occurrences of “foxes” to “sheep”; First, change all occurrences of “goat” to “foxes,” then change all occurrences of “foxes” to “sheep” and then change all occurrences of “sheep” to “goats”.
Back
First, change all occurrences of “goat” to “foxes,” then change all occurrences of “sheep” to “goat” and then change all occurrences of “foxes” to “sheep”.
6.
FLASHCARD QUESTION
Front
In order to be inducted into a school’s National Honor Society (NHS), they must meet certain criteria for their GPA, serviceHours and grade. The expression below indicates whether a student has been accepted as a member of the NHS.
(GPA = 3.65) AND (serviceHours = 30) AND (NOT grade = 9)
Which of the following values would indicate a student that would be accepted into NHS?
GPA = 3.85, serviceHours = 45, grade = 9; GPA = 3.50, serviceHours = 100, grade = 10; GPA = 4.00, serviceHours = 15, grade = 11; GPA = 3.65, serviceHours = 30, grade = 12
Back
GPA = 3.65, serviceHours = 30, grade = 12
7.
FLASHCARD QUESTION
Front
Which of the following is true about program documentation? Program documentation is only needed for programs in development; it is not needed after a program is completed. Program documentation is useful when programmers collaborate but not when a programmer works individually on a project. Program documentation is useful during initial program development and also when modifications are made to existing programs. Program documentation should not be changed after it is first written.
Back
Program documentation is useful during initial program development and also when modifications are made to existing programs.
8.
FLASHCARD QUESTION
Front
A student is recording a song on her computer. When the recording is finished, she saves a copy on her computer. The student notices that the saved copy is of lower sound quality than the original recording. Which of the following could be a possible explanation for the difference in sound quality?
Back
The song was saved using fewer bits per second than the original song.
Similar Resources on Wayground
8 questions
Small Animal Production Pretest

Flashcard
•
10th Grade
7 questions
Allocation Strategies

Flashcard
•
9th - 12th Grade
8 questions
Intro to Animal Science

Flashcard
•
9th Grade - University
12 questions
Plural Nouns

Flashcard
•
KG - University
10 questions
Vocab #1 ATSS

Flashcard
•
9th - 12th Grade
9 questions
Animal Sight Words

Flashcard
•
KG
11 questions
Insurance

Flashcard
•
9th - 12th Grade
11 questions
Stages and Sectors of the Economy

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade