Unit 2 - Introduction to Mobile Apps & Pair Programming
Binary number
A number written in the binary system, a system that uses only two digits, 0s and 1s.
Event-driven programming
A programming approach whereby the program's behavior is controlled by writing code that responds to various events that occur, such as Button clicks.
Computational artifact
An object created by a human being that involves the use of computation in some way, for example a mobile app or a web page.
Which of the following are true statements about a computer's main memory? It stores data. It is called RAM, short for random access memory. Any data stored in main memory disappears when the computer loses power. It is the same as long-term memory. Check Answer
It stores data. It is called RAM, short for random access memory. Any data stored in main memory disappears when the computer loses power. It is the same as long-term memory.
Examples of abstraction can be found in which of the following? Languages Designs Maps Computer science
Languages Designs Maps Computer science
Media Drawer
Media drawer has components for playing sounds and video, recording video, text-to-speech, and recognizing speech.
Which of the following is an example of a cloud computing application?
Twitter Excel G-mail PowerPoint Facebook Dropbo
Telephony
Voice over IP (VoIP)
Which of the following is not an example of hardware? Memory chip WIndows Operating System Motherboard Integrated circuit Check Answer
WOS
10 comandments of computer ethics
You shall not use a computer to harm other people. You shall not interfere with other people's computer work. You shall not snoop around in other people's computer files. You shall not use a computer to steal. You shall not use a computer to bear false witness. You shall not copy or use proprietary software for which you have not paid without permission. You shall not use other people's computer resources without authorization or proper compensation. You shall not appropriate other people's intellectual output. You shall think about the social consequences of the program you are writing or the system you are designing. You shall always use a computer in ways that ensure consideration and respect for your fellow humans.
whitelist
a generic name for a list of email address or IP addresses that are considered to be spam free
network
a group of two or more computer systems linked together
cyberspace
a metaphor for describing the non-physical terrain created by computer systems
disk drive
a randomly addressable and rewritable storage device
social networking
a social structure made of nodes that are generally individuals or organizations. A social network represents relationships and flows between people, groups, organizations, animals, computers, or other information/knowledge processing entities
data network
a telecommunications network which allows computers to exchange data
Which of the following would be considered an event on your smart phone? Choose all that apply. 1 The user taps on the screen. 2 The phone receives a text message. 3 The phone's location changes. 4 The app plays a sound clip 5 The phone's internal clock ticks
1, 2,3,and 5 1 This is the Button.Click event 2 This is a Texting.MessageReceived event 3 This is a LocationSensor.LocationChanged event 5 This is a Clock.Timer event
Pseudocode is ___________________. easy to read not a programming language a mixture between a natural language and a programming language an executable program
Because it is concise, pseudocode is easy to read--easier than a natural language. Pseudocode may use elements from a programming language but it is not as formal as a programming language. Yes, pseudocode is more precise than, say, English, but not as formal as a programming language.
Which of the following are examples hardware? CPU Main memory Integrated circuit Flash drive
CPU Main memory Integrated circuit Flash drive
Which of the following is the best name for a button whose function is to clear another component? Button1 Clear ClearButton ButtonA
ClearButton
Drawing and Animation Drawer
Drawing and animation drawer has the Canvas component along with the ImageSprite and Ball components that live in canvases.
File Transfer
FTP - File Transfer Protocol
Open Standard
HTTP is an example of an open standard Not proprietary
Integrated Development Environment (IDE)
IDE is an integrated set of software tools used to develop computer software.
Instant Messaging
Internet relay chat IRC
Abstraction
One of the seven big ideas of the CS Principles curriculum. An abstraction is a simplified and general representation of some complex object or process. One example --we'll encounter many in this course, including abstractions used in computer programming -- would be a Google map.
Which of the following is not an example of software? Microsoft Excel Angry Birds Firefox A Printer
Printer
web developed by
Sir Tim Burners-lee Did it for FREE
Which of the following best describes the primary function of the CPU? To carry out, or process, the instructions in a computer program. To convert electrical power from alternating to direct current. To serve as the interface between the user and the computer. To store the data used by the computer's software.
The CPU (Central Processing Unit) interprets and carries out the computer's machine language instructions. Also called RAM (Random Access Memory), stores instructions and data for a program while the program is running. An IC (Integrated circuit), also called a chip, contains millions of pre-printed circuits, diodes, and other electronic devices. A Flash drive is an example of a long-term storage device, one capable of storing Gigabytes worth of information.
Software
The computer programs that make up a computer system such as the mobile apps we will be creating in this course.
Hardware
The large and small physical components that make up a computers such as the computer's keyboard or its processor.
Moore's Law:
The number of transistors per square inch on integrated circuits has doubled every year since the integrated circuit was invented.
Social Drawer
The social drawer has components for contacts, texting, and phone calls.
User Interface Pallette
The user interface drawer contains visual components like buttons, labels, clock, and text boxes.
Which of the following are advantages of cloud computing? Choose all that apply. a. Cloud computing relieves users from having to backup their own data and information. b. Cloud computing makes it easier to share information. c. Information is stored on each user's computer. d. Users can access information that is on the cloud from anywhere that has an Internet connection.
a,b,d
character
any symbol that requires one byte of storage
data center
are physical or virtual infrastructures used by enterprises to house computer, server and networking systems and components for the company's IT (information technology) needs
computational artifact
computational artifact is any object created by a human that uses computation in some way.
Which of the following would be considered a computational artifact? Choose all that apply. A mobile app A digital recording that mixes together two separate tracks of music. A spread sheet created with Microsoft excel A Google sites portfolio
computational artifact is any object created by a human that uses computation in some way. Mobile apps surely count as such. A computational artifact is any object created by a human that uses computation in some way. Computer software is used to create a mash-up, a digital recording that fuses together two tracks of music. A computational artifact is any object created by a human that uses computation in some way. A spread sheet is an example of an electronic document, created and manipulated using computer software. A computational artifact is any object created by a human that uses computation in some way. Mobile apps surely count as such. A Google sites portfolio is a web site that one uses software to create.
In Computer Science, the process of abstracting also means: Complexing Complicating Condensing Simplifying
condensing and simplifying
data:
data is distinct information that is formatted in a special way. Data exists in a variety of forms, like text on paper or bytes stored in electronic memory
What programming approach does App Inventor use?
event-driven programming
A process may execute on only one CPU. True False
f
Complete the following definition: An abstraction is a ____________ representation that stands for some collection of individual instances. general specific fixed artistic
general
blacklist
in internet terminology, a generic term for a list of email addresses or IP addresses that are origination with known spammers
The Internet _______________. Choose all that apply. is a network of networks was invented by Tim Berners-Lee connects devices and computers around the world is based on the Internet protocol suite
is a network of networks connects devices and computers around the world is based on the Internet protocol suite
The World Wide Web (WWW) _______________. Choose all that apply. is a system of interlinked hypertext documents uses the HTTP protocol is maintained by Google and Facebook was invented by Tim Berners-Lee
is a system of interlinked hypertext documents uses the HTTP protocol was invented by Tim Berners-Lee
Internet
is the underlying global network that supports the WWW and many other applications. It consists of many different local networks that are connected together by various hardware devices. use internet protocol suite TCP/IP. Network of networks.
Cloud
just a popular term for the Internet and its applications used largely in marketing and advertising. Facebook, Google, Twitter, Dropbox are often referred to as cloud applications. They could also be called Internet applications. App Inventor is another example of a cloud application.
intellectual property:
refers to any property that is created using original thought. Traditional intellectual property include patents, copyrights, and trademarks.
World Wide Web (WWW)
s an application that runs on the Internet
bit
short for binary digit
processor
short for microprocessor or CPU
smtp - simple mail transfer protocol or pop - post office protocol
algorithm
step-by-step procedure of precise instructions that performs some calculation or computation.
protocol -
system of rules that govern the behavior of a system
True or False: One of the main characteristics of an abstraction is that it simplifies a complex phenomenon by leaving out the irrelevant aspects. True False
t