Docsity

CPSC 2105: Introduction to Computer Organization - Spring 2007, Study notes of Computer Architecture and Organization

Toggle sidebar
bg1
CPSC 2105 – Introduction to Computer Organization
Spring Semester 2007
Instructor
Dr. Edward L. Bosworth
Center for Commerce and Technology, Room 443
(706) 565 – 4128
Homepage: http://csc.colstate.edu/bosworth/
Office Hours – Spring 2007
Monday 2:00 PM – 4:00 PM
6:00 PM – 7:00 PM
Tuesday 11:00 AM – 12:00 Noon
Wednesday 10:00 AM – 12:00 Noon
2:00 PM – 4:00 PM
Thursday 8:30 AM – 10:30 AM
Friday I am not in the office on Friday
Class Meetings:
Monday and Wednesday, 7:30 – 8:45 PM
Room 405 CCT (Center for Commerce and Technology)
Course Prerequisites
CPSC 1301 (Computer Science I) or graduation from the TAC/ICAPP program.
It is assumed that the student has programmed in some higher level language.
Textbooks
Required Text
The Essentials of Computer Organization and Architecture
Linda Null and Julia Lobur
Jones and Bartlett (Sudbury, MA), 2003
ISBN 0 – 7637 – 2585 – 4
Optional Reference & Supplementary Materials
How Computers Work
Ron White
Que Corporation (Macmillan Corporation), 1998
ISBN 0 – 7897 – 1728 – X
[ The Que book is an inexpensive commercial book that really is quite good.
Students should visit local book stores (Books-A-Million, Barnes & Noble, etc.) to
review a copy. As the book is not required, the CSU bookstore will not stock it. ]
Page 1 of 9 Last Revised On January 4, 2007
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download CPSC 2105: Introduction to Computer Organization - Spring 2007 and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Spring Semester 2007

Instructor Dr. Edward L. Bosworth Center for Commerce and Technology, Room 443 (706) 565 – 4128 E-Mail: [email protected] Homepage: http://csc.colstate.edu/bosworth/ Office Hours – Spring 2007 Monday 2:00 PM – 4:00 PM 6:00 PM – 7:00 PM Tuesday 11:00 AM – 12:00 Noon Wednesday 10:00 AM – 12:00 Noon 2:00 PM – 4:00 PM Thursday 8:30 AM – 10:30 AM Friday I am not in the office on Friday Class Meetings: Monday and Wednesday, 7:30 – 8:45 PM Room 405 CCT (Center for Commerce and Technology) Course Prerequisites CPSC 1301 (Computer Science I) or graduation from the TAC/ICAPP program. It is assumed that the student has programmed in some higher level language. Textbooks Required Text The Essentials of Computer Organization and Architecture Linda Null and Julia Lobur Jones and Bartlett (Sudbury, MA), 2003 ISBN 0 – 7637 – 2585 – 4 Optional Reference & Supplementary Materials How Computers Work Ron White Que Corporation (Macmillan Corporation), 1998 ISBN 0 – 7897 – 1728 – X [ The Que book is an inexpensive commercial book that really is quite good. Students should visit local book stores (Books-A-Million, Barnes & Noble, etc.) to review a copy. As the book is not required, the CSU bookstore will not stock it. ]

Course Description Overview of basic computer organization. Representation of data in computers. Brief introduction to Boolean algebra, basic logic gates, MSI components, and a Full Adder. Overview of computer arithmetic. Instruction set of a simple computer. Overview of the major software and hardware components of a typical computer, including the CPU. I/O system, memory, and system software. Interaction of the machine and computer languages including discussion of the compilation, assembly, and loading processes. Overview of the Java run-time system. Introduction to networking and the computer interface to the Internet. Course Objectives (Learning Outcomes) At the end of the course the student will be able to describe and explain the following:

  1. The top-level architecture of a computer: CPU, Memory, and I/O Component.
  2. Description of the instruction set of a simple computer.
  3. The stored program computer model and the Fetch-Execute cycle.
  4. The defining characteristics of the first four generations of computers.
  5. Different number systems: binary, octal, decimal, and hexadecimal.
  6. Integer representation in computers: two’s-complement arithmetic.
  7. Floating point representation in computers: the IEEE-754 standard.
  8. Character representation in computers: ASCII, EBCDIC, and UNICODE.
  9. The Basic Boolean functions and gates used to implement those functions.
  10. The function of simple combinational circuits: Adders, Multiplexers, Demultiplexers, Encoders, and Decoders.
  11. Computer arithmetic: Numeric Overflow and Saturation Arithmetic.
  12. Bit manipulation (as in C++) and control of I/O devices.
  13. The four basic types of flip-flops and the tables characterizing each type.
  14. The basic ideas of an instruction set, including instruction types, addressing modes, and instruction-level pipelining.
  15. The difference between RISC and CISC architectures and the advantages of each.
  16. The basic interaction of the computer memory with the CPU.
  17. The two types of computer memory: ROM and RAM.
  18. Memory hierarchy and the principles of memory access.
  19. Big-Endian and Little-Endian addressing in byte-oriented computers.
  20. Address structure of a computer disk and associated security problems.
  21. The four basic classes of I/O devices: Program-Controlled, Interrupt-Driven, Direct Memory Access, and I/O Channel.
  22. The low-level details of the interaction of a computer with the Internet, including IRQ’s, the DMA transfer, and role of the TCP program and its ports.
  23. Interaction of the various levels of computer languages: high-level languages, assembly language, and machine languages, including a discussion of compilation< assembly, and loading.
  24. The basic structure of the Java Virtual Machine, including Java byte-code.
  25. The basic role of database software, including the use of a transaction manager.

