CS Problems and Exercises

advertisement
1.
Your personal computer is a system. Draw and label a personal computer as a system and label all of
its system characteristics.
System unit parts and functions:
1. Central Processing Unit (CPU), also called a processor, significantly impacts overall computing power and manages most of a
computer’s operations. The CPU contains the control unit and the arithmetic/logic unit. The control unit directs and coordinates
most of the operations in the computer. For every instruction, the control unit repeats a set of four basic operations called
the machine cycle: (1) fetching the instruction or data item from memory, (2) decoding the instruction into commands the
computer understands, (3) executing the commands, and, if necessary, (4) storing, or writing the result to memory.
The arithmetic/logic unit (ALU) performs the execution part of the machine cycle. Specifically, the ALU carries out three
operations:
 Arithmetic operations – performing calculations, which include addition, subtraction, multiplication, and division

2.
3.
4.
5.
6.
7.
8.
Comparison operations – comparing data items to determine if the first item is greater than, equal to, or less than the
other item
 Logical operations – working with conditions and logical operators such as AND, OR, and NOT
A Motherboard or system board is the main printed, flat circuit board in an electronic device such as microcomputers. The
board contains expansion slots (sockets) that accept additional boards (expansion Cards). In a microcomputer, the motherboard
contains the microprocessor, the primary storage chips (or main memory cards), the buses, and all the chips used for controlling
the peripherals.
A personal computer’s CPU usually is contained on a single chip, which some call a microprocessor. A microprocessor is a
processor whose elements are miniaturized into one or a few integrated circuits contained in a single silicon microchip. It
executes instructions. In a microcomputer, the central processing unit (CPU) is held on a single microprocessor. In order to
function as a processor, it requires a system clock, primary storage, and power supply.
Memory is a temporary storage place for data, instructions, and information. Memory stores the operating system, application
programs, and the data processed by application programs. A byte is the basic storage unit in memory. Memory size is
measured by the number of bytes available for use. A kilobyte (KB or K) of memory is approximately one thousand bytes,
a megabyte (MB) is approximately one million bytes, and a gigabyte(GB) is approximately one billion bytes. The system unit
contains several types of memory.
RAM (random access memory) consists of memory chips that the processor can read from and write to. Most RAM is volatile
memory, meaning that its contents are lost when the computer’s power is turned off. Two basic types of RAM chips are dynamic
RAM and static RAM. Dynamic RAM (DRAM) must be re-energized constantly or it loses its contents. Static RAM (SRAM) is
faster and more reliable than DRAM and has to be re-energized less often, but it is much more expensive.
Memory cache, also called a cache store or RAM cache, improves processing time by storing frequently used instructions and
data. ROM (read-only memory) refers to memory chips that only can be read and used; that is, they cannot be modified. ROM
is nonvolatile memory (NVM), meaning that its contents are not lost when the computer’s power is turned off. A variation of the
ROM chip, called programmable read-only memory (PROM), is a blank chip on which you can place items permanently.
Flash memory, also known as flash ROM or flash RAM, is nonvolatile memory that can be erased electronically and
reprogrammed. Complementary metal-oxide semiconductor (CMOS) memory, another type of memory chip, stores
configuration information about the computer and uses battery power to retain information when the power to the computer is off.
The motherboard in the system unit contains different types of chips. Manufacturers package chips so the chips can be attached
to circuit boards, such as the motherboard. Types of chip packages include:




Dual inline package (DIP), which consists of two parallel rows of downward-pointing thin metal feet (pins)
Pin grid array (PGA) package, which holds a larger number of pins because the pins are mounted on the surface of the
package
Flip chip-PGA (FC-PGA) package, which places chips on the opposite side (flip side) of the pins
Single edge contact (SEC) cartridge, which connects to the motherboard on one of its edges
2. Choose a business transaction you undertake regularly, such as using ATM machine, buying groceries at the
supermarket, or buying a ticket for a university’s basketball game. For this transaction define the data, draw the data
flow diagram, and describe processing logic.
Download