AP CSP Fall Exam Final Study Guide with Complete Solutions
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 Button1 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 in decimal (Base 10) notation? - ANSWER-18 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
Document information
- Uploaded on
- December 23, 2022
- Number of pages
- 3
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers