APCSP Unit 2 Study Guide
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 respectively
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.
If:
Then:
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? Give four examples.
The program(s) that control a computer
Google docs
Chrome
Zoom
ios
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. What are other terms for abstraction? Give an example of a general abstraction.
An abstraction is the simplification of a complicated concept or object
Modeling, condensing, simplifying
The word chair
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, RAM chip, motherboard,
What is an AND gate? OR gate?
An AND gate is a circuit with two inputs and one output. Its output is only true when both of its inputs are true.
An OR gate is a A circuit with two inputs and one output. Its output is true when one or both of its inputs are true.
What is behavior?
How yoru program responds to various events
What is a general purpose computer? Give four examples.
A general purpose computer is a computer that can run many different programs
Cell phone, school chromebook, ipad, desktop computer
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 b 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 IC made up of millions of tiny circuits
What is a character?
A symbol, 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 rewritable storage device.
What is a data center?
Physical and virtual infrastructure used by enterprises to house computer, server, and networking systems and components for the 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”?
Programming, designing, problem-solving, creativity
Why is it important to use “meaningful” names for your variables and components?
When you are coding, you will know what the variable stands for and what the component means.
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 respectively
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.
If:
Then:
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? Give four examples.
The program(s) that control a computer
Google docs
Chrome
Zoom
ios
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. What are other terms for abstraction? Give an example of a general abstraction.
An abstraction is the simplification of a complicated concept or object
Modeling, condensing, simplifying
The word chair
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, RAM chip, motherboard,
What is an AND gate? OR gate?
An AND gate is a circuit with two inputs and one output. Its output is only true when both of its inputs are true.
An OR gate is a A circuit with two inputs and one output. Its output is true when one or both of its inputs are true.
What is behavior?
How yoru program responds to various events
What is a general purpose computer? Give four examples.
A general purpose computer is a computer that can run many different programs
Cell phone, school chromebook, ipad, desktop computer
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 b 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 IC made up of millions of tiny circuits
What is a character?
A symbol, 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 rewritable storage device.
What is a data center?
Physical and virtual infrastructure used by enterprises to house computer, server, and networking systems and components for the 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”?
Programming, designing, problem-solving, creativity
Why is it important to use “meaningful” names for your variables and components?
When you are coding, you will know what the variable stands for and what the component means.