1 / 17

Introduction and Overview

Introduction and Overview. Fall 2010 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University. Instructor: Dr. Mahnhoon Lee @ OM2841 Office hour: 12:00-13:20 @ Mon, Wed, Thur and Fri E-mail: mlee@tru.ca

Download Presentation

Introduction and Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction and Overview Fall 2010 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University

  2. Instructor: Dr. Mahnhoon Lee @ OM2841 • Office hour: 12:00-13:20 @ Mon, Wed, Thur and Fri • E-mail: mlee@tru.ca • Course web page: http://cs.tru.ca/~mlee/comp2130/ • Prerequisites: • COMP 1230 with minimum ‘C’ and • COMP 1380 with minimum ‘C’ • Prerequisite for COMP 3270 Computer Networks Introduction

  3. Rise of Questions • What is a computer system? • What is an operating system? • Which [programming] language is most powerful? • What are the benefits to take this course? Introduction

  4. Course Contents • Two parts • C programming language • Bit operations • Use of pointers • Use of struct data structure • Use of type conversion • ... • Introduction to computer systems – How does a computer work? • Von Neumann’s architecture • Do we really understand what a computer is? • Relation with operating systems, such as Windows 7 and Ubuntu Linux • ... • Use of Linux Introduction

  5. Lecture • C programming language first, and • Introduction to computer systems Introduction

  6. Seminar / Lab • Use of Linux • C programming exercises • Exercise questions about computer systems • Explanation of assignments Introduction

  7. Text Book • No textbook for C programming language • Stallings, William, Computer Organization and Architecture: Designing for Performance, 8/E, Addison-Wesley/Pearson Education, 2006 (ISBN-10: 0136073735, ISBN-13: 9780136073734) Introduction

  8. Evaluation • Projects and assignments 20% • Midterm test 30% • Final test 50% Introduction

  9. Questions? • Anything that you want to know more? • Any comment? • Any question? Introduction

  10. Announcements from the Dept • COMP 2210 Visual Program Design: Winter 2011 • A required course for the BCS program • COMP 2680 will become a prerequisite for COMP 3540 Web Site Design and Programming • New COMP 2680 will be offered in • Winter 2011 • Fall 2011 new session • Winter 2012 • Fall 2012 new session • Winter 2013, ... • New COMP 3540 will be offered in • Fall 2011 -> Winter 2012 • Fall 2012, ... Introduction

  11. Overview – Why C? • Why C? • Most system programs are written in C, not even C++, for fast execution. • The kernels of most operating systems are written in C. • Pros and cons • Fast execution -\ • Easy to handle memory - > Good for system programming • Bit operation -/ • Complex concepts of pointer, type conversion and memory allocation • How is C different from Java? Overview

  12. Overview – Why C? • How is C different from Java? Overview

  13. Overview – How a Computer Works • How does a computer look like? • Model from the view of functions: Von Neumann architecture • What happens when you turn on a computer? • Can a computer understand a program written in C? • How does a program run in a computer? Similar to Overview

  14. Overview – How a Computer Works • What happens when you turn on a computer? • Power on • -> Electric signal • -> CPU • BIOS • MBR • OS Overview

  15. Overview – How a Computer Works • Can a computer understand a program written in C or Java? • How does a program run in a computer? • A program is a collection of data and codes. • Compile and link • Load and execute • Multi-programming? Overview

  16. Overview – How a Computer Works • What hardware components do we need to run programs in a computer? • CPU • Keyboard • Mouse • Monitor • Main memory • Hard disk • ... Overview

  17. Overview – How a Computer Works • User programs write data into the main memory and read data from the main memory. It is very important to protect OS codes and data stored in the main memory from user programs. • What does this mean? • Why very important? • How to protect? • By using interrupts • The architectures of computer systems have very close relations with OSes and programs. • We will study • CPU, main memory, interrupts, instructions, and ... Overview

More Related