Chapter 1 Flashcards
What is a program?
A set of instructions that a computer follows to perform a task
Programs are commonly referred to as _________
Software
What is a programmer/Software Developer?
A person with the training and skills necessary to design, create, and test computer programs
List some popular companies that use Python:
Google, NASA, YouTube, various game companies, the New York Stock Exchange, and many others
What is hardware?
Refers to all of the physical devices, or components, of which a computer is made
List the 5 main major components in a computer?
- The central processing unit (CPU)
- Main memory (RAM)
- Secondary storage devices
- Input devices
- Output devices
What is the CPU?
- The part of a computer that actually runs programs
- When a computer is performing the tasks that a program tells it to do, we say that the computer is running or executing the program.
- Today, CPU’s are small chips called microprocessors
What is Main memory? (RAM)
- The computer’s work area (where the computer stores a program while the program is running, as well as the data that the computer is working with )
- Referred to as Random Access Memory
- Because the CPU is able to quickly access data stored at any random location in RAM.
- RAM is usually a volatile type of memory that is used only for temporary storage while a program is running.
- RAM is stored in memory chips
What is Secondary Storage Devices?
- Type of memory that can hold data for long periods of time, even when there is no power to the computer.
- Programs are normally stored in secondary memory and loaded into main memory (RAM) as needed
- Ex: word processing documents, payroll data, and inventory records, is saved to secondary storage
- Most common type of secondary storage: Disk Drive, although Solid state drives (SSD) are becoming more poular
- External storage devices also available, usually for backing up computers
- Flash memory (ex: USB)
What are input devices?
- Input is any data the computer collects from people and from other devices. The component that collects the data and sends it to the computer is called an input device.
- Example: Mouse, keyboard, touchscreen, scanner, microphone, and digital camera, disk drives, and optical drives
What is an output device?
- Output is any data the computer produces for people or for other devices.
- Ex: Video displays, printers, disk drives (system sends data to it)
What are the two general categories of software?
System and Application Software
What is system software?
- The programs that control and manage the basic operations of a computer
- Typically includes programs such as: Operating Systems (Windows, Mac, Linux, IOS), Utility Programs (task that enhances computer operations or safeguards data, like virus scanners), and Software Development Tools (assemblers, compilers, interpreters)
What is application software?
- Programs that make a computer useful for everyday tasks
- Ex: Microsoft Word, Powerpoint, spreadsheets, emails, web browsers, and game programs
What is a byte?
-Tiny storage location that is part of computer’s memory
-One byte is only enough memory to store a letter of the alphabet or a small number
-Each byte is divided into 8 smaller storage locations called bits
-
What is a bit?
- Bits are tiny electrical components that can hold either a positive or a negative charge. Computer scientists think of a positive charge as a switch in the on position, and a negative charge as a switch in the off position.
- When a piece of data is stored in a byte, the computer sets the eight bits to an on/off pattern that represents the data
- A bit that is turned off represents the number 0, and a bit that is turned on represents the number 1. This corresponds perfectly to the binary numbering system
What is the binary numbering system? (binary)
Sequences of 1’s and 0’s
- The position of each digit in a binary # has a value assigned to it
- Note: There are 8 bits in a byte, so the largest value that can be stored in a byte is 255 (more bytes can be used to store larger numbers