Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

AP CSP Fall Exam Final Study Guide with Complete Solutions 2024, Exams of Computer Science

This study guide provides a comprehensive overview of key concepts and topics covered in the ap csp fall exam. It includes questions and answers, covering topics such as app inventor, event-driven programming, hardware and software, logic gates, data compression, and algorithms. The guide is designed to help students prepare for the exam by providing a structured review of essential concepts.

Typology: Exams

2024/2025

Available from 10/31/2024

LectDavid
LectDavid 🇬🇧

5

(2)

1K documents

1 / 3

Toggle sidebar

Related documents


Partial preview of the text

Download AP CSP Fall Exam Final Study Guide with Complete Solutions 2024 and more Exams Computer Science in PDF only on Docsity!

AP CSP Fall Exam Final Study Guide with Complete

Solutions 2024

What is App Inventor? - ANSWER-App inventor is a programming Language used for creating apps; open-source; on the cloud In app inventor, what is the difference between Designer View and the Blocks Editor? - ANSWER-The designer is seen by the user; blocks are the coding which the user does not see What elements are part of the user interface for an app? - ANSWER-Button on screen; Error message pop-up Give examples of components - ANSWER-Canvas; Button Give examples of properties of user interface components - ANSWER-A button's background color; a label's text How should you name a button? Give an example of a well-named button to reset the screen - ANSWER-You should name a button based on its function. Ex- If button resets properties, then name it ButtonReset or ResetButton What is an event handler block? - ANSWER-A block that tells the app how to react to certain actions such as pressing a button. Ex- When Button Click Do What is event driven programming? - ANSWER-A programming approach where the program's behavior is controlled by code, which tells the app how to respond to different events such as a button click Define Abstraction - ANSWER-A general representation of something; reduces redundant or unnecessary information. What is hardware? Give examples - ANSWER-The physical components of a computer. Ex-Motherboard or CPU What is software? Give Examples - ANSWER-The programs that make up the computer. Ex-Mobile apps or iOS What is true about an OR Gate? - ANSWER-The thing has to meet one requirement OR the other

What is the difference between High Level Language and Low Level Language? - ANSWER-High Level is human readable; Low Level is machine readable. High Level must be translated into Low Level before it can be ran on computer Define refactoring - ANSWER-Restructuring computer code without changing the behavior of the app. Ex-Procedure What is the internet? - ANSWER-A global network connecting millions of computers, making it possible to exchange information. Based on Internet Protocol Suite What is cloud computing? What are the advantages? - ANSWER-Cloud Computing provides a way to collaborate by making data accessible from anywhere rather than being on a local server. A benefit is that you could locate data from work, school, home, on vacation, etc. Give an Example of a procedure definition block - ANSWER--To Reset location -Set Global X to 0 -Set Global Y to 0 Define an algorithm - ANSWER-A set of precise instructions used for solving a specific problem Define pseudocode - ANSWER-A mixture of natural language and formal programming language; used in program design What is sequencing in algorithms? - ANSWER-Executing the steps in the order they are given What does a selection block look like? - ANSWER-If-Then-Else block Give examples of random events - ANSWER-Flipping a coin or rolling a die What base does the binary number system use? - ANSWER-Base 2 What is 010010 in decimal (Base 10) notation? - ANSWER- Be able to convert binary to ASCII - ANSWER-Know how to use chart on test What is lossy compression? - ANSWER-Data compression technique where small amount of data is removed in attempt to reduce redundant information; change not noticeable to the human eye. Ex-JPEG, MPEG, and MP3 audio formats What is lossless compression? - ANSWER-Data compression techniques where no data is lost

Ex-ZIP files or GNU tool gzip What is an even parity bit? - ANSWER-An extra bit, called a parity bit, is set to 0 if there is even amount of 1's, but is set to 1 if there is an odd number of 1's How do you determine the length of a list? - ANSWER-The number of items inserted into the list What is an index in a list? - ANSWER-Numbered from 1 to the length of the list; Ex- item 4 would be 4th on the index. What did we learn about models of the solar system? - ANSWER-Scale and Distance How many times should a user test a coin flip in order to have accurate results? - ANSWER-A LOT OF TIMES. At least 2,000 times though. What is true about data compression? - ANSWER-There are trade-offs involved in choosing a compression technique What must an ImageSprite be inserted into? - ANSWER-Canvas How long is a millisecond? - ANSWER-1/1000 of a second Give examples of variables - ANSWER--UserName -X What can be used to determine a phone's location? - ANSWER-GPS and the device's location relative to cell phone towers Define Boolean - ANSWER-A variable that has either a TRUE or FALSE value