COSS - Contact Session1
COSS - Contact Session1
Software Systems
Contact Session 1
Module 1 Dr. Lucy J. Gudino
Introduction to Computer Systems
Team
Instructors:
• Dr. Lucy J Gudino ( IC)
• Prof. Pradeep H K
Teaching Assistants:
• VAIBHAV JAIN (Lead TA)
• Usha Govindaiah
• H. Madhusudan Rao
• Selva Kumar S
• KADAM BHUSHAN VINAYAK
• H P Srinivasa
Introduction
SEM SEM
IV COSS II
SEM
III
Introduction
Hardware Data
Software
Reference Books:
(R1) Patterson, David A & J L Hennenssy, Computer Organization and Design –
The Hardware/Software Interface, Elsevier, 5th Ed., 2014.
(R2) Randal E. Bryant, David R. O’Hallaron, Computer Systems – A Programmer’s
Perspective, Pearson, 3rd Ed, 2016.
(R3)Tanenbaum, Modern Operating Systems: Pearson New International Edition,
Pearson Education, 2013 (Pearson Online)
(R4)Stallings, Operating Systems: Internals and Design Principles : International
Edition, Pearson Education, 2013 (Pearson Online)
Evaluation Scheme
• 5 unit course.
Sl Evaluation Weightage % Nature of
No. Component Component
1 Mid Sem Exam 30% OB
2 Comprehensive 40% OB
Examination
3 Quiz 5% (Two quizzes OB
– Best of two)
4 Assignments 25% OB
Assignments
• Two assignments:
• One pre-midsem exam : 12%
• One post-midsem : 13%
• Lab based
• Simulator to be used : CPU-OS simulator
• Open source tool https://drive.google.com/open?id=12YUK52RQ-
JhP0ddj6CD_oifW4sTMbsBl
• Virtual lab (Platifi)
Assignment should not be
General Instructions
1. Always use note book for writing important points and for solving
problems
2. Use chat box for writing subject related questions
3. Do not repeat the questions on chat box. Questions will be answered
during last 10 minutes of the session
4. Unanswered questions will be put up on the canvas forum
Today’s Session
• Is a programmable device
Reg
A X1
B
X2
C
Instruction Cycle - State Diagram
Memory Hierarchy
Role of Cache Memory
Operating System
• collection of software/ Program that acts as an intermediary between an user of
a computer and the computer hardware.
• is a program that helps to run all the other programs
• Three main functions:
• Resource management
• Establish an user interface
• Execute and provide services for application software
Main objectives
• Convenience
• Efficiency
• Ability to evolve and offer new services
• Maximize System performance
• Protection and access control
• Footprint of OS should be small
Important Note
• bootstrap program is loaded at power-up or reboot
• Typically stored in ROM or EPROM, generally known as firmware
• Initializes all aspects of system
• Loads operating system kernel and starts execution
• “The one program running at all times on the computer” is the kernel.
Everything else is either a system program (ships with the operating
system) or an application program
Operating System Operations
• Dual-mode operation
• User mode
• Kernel mode ( also known as System Mode / Supervisor mode/
privileged mode )
• User mode(1):
• user program executes in user mode
• certain areas of memory are protected from user access
• certain privileged instructions may not be executed
• Kernel Mode (0)
• privileged instructions may be executed
• protected areas of memory may be accessed
Transition from user to kernel mode
Running a Hello.c Program
Reading ./hello command from Keyboard
Loading the executable from disk into main memory
Writing the output string from memory to the
display
Why do we need to know how compilation works?
• Optimizing program performance.
• Understanding link-time errors
• Avoiding security holes.
Lab Activity
Contd…
Contd…
Thank you!