Docsity

Basic Operation of Computer System - Lecture Notes | CSC 1113, Study notes of Computer Science

Toggle sidebar
bg1
CSC 1113 – Introduction to Computers
LECTURE NOTES – CHAPTER 2
A. DESCRIBING HARDWARE PERFORMANCE CIYF 2.02
As discussed in Chapter 1, the basic operations of any computer system are all related to
how data is handled—i.e., inputted, processed, outputted, and stored. Make time at the
beginning of this lesson to assist students in recalling these processes. Link their existing
knowledge to the concept of hardware performance by referring back to the prior lecture.
Web Link: As noted in the Destinations margin note, the Web guide to personal
computer hardware, PC Guide (www.pcguide.com/), is one of the premier sites for
tutorials on hardware components. In addition, the PC Mechanic
(www.pcmech.com/index.htm) offers in-depth case studies on many subjects entitled
“How It Works.”
1. BITS AND BYTES CIYF 2.03
Teaching Tip: The concept of bits and bytes scares many students. Take care at this time
to present the information so that students can master this concept before moving on.
Often, it is helpful to assure them that they will not be required to count in binary.
However, a basic understanding of binary numbers is necessary and will be useful when
the differences between digital and analog data streams are discussed at the end of this
chapter.
2. MILLIONS, BILLIONS, AND MORE CIYF 2.4
Define bit, data transfer rate, and byte. Explain that, among other things, these terms
are used for describing the rate at which information is transferred between computers.
Note that bits are commonly used to measure the data transfer rate of communication
devices, while bytes are commonly used to measure data storage. Refer students to Figure
2.1 for definitions of kilobits per second (Kbps), megabits per second (Mbps), and
gigabits per second (Gbps).
B. INTRODUCING THE SYSTEM UNIT CIYF 2.05
Teaching Tip: Begin a discussion of the system unit by directing students’ attention to a
computer in the classroom. All of the terms they should be familiar with can be illustrated
using this computer for examples. Point out the box-like case that houses the components
is the system unit and explain that the space taken up by the system unit on the desk or
floor is called the footprint. Open up the case to illustrate the form factor, the style in
which the internal components are mounted in the system unit.
If possible, show and describe types of system units other than desktop computers, such
as laptops, PDAs, and MP3 players.
1. INSIDE THE SYSTEM UNIT CIYF 2.06
Teaching Tip: If you have a computer available, enlist the aid of a student and have them
remove the cover of the system unit to display the contents. Point out each component so
students are able to see how they fit together and connect to the motherboard.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Basic Operation of Computer System - Lecture Notes | CSC 1113 and more Study notes Computer Science in PDF only on Docsity!

CSC 1113 – Introduction to Computers

LECTURE NOTES – CHAPTER 2

A. DESCRIBING HARDWARE PERFORMANCE CIYF 2.

As discussed in Chapter 1, the basic operations of any computer system are all related to how data is handled—i.e., inputted, processed, outputted, and stored. Make time at the beginning of this lesson to assist students in recalling these processes. Link their existing knowledge to the concept of hardware performance by referring back to the prior lecture. Web Link : As noted in the Destinations margin note, the Web guide to personal computer hardware, PC Guide (www.pcguide.com/), is one of the premier sites for tutorials on hardware components. In addition, the PC Mechanic (www.pcmech.com/index.htm) offers in-depth case studies on many subjects entitled “How It Works.”

1. BITS AND BYTES CIYF 2.

Teaching Tip : The concept of bits and bytes scares many students. Take care at this time to present the information so that students can master this concept before moving on. Often, it is helpful to assure them that they will not be required to count in binary. However, a basic understanding of binary numbers is necessary and will be useful when the differences between digital and analog data streams are discussed at the end of this chapter.

2. MILLIONS, BILLIONS, AND MORE CIYF 2.

Define bit , data transfer rate , and byte. Explain that, among other things, these terms are used for describing the rate at which information is transferred between computers. Note that bits are commonly used to measure the data transfer rate of communication devices, while bytes are commonly used to measure data storage. Refer students to Figure 2.1 for definitions of kilobits per second ( Kbps ), megabits per second ( Mbps ), and gigabits per second ( Gbps ). B. INTRODUCING THE SYSTEM UNIT CIYF 2. Teaching Tip : Begin a discussion of the system unit by directing students’ attention to a computer in the classroom. All of the terms they should be familiar with can be illustrated using this computer for examples. Point out the box-like case that houses the components is the system unit and explain that the space taken up by the system unit on the desk or floor is called the footprint. Open up the case to illustrate the form factor , the style in which the internal components are mounted in the system unit. If possible, show and describe types of system units other than desktop computers, such as laptops, PDAs, and MP3 players.

1. INSIDE THE SYSTEM UNIT CIYF 2.

Teaching Tip : If you have a computer available, enlist the aid of a student and have them remove the cover of the system unit to display the contents. Point out each component so students are able to see how they fit together and connect to the motherboard.

Chapter 2 Lecture Notes Describe the inside of the system unit, and point out the motherboard, power supply, cooling fan, speaker, drive bay(s), and expansion card. Refer students to Figure 2.5a to illustrate the topic. a. Define motherboard and printed circuit board (PCB) , and provide an overview of what the motherboard does. If possible, have one available to show and discuss during class. b. Explain how the computer’s power supply transforms the alternating current (AC) into direct current (DC) which is needed for the computer’s operation, and explain its rating in watts. c. Stress the importance of the cooling fan , and explain how it protects the computer’s components from heat damage. d. Describe the purpose of drive bays. Point out the computer’s internal speaker, and mention that it is not designed to be the computer’s stereo system. Compare the differences between external stereo speakers and the computer’s internal speaker. Class Exercise : Ask students to name the various components that are inside the system unit, using Figure 2.5 as a reference. Web Link : The Web site How Stuff Works (computer.howstuffworks.com/pc1.htm) has a very thorough description of all of the components inside a personal computer. If students are not able to see one for real, or if you are teaching this class online, encourage them to visit this Web Link. C. WHAT’S ON THE MOTHERBOARD? CIYF 2. Using Figure 2.6 or an actual motherboard you have available for demonstration, show that the motherboard provides both the physical and electrical setting for the computer’s most important components, most of which are integrated circuits (ICs0) , or chips. These chips can emulate millions of electronic switches, called transistors or gates. Explain that these chips are housed in black plastic boxes, of which many types exist. Define dual-inline packages (DIPs), pin grid array (PGA), zero-insertion force (ZIF) , and single-edge contact (SEC).

1. THE SYSTEM CLOCK CIYF 2.

Describe the purpose of the system clock , clock speed , and clock tick. Web Link: Explain to students that every week their system clock loses a few minutes. However, this problem can be permanently corrected by using software that synchronizes their personal computer with an atomic clock. If time allows, direct them to a collection of downloads provided by PC Magazine (www.pcworld.com/downloads/collection/0,collid,604,00.asp). Ask them to choose one of the free utilities to download and install on their computer.

Chapter 2 Lecture Notes one time. For example, a 16-bit bus can transmit 16 bits of data, whereas a 32-bit bus can transmit 32 bits of data.

  1. Microprocessor Performance: Operations per Cycle Another factor impacting performance is the number of operations per clock tick. Define superscalar and superscalar architecture. Introduce the concept of pipelining , a technique used in advanced microprocessors where several instructions are processed, or “in the pipeline,” simultaneously, each at a different stage of processing. Teaching Tip : When preparing for this lecture, it would be a good idea to check current news articles on the subject because the field is rapidly changing.
  2. Microprocessor Performance: Parallel Processing Define parallel processing , the simultaneous use of several CPUs to execute a program. Explain that parallel processing makes a program run faster because there are more engines (CPUs) running it.
  3. CISC and RISC Introduce CISC and RISC as alternate approaches to microprocessor design. Explain that the leading CISC processor today is the Power PC produced by Motorola, and that the leading RISC processor is the Pentium 4 manufactured by Intel. Note that the differences between the two are rapidly blurring.
  4. Popular Microprocessors a. Describe the evolution of the microprocessor, using Figure 2.12 as a guide. Note that the word size, clock speed, and number of transistors have increased in an exponential fashion over the years. Explain the significance of the introduction of Intel’s 80286 processor, which had two modes: real mode, which emulated the 8088 (although it ran faster), and protected mode , which could use up to a gigabyte of RAM and supported multitasking. b. Explain that the MS-DOS operating system was not designed to take advantage of protected mode, so it always has and always will execute programs in real mode. Teaching Tip : When preparing this lecture, visit the “Chip Geek” at www.geek.com/procspec/procmain.htm for updated information.

3. MEMORY CIYF 2.

Ask students to recall the definition of memory from Chapter 1. Explain that this lesson’s objective is to increase their fundamental understanding by exploring various types of memory. Explain that the term memory is a general term used for any device that enables the computer to retain information. The motherboard contains several different types of memory.

Chapter 2 Lecture Notes a. Volatile vs. Nonvolatile Memory Computer memory falls into two categories: volatile and nonvolatile. Volatile memory is erased when the computer’s power is switched off; nonvolatile memory retains information even when the power is switched off. Refer to Figure 2.18 to illustrate the concept of random- and direct-access memory addressing. Teaching Tip : Consider using an analogy to enforce the concept of volatility. A simple analogy would be a blackboard in front of the classroom. During class, the instructor writes on the board. After class, the board is wiped clean. Thus, the information on the board is volatile and not permanent. However, if the information on the board is copied down or photographed, it is stored in a permanent, or nonvolatile, fashion. b. ROM (Read-Only Memory)

  1. Describe read-only memory (ROM). Note that most computers use flash memory , or flash BIOS , to allow ROM upgrades. Define basic input/output system (BIOS) , booting , operating system (OS) , and setup program.
  2. Explain that the “beep” we hear when turning on our computer is part of the boot sequence , where the BIOS conducts power-on self-tests (POST) , a diagnostic testing sequence. The POST will determine if the computer’s RAM, disk drives, peripheral devices, and other hardware components are properly working. If the diagnostic determines that everything is in working order, the boot sequence continues. c. CMOS Review the purpose of the complementary metal-oxide semiconductor (CMOS). Note that unlike ROM, CMOS is volatile. d. Cache Memory Clearly pronounce the term cache (“cash”) and refer to Figure 2.19 as you define cache memory. Describe the two types of cache available: secondary cache and backside cache.

4. THE CHIPSET AND INPUT/OUTPUT BUSES CIYF 2.

a. Explain that a chipset is simply a collection of chips that are designed to work together. One chipset might provide the CPU functions for a computer, while another might provide the basic functions of a modem. b. Define the role of an input/output (I/O) bus and show that it contains expansion slots , which accommodate expansion cards. Note that expansion cards are also referred to as expansion boards , adapter cards , or adapters. Describe how today PCs and Macs use the Personal Computer Interface (PCI) bus , while many motherboards still contain an Industry Standard Architecture

Chapter 2 Lecture Notes FireWire is a trademarked term developed by Apple Computer that describes the IEEE 1394 external bus standard. Explain that although it is extremely fast and flexible, 1394 is also expensive. Like USB, 1394 supports both Plug and Play and hot plugging, and it also provides power to peripheral devices. f. IrDA Port IrDA is infrared technology used by some keyboards, mice, printers, and television remote controls. Although there is no physical connection required, the transmitter must be in a direct line of sight with the receiver. g. Monitor Connector In discussing monitor connectors, define video adapter , video card , VGA connector, and on-board video. h. Additional Ports and Connectors Note that there are additional ports and connectors. Define telephone connector , network connector , PC card slots and PC card , sound card connectors , and TV/sound capture board connectors. Define and discuss PCMCIA. Teaching Tip : If you have any additional ports and connectors in the box of hardware you use for demonstration purposes, pass these around so students can take a look at them.

3. THE FRONT PANEL CIYF 2.

Discuss the front panel, identifying the reset switch , drive activity light , power-on light , and keylock. E. HOW COMPUTERS REPRESENT DATA CIYF 2. This section is another critical step along your students’ path to computer fluency. Make an effort to present this material as thoroughly as possible. Explain that humans tend to experience the world in an analog fashion, while computers are digital. Of course, there are some exceptions, and you should give examples of some of these: There are analog computers which are typically used for measuring, as in gas pumps and various scientific applications.

1. DIGITAL VS. ANALOG REPRESENTATION CIYF 2.

Teaching Tip : Perhaps the best way to explain digital and analog representation is to compare the two. Everyone is familiar with a clock, which is a typical analog device. The hands move around the face of the clock continuously, indicating every possible time of day. Digital is the opposite of analog. A digital clock is capable of representing only a finite number of times (every tenth of a second, for example). Another simple summation is to state that digital computers count, whereas analog computers measure.

Chapter 2 Lecture Notes

2. NUMBERING SYSTEMS CIYF 2.

Describe numbering systems using the terms base , or radix , and place value. Point out that the numbering system we use every day (the decimal system) has a base of 10, which means you can count from 0 to 9 before you have to use multiple digits. The numbering system used by computers (binary) has a base of 2, which means you can only count from 0 to 1 before you have to use multiple digits.

3. REPRESENTING NUMBERS CIYF 2.

Refer students to Figures 2.24 and 2.25. Engage students in a discussion regarding binary numbers and hexadecimal numbers (or hex for short). Emphasize that a bit is the smallest unit of information that a computer can work with. Point out that because so many digits are required to represent even a small number, it is often difficult to work with binary numbers. Web Link : For a concise explanation of binary numbers, encourage students to visit this site: www.johnleenwuk.uklinux.net/southport/articles/motherboard/binary.htm. Web Link : California State University Stanislaus offers a site entitled Hex (Hexadecimal) Explained (science.csustan.edu/jtb/Help/HEX/hex-def.htm). Encourage students to visit this site for a succinct overview of the hexadecimal concept.

4. REPRESENTING VERY LARGE AND VERY SMALL NUMBERS CIYF 2.

Define floating-point unit (FPU) as a specially designed chip that performs floating- point calculations. The term floating point is derived from the fact that there is no fixed number of digits before or after the decimal point; that is, the decimal point can float. Computers equipped with an FPU perform certain types of applications much faster than computers that lack one. For example, graphics applications run faster on a computer with an FPU installed. Some microprocessors, such as the Intel 80486 and Pentium, have a built-in FPU. The FPU on older computers was sometimes a separate chip, the math coprocessor. Provide examples of calculations using floating-point notation.

5. REPRESENTING CHARACTERS: CHARACTER CODE CIYF 2.

Describe the purpose of a character code as the translator between the numerical world of computers and natural language world of humans. Teaching Tip : ASCII is pronounced ASK-ee. EBCDIC is pronounced EBB-see-dic. a. Review the most widely used character code, the American Standard Code for Information Interchange (ASCII). Identify which computers are likely to use Extended Binary Coded Decimal Interchange Code (EBCDIC). Using Figure 2. as a guide, discuss the characters ASCII and EBCDIC use and the problems encountered with extended character sets. b. Define Unicode and explain why some languages are not represented by Unicode. c. Define a parity bit. Explain odd parity , even parity , parity error , and parity checking , discussing the importance of each.

Chapter 2 Lecture Notes Arithmetic operations include the usual grade-school calculations, including addition, subtraction, multiplication, and division. Logical operations involve comparing two data items to see which one is larger or smaller. Objective: Explain the characteristics that determine a microprocessor’s performance. Factors that affect a microprocessor’s performance include the data bus width (how many bits it can process at once), and the number of operations the chip can execute per clock cycle. Also important is the speed and amount of cache memory. Objective: List the various types of memory found in a computer system and explain the purpose of each. A computer’s memory includes several different components, each of which uses a memory technology appropriate to its purpose. The computer’s main memory, random-access memory (RAM), uses high-speed but volatile dynamic RAM chips, which require power in order to operate correctly. Read-only memory (ROM) uses a type of nonvolatile memory, called flash memory, which can be altered should an upgrade be required. The computer’s configuration settings are stored in CMOS, a volatile memory that is powered by its own, on-board battery. Included within the microprocessor is a small amount of primary cache memory, which operates at very high speeds and keeps frequently accessed data available to the processor. Processor performance is greatly enhanced through the use of secondary cache memory, which is usually provided on a separate set of chips kept in close proximity to the microprocessor. Objective: Describe the various physical connectors on the exterior of the system unit and explain their use. To use a computer system, you need to know how to hook up the computer’s external components to the connectors on the outside of the case. Almost all computers have serial ports (for mice, external modems, and some printers), parallel ports (mainly for printers), and a video port. Some computers also have a SCSI port (for SCSI devices such as scanners), a USB port (for USB peripherals, including USB digital cameras and USB printers), a 1394 (FireWire) port (for FireWire peripherals), an IrDA port (for infrared keyboards and mice), input and output jacks for microphones and speakers, a telephone connector, or a network connector. To use a computer system, you need to know how to hook up the computer’s external components to the connectors on the outside of the case. Objective: Differentiate between analog and digital methods of representing data and explain the advantages and disadvantages of each. Analog computers measure, whereas digital computers count. Analog computers provide a quick, rough-and-ready measurement of a fluctuating quantity. Digital computers can perform calculations and move data with a very low probability of error.