APCSP
Unit 2 Study Guide
What type of input does the I have a Dream app expect
tactile
What type of output does the I have a Dream app generate
audible
List seven components in the User Interface drawer
Button, Image, Label, Date picker, List picker, List view Notifier
List five components found in the Layout drawer
Vertical scroll arrangement, Vertical arrangement, Table arrangement, Horizontal Scroll Arrangement, Horizontal arrangement
What event handlers could you use with a player component? What do these components do
Call_player.stop, call_player.start, call_player.pause, and call_player.vibrate. These cause the player to stop, start, pause and vibrate.
When you add components to the screen they are set with default values of what
properties
What programming style does App Inventor use
Event driven programming
What tool is used to test your code without using a real phone or tablet
emulator
How do you add components in the Design view
You drag and drop them from the palette on the left and side of the screen
Where can you find a conditional block in App inventor
Under the control section
What are the parts of a conditional statement? What do they do
If then and else. Allows the user to choose between different actions
What are some examples of good names for a button
Dogbutton mlkbutton etc.
What is hardware? Give four examples
The electronic and mechanical components that carry out the instructions of a computer program. Motherboard RAM CPU monitor/screen
What is software
The program(s) that control a computer
What is a CPU
A Central Processing Unit which is the part of the computer's hardware that interprets and runs the computer program.
What do you call someone who writes programs
programmer
What is the difference between low-level and high-level programming languages
Low level programming languages are understandable to a computer. High level programming languages are understandable to humans.
Give an example of an event on your phone
Me clicking on an app
How long is a millisecond
1/1000th of a second
Define abstraction
An abstraction is the simplification of a complicated concept or object
List the following hardware components from the lowest to highest level of abstraction. RAM chip motherboard physical circuit logic gate integrated circuit
Physical circuit, logic gate, integrated circuit, RAM chip, motherboard
What is an AND gate? OR gate
An AND gate's output is only true when both of its inputs are true. An OR gate's output is only true when one or both of its inputs are true.
What is behavior
How your program responds to various events
What is a general purpose computer
A general purpose computer is a computer that can run many different programs
What is pseudocode
A mix of english and programming languages that is easy to read and understand
What is a computer’s main memory
RAM. stores data that disappears when the computer loses power. Stores instructions read by the CPU
Define a program
A sequence of instructions
What is machine language
A programing language that can be read by a computer's CPU without translation
What is a motherboard
Houses the computer's main electronic components
What is a chip
An Integrated Circuit made up of millions of tiny circuits
What is a character
A symbol that uses one byte of storage
What is data
Distinct information that is formatted in a specific way
What is a bit
A binary digit
What is intellectual property
Created using original thought
What is a network
A group of two or more computer systems linked together
What is a disk drive
A randomly addressable and re-writable storage device.
What is a data center
houses computers servers, networking systems, and components for a company’s IT needs.
What is a data network
A telecommunications network which allows computers to exchange data.
What is Moore’s Law
Growth density of integrated circuits.The number of transistors in an integrated circuit will double each year.
How is Computer Science more than just “programming"
it is Programming, designing, problem-solving, creativity
Why is it important to use “meaningful” names for your variables and components
so that when you are coding you will know what the variable stands for and what the component means.