notes for computer science
Computer Science Test Review
How to Use This Review
For each topic, practice these skills:
Define important terms in your own words.
Explain why each component or concept is important.
Give examples of hardware and software.
Compare similar concepts, such as RAM and a hard drive or hardware and software.
Cover the answers and quiz yourself before checking your understanding.
Computer History
The First Computers
The first computers were invented around the 1940s. These early computers were much larger than modern computers and used different technology from the devices we use today.
ENIAC
ENIAC was one of the earliest general-purpose electronic computers. One important advantage it had over earlier computing devices was that a machine operator could re-program it. This meant that ENIAC could be changed to perform different tasks instead of being built for only one specific calculation.
ENIAC was used for several important jobs, including:
Calculating artillery firing tables
Making atomic energy calculations
Predicting the weather
Therefore, if a question lists all three tasks, the answer is all of these.
Vacuum Tubes
The first computers used vacuum tubes to create electronic signals. Vacuum tubes helped computers process information, but they were large, used a lot of electricity, and produced significant heat.
Later computers used smaller and more efficient technologies, including transistors and integrated circuits.
von Neumann Architecture
von Neumann architecture is the concept of storing computer programs in memory. In this design, a computer stores both instructions and data in memory so that the CPU can retrieve and process them.
Remember:
A program is a set of instructions.
Memory stores instructions and data.
The CPU processes the instructions.
Moore’s Law
Moore’s Law states that the number of transistors that can be cheaply placed in the same physical area tends to double about every two years.
Transistors are tiny electronic switches used to process information. As more transistors fit into a similar amount of space, computers can become more powerful and capable.
Moore’s Law can be used to predict computer power in the near future. Therefore, the statement “Moore’s Law can be used to predict computer power in the near future” is true.
Important Reminder
Moore’s Law does not mean that every computer program becomes twice as complicated every two years. It refers to the number of transistors that can fit in a physical area and the resulting improvements in computing technology.
Computer Hardware Components
Hardware is the physical equipment that makes up a computer. If you can touch it, it is probably hardware.
Internal Components
Computer Case
The computer case is the external shell that holds most of the computer’s internal components. It protects the parts inside and provides a structure for assembling the computer.
CPU
The CPU, or central processing unit, is often called the “brain” of the computer. It follows instructions, performs calculations, and controls many computer operations.
Motherboard
The motherboard is the main circuit board inside a computer. It connects components such as the CPU, RAM, storage devices, and expansion cards so they can communicate.
RAM
RAM, or Random Access Memory, is the computer’s primary working memory. It allows information to be accessed very quickly while programs are running.
RAM is temporary or volatile memory:
It works quickly.
It holds information currently being used.
Its contents are lost when the computer is turned off.
Hard Drive
A hard drive is a storage device that keeps files and programs even when the computer is turned off. It is often one of the computer’s largest storage devices.
Traditional hard drives use spinning disks and moving parts.
SSD Drive
An SSD, or Solid State Drive, stores information in integrated circuits and has no moving parts. SSDs are generally faster and quieter than traditional hard drives.
Video Card
A video card processes and produces graphical output. A separate video card may be installed to provide higher-quality graphics and better performance, especially for games, video editing, or 3D applications.
Storage Devices
Storage devices keep information for later use. Unlike RAM, storage usually keeps information when the computer is turned off.
Hard Drives
Hard drives provide permanent storage and often have a large capacity. They can store documents, applications, photos, videos, and other files.
SSD Drives
SSDs also provide permanent storage. Because they use integrated circuits instead of moving parts, they are generally faster than traditional hard drives.
Removable Storage Media
Removable storage media can be removed from one computer and used with another. Examples include:
CD-ROMs
Compact flash drives
USB memory sticks
RAM vs. Storage
Feature
RAM
Hard Drive or SSD
Main purpose
Holds information currently being used
Stores files and programs
Speed
Very fast
Slower than RAM
Keeps data after power is off
No
Yes
Example
Memory used while a game is running
Storage for saved games and documents
A useful way to remember the difference is:
RAM is the computer’s temporary workspace.
Storage is the computer’s long-term filing cabinet.
Peripheral Devices
A peripheral device is a device connected to a computer that provides input, output, or another function.
Input Peripherals
Input peripherals allow users to enter information or commands into a computer.
Examples include:
Keyboard
Mouse
Touchpad
Output Peripherals
Output peripherals display or produce information from a computer.
Examples include:
Printer
Monitor
Speakers
A printer is an example of an output peripheral because it produces a paper copy of information.
Hardware Platforms
A hardware platform is a type of physical computing system on which software can run.
Desktop computers
Game consoles
Smartphones
Mac OS X is not a hardware platform. It is an operating system, which is software. A Mac computer is hardware, but Mac OS X is the software that helps operate it.
Operating Systems and Software
Operating Systems
An operating system, or OS, is system software that manages a computer’s hardware and allows other programs to run.
Examples include:
Linux
Microsoft Windows
Mac OS
Linux
Linux is an open-source operating system. Its source code can be studied, modified, and shared according to its license. Linux runs on many types of systems, including embedded devices.
An embedded device is a computer built into another product, such as a router, car system, appliance, or game device.
Device Drivers
A device driver is software that helps a piece of hardware work with an operating system.
Drivers allow hardware and software to communicate. For example, a printer driver helps the operating system send instructions to a printer.
Remember:
A driver does not automatically update the operating system.
A driver does not write code for you.
A driver helps the operating system control a hardware device.
Types of Software
Software
Software is the general term for programs that make computers do useful work. Unlike hardware, software cannot be physically touched.
Examples include operating systems, web browsers, games, and programming applications.
IDE
An IDE, or Integrated Development Environment, is an application used by programmers to design, write, and test programs.
An IDE may include tools such as:
A code editor
A debugger
A compiler or interpreter
Project-management features
Application Software
Application software helps users perform specific tasks.
Examples include:
Email programs
Video games
Web browsers
Word processors
Photo-editing programs
An email program, video game, and web browser are all examples of application software. If all three appear as answer choices, the correct answer is all of these are application software.
Hardware vs. Software
Hardware
Software
Physical parts of a computer
Programs and instructions
Can be touched
Cannot be physically touched
Examples: CPU, keyboard, RAM
Examples: Windows, Linux, web browser
A computer needs both hardware and software to work. Hardware provides the equipment, while software provides the instructions.
Important Comparisons
RAM vs. Hard Drive
RAM is fast, temporary working memory.
A hard drive provides long-term storage.
RAM loses its contents when power is turned off.
A hard drive keeps saved files when power is turned off.
Hard Drive vs. SSD
Both provide long-term storage.
A traditional hard drive uses moving parts.
An SSD uses integrated circuits and has no moving parts.
SSDs are generally faster than traditional hard drives.
Hardware Platform vs. Operating System
A desktop, game console, or smartphone is a hardware platform.
Linux, Microsoft Windows, and Mac OS are operating systems.
A hardware platform is physical.
An operating system is software.
Input vs. Output
Input devices send information to the computer.
Output devices receive information from the computer and present it to the user.
A keyboard is input.
A printer is output.
can you ma