Quizzes and Exams All quizzes and exams for this course will be open-book, open-notes. Students are cautioned not to rely on reading the notes during tests to find the answers, as the questions are only rarely taken directly from previous homework or classroom discussions. There will be a final exam for the course. It will be given in class at the time scheduled for the class by the CSU Registrar: Friday, May 4 at 6:00 – 8:00 PM. There will be a short quiz every other week. Typically it will be scheduled for the Wednesday class time and cover only the material since the last quiz. The first quiz is scheduled for Wednesday, January 24 and will cover all material from the start of the course. Depending on experience with the weekly short quizzes, the course may or may not include a mid–term exam. If a mid–term exam is given, it will be scheduled for either February 19 or February 21 and count as three weekly quizzes. Homework Policy All homework is due at the beginning of the class on the day assigned. Homework handed in after the start of class will be considered to be late. Due to the structure of the class, late homework cannot be accepted, except in very unusual circumstances. Methods for Evaluating Students The evaluation methods will include homework, a laboratory experience, a mid-term exam, and a final exam, and a simple term project. The relative grading is shown below. Homework 15% Weekly quizzes 40% Laboratory Work 15% Final Exam 30% Friday, May 4 at 6:00 – 8:00 PM. Assignment of Letter Grades The method of assigning letter grades based on overall course averages is fairly standard. The basic method is described as follows: A 90 – 100 D 55 – 69 B 80 – 89 F Below 55 C 70 – 79

Typical Course Schedule The course CPSC2105 (Computer Organization) will cover the following topics in approximately this order. Introduction Historical and technical development of the digital computer Basic terminology and components of a digital computer Abstract–Level View of Digital Computers Data Representation Number Systems Conversion between Number Systems Decimal Numbers: Terminating and Non-Terminating Introduction to Binary Addition Signed and Unsigned Integers Representation of Real Numbers: Normalized Numbers and IEEE- Character Codes: ASCII, EBCDIC, and Unicode Error–detection codes and error–correction codes. Boolean Algebra and Digital Logic Basic Logic Gates: AND, OR, NOT, and XOR Truth Tables Digital Components and Their Association with Boolean Algebra. Simple Combinational Circuits and Their Association with Boolean Algebra. Sample MSI (Medium Scale Integration) Circuits Review of binary codes (unsigned integer notation) Decoders and Encoders Multiplexers and Demultiplexers Demultiplexers as Decoders Computer Arithmetic Design of a Full Adder Multiple-Bit Full Adders Arithmetic Overflow Saturation Arithmetic Bitwise Logical Operations on Integers

The Memory System Levels of Memory – Several Approaches Access Time for a Multi-Level Memory Random Access Memory: RAM and ROM Registers Associated with the Memory System Memory Organization: Bits, Bytes, Words, and Long Words Address Space and Physical Memory Byte Addressed Machines: Big-Endian and Little-Endian Addressing Segment/Offset Addressing Near and Far Pointers Impact of Memory on Algorithm Development: the Z-Buffer Algorithm Input / Output Design Issues Structures for the I/O System I/O Primitives for Isolated I/O and Memory-Mapped I/O Privileged Instructions as the Context for I/O Strategies Program-Controlled I/O Interrupt-Driven I/O Direct Memory Access and I/O Channels Vectored Interrupts and IRQ’s on the Intel 80386 CPU Subroutine Linkage and Stacks Subroutine Linkage: Static and Dynamic Memory Allocation Stack-Based Linkage and Recursion Stack Smashing System Software An overview of the operating system Protected Environments: Virtual Machines and Partitions. Database Software and Management of Database Transactions. The Java Virtual Machine. Communications and the Internet Low-Level I/O, TCP Sockets, and TCP Ports Network Protocols: ISO/OSI and TCP/IP Network Organization. Other Topics Flynn’s Taxonomy of Multi–Processors Parallel and Multi–Processor Architectures Other “Non–Von” Architectures.

Other Course Policies

Attendance Policy I do not take roll, but believe that it is important for students to attend class regularly. If you find it necessary to miss one or more classes, you are still responsible for all material covered in the class, and for submitting the homework on time (prior to the start of class). Students absent without excuse on a day that homework is due will get a 0 (zero) on that homework assignment, unless it is submitted in a timely fashion. Any student absent without excuse on a day when he or she is called to present a homework solution to the class will receive a 0 (zero) for that presentation. Students should notify me in advance of expected class absences to avoid penalties on homework due on the date you miss. Excuses will be granted after the absence only for cases of medical emergencies at the like, as defined in CSU policy. For more information on class attendance and withdrawal, refer to http://aa.colstate.edu/advising/a.htm#Attendance%20Policy. Parking Parking is a problem at CSU; for this we apologize. It is the student’s responsibility to arrive at class on-time and submit any homework before the beginning of class. ADA Accommodation Notice If you have a documented disability as described by the Rehabilitation Act of 1973 (P.L. 933-112 Section 504) and the Americans with Disability Act (ADA) that may require you to need assistance attaining accessibility to instructional content to meet course requirements, we recommend that you contact the Center for Academic Support in Tucker Hall, room 100 or at (706)568-2330, as soon as possible. It is then your responsibility to contact and meet with the instructor. It is also your responsibility to present the instructor with a letter from the Center for Academic Support. Without this letter detailing the required accommodations, the instructor cannot help you. The Center for Academic Support can assist you and the instructor in formulating a reasonable accommodation plan and provide support in developing appropriate accommodations for your disability. Course requirements will not be waived but accommodations may be made to assist you to meet the requirements. Technical support may also be available to meet your specific need. For more information on services and support available, refer to http://uc.colstate.edu/disability_services.htm.