APCSP - Unit 2 Flashcards

1
Q

What type of input do physical apps expect? (I have a Dream)

A

Tactile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What type of output do physical apps generate? (I Have a Dream)

A

Audible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is MIT App Inventor an example of?

A

A programming language
An Integrated Developement Environment (IDE)
A cloud application
A software system for developing mobile apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What elements would be considered part of the user interface for an app?

A

Color of the background screen
Button that appears on screen
Error message that appears after something goes wrong
Audible click that sounds when the user taps a button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What palette drawer contains the “Player” component?

A

The Media drawer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is true about algorithms

A

Consist of a combination of sequences, repetitions, and or selections
Step-by-step procedures
Sequence of precise instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Pseudocode is…

A

Easy to read
Not a programming language
Mix between natural and programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Sequencing in algorithms means that each step of the algorithm is executed…

A

In the order that they are given

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Computing innovation includes a program as an integral part of its function. What would be considered a computing innovation.

A

Office software, a mobile app, self-driving cars

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why are “IF” blocks used in the “I Have a Dream” app?

A

They are used to determine, when the buttons are clicked, whether a speech is already playing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are examples of good names for a button?

A

ClearButton, MLKButton, ButtonClear, DogButton

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is hardware?

A

A computer’s electronic and mechanical components. (ex: integrated circuits, motherboard, memory chips.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is software

A

A program that controls a computer. (ex: iOS, Firefox browser, Excel)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is CPU

A

Central Processing Unit
It carries out, or processes, the instruction in a computer program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between low-level and high-level programming langauges?

A

A high-level programming language must be run through software programs into low-level machine languages before they can be run on a computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Give examples of events on your phone.

A

Clicking a button, shaking the phone, changing location

17
Q

How long is a millisecond?

A

1/1000 of a second.

18
Q

What is abstraction?

A

A general representation that stands for some collection of individual instances.

19
Q

Give an example of abstraction and other terms for it.

A

Ex: the word “dog.”
Condensing and Simplifying

20
Q

List these hardware components from lowest to highest abstraction: Logic gate, motherboard, integrated circuit, RAM chip, physical circuit.

A

Physical circuit, logic gate, integrated circuit, RAM chip, motherboard

21
Q

What is an AND gate?

A

A gate where the output is only true if both inputs are true.

22
Q

What is an OR gate?

A

A gate where the output it true of one or both of the inputs are true.

23
Q

What is a general purpose computer?

A

A device that can run many different programs. ex: tablet, smartphone, laptop, desktop

24
Q

What is a computer’s main memory?

A

Stores data, called RAM, disappears when the computer loses power, stores program instructions used by the CPU.

25
Q

Define a program

A

A sequence of instructions that controls the computer.

26
Q

What is machine language?

A

A type of programming language that is readable by the CPU.

27
Q

What is a motherboard

A

It is a piece of electronics that controls all of the computer’s main electronic components.

28
Q

What is a chip?

A

An informal way of describing an integrated circuit consisting of millions of tiny circuits.

29
Q

What is a character?

A

Any type of symbol that requires one byte of storage.

30
Q

What is data?

A

Distinct information that is formatted in a special way. It exists in many forms like text on paper, or bytes in electronic memory.

31
Q

What is a bit?

A

Is a 1 or a 0 in binary code that determines how to tell the computer what the user wants to do.

32
Q

What is intellectual property?

A

Any property that is created using an original thought. (Patents, copyrights, and trademarks.)

33
Q

What is a network?

A

A group of two or more computer systems linked together.

34
Q

What is a disk drive?

A

A randomly addressable and rewritable storage device.

35
Q

What is a data center?

A

Virtual and physical infrastructure used by enterprises that house computer, server, and networking systems, and the components needed for the company’s IT.

36
Q

What is a data network?

A

A telecommunications network which allows computers to exchange data.

37
Q

List a social media app. If you were the developer of this app, how would you reduce the harmful effects?

A

Snapchat. I would remove the ability to see other locations and I would not have the users input any unnecessary information. Not seeing locations would secure their privacy even more.

38
Q

How is Computer Science more than just programming?

A

Computer Science is programming, problem-solving, understanding, creativity, and designing. Much more than just programming.

39
Q

Why is it important to use “meaningful” names for your variables and components?

A

When you are coding your app, you will know what every variable controls, and when you get to more complex code, it would be extremely difficult to remember what “Variable1” and “Variable 34” mean.