Lecture 1
Lecture 1
Class Roll
My first chance to learn who you are
Everyone will be accepted into the course
Anyone not on roll: print your name and
PID on the last page
Questionnaire
Please turn them in
Teaching Assistants
Joshua Stough [email protected]
Office 349 Sitterson 962-1975
Hours: Tues 1-2:30, Friday 3:30-5
Fang-Yi Tsai
[email protected]
Office 041 Sitterson 962-1916
Office hours will be posted on website
4
Class Schedule
Textbook
Chapters 6, 7, 8
9
Course webpage
Visit it every day for current info,
announcements, lecture notes, etc.
www.cs.unc.edu (dept home page)
12
Non-programming assignments
Turn them in on their due date at the start of
class on paper
Collaboration is strongly encouraged, but
each person must understand what he turns in
13
Programming Assignments
Start early.never wait until night before
14
Programming assignments
Do them in any campus computer lab, or
machines
Download it onto your own machine as
Programming Assignments
Comp Sci dept has two computing labs,
SN 019 and SN 030, not sure yet what
their status is for Comp 120
16
Programming assignments
Programming assignments
I emphasize:
Clarity -- must be understandable to human
Simplicity -- no payoff for being cute
Computer efficiency rarely important
Program short length rarely important
18
19
22
Principles endure
Details change to increase speed and capacity
My personal story
23
definition things)
24
25
What is computer?
Any ideas?
26
A computer has..
Four basic parts
Computer Memory
28
Data path
Control
Part of the Central Processing Unit (CPU)
Memory
Input devices
Output devices
29
30
Principle of Abstraction
language exactly
ISA is the interface between the machine
35
in software
Bad News: Sacrifice speed enhancements
software.
36
three operands
two operators
38
40
41
Motherboard
42
Processor
Pentium III Xeon
43
Memory
RAM
DRAM
SRAM
ROM
Volatile / Non-Volatile
Magnetic
44
Hard Drive
45
Cathode
Deflection plates
Electron Beam
Mouse
47
End of Lecture 1
48