SlideShare a Scribd company logo
Introduction
Dr.Aboelela Abdou Abouelela
Faculty of Information Technology & Computer Science
Sinai Univeristy
North Sinai, Egypt
Abouelel.hussein@su.edu.eg
• Course Organization & Administrative
• General Information
• Course Literature
• Course Objectives
• Course Outline
• Laboratories
• Course Policy & Assignments
• Absence / Plagiarism/Cheating Policy
• What the Course is About
• Why Study Multimedia?
Outline
2
Course Organization & Administrative
Next…
• Prerequisites: CSW 242 Operating Systems (1)
• Credit Hours: 3(2+0+2)
• Text Book(s):
1. Operating System Concepts – 8th Edition, Silberschatz, Galvin and
Gagne ©2009.
• Course Website: Not up yet
Course Literature
4
• Other Useful References:
1. Operating System Concepts” by Avi Silberschatz and Peter Galvin.
2. Operating Systems: Internals and Design Principles” by William
Stallings.
3. Operating Systems: A Concept-Based Approach” by D M Dhamdhere.
4. Operating System: A Design-oriented Approach” by Charles Crowley.
5. Operating Systems: A Modern Perspective” by Gary J Nutt.
Course Literature
5
• This course will help students to achieve the following objectives:
• To provide a grand tour of the major operating systems components „To
provide coverage of basic computer system organization
Course Objectives
6
• The following is an outline for the course, subject to alteration as the
semester proceeds.
• Introduction
Course Outline
7
• Lab activity will be use C & Java Programming Languages to learn:
1. Permissions-Bourne-Again Shell(BASH)
2. Script using C Syntax in BASH
3. Script and Commands
4. Threading using Java
• Student must read / do Pre-Lab before come to the laboratory.
• Lab will be asses based on the report + Task of Day
• There will be a lab assessment/ lab test – purpose to test student skill –
individual.
Laboratory Activities
8
• This course shall include the following schedule of labs:
Laboratory Activities
9
• Your lab book is the primary record of your work and data.
• What you did. How you did it (e.g. C code).
• How you apply the algorithm.
• What you observed.
• Answers to questions and justifications for your answers.
Lab Books
10
• The lab report should present what you did in the lab, or some aspect of
what you did as long as it encompasses the main theme of the lab. The
reports should have the following characteristics and components:
• Typed or printed.
• Short report (12pts font, max 3 pages single space, but shorter is better).
• Structured with an introduction, a main body, and a conclusion.
• Measurement data should be included in tables and plots.
• All data should be analyzed and interpreted.
• Important measured numbers should include a justified error bar.
• All figures should be labeled, numbered, and referred to in the text.
Lab Reports
11
• Students will be assessed using exams, quizzes, written or programming
assignments, and/or project work.
• Evaluation and Grading:
• Grade Scale:
• The usual 10-point scale will apply (subject to any curve). A final average of 90%
will guarantee an A-, 80% will guarantee a B-, and so forth.
Assessment Activities
Item weight
Homework Assignments and Quizzes 10%
Midterm Exam 20%
Laboratory 10%
Final Exam 60%
12
Curve
A grade curve may or may not be employed
in this course. The application of a curve is
dependent upon class performance on tests,
projects and homework. The decision to
utilize a curve rests entirely with the course
instructor.
• Can be done individually
• We will suggest possible projects (see course web page)
• Output: workshop quality research paper (4-5 pages)
• Even better: conference quality paper
• Use the template on course Moodle page
• All reports will be published as tech-report
• We will help you get there --- multiple milestones:
• And meetings with TA/instructor
Class Project
13
• Late assignments will receive a 10% penalty per day* unless a Doctor's
note is provided.
* Fridays count as late days as well
Late Policy
14
• Midterm Test
• There will a 1 hour midterm test.
• Final Exam
• There will be a final exam covering all course materials.
• No Makeup Exam
Exams
15
Course Policy & Assignments
• Exams will be a combination of the materials presented in
• the lectures and
• homework problems.
• Weekly homework assignments
• Homework must be done individually
• Submissions by Email are not allowed.
• I am unlikely to accept the following excuses:
• “Too busy”
• “It took longer than I thought it would take”
• “It was harder than I initially thought”
• “My dog ate my homework” and modern variants thereof
16
• Class attendance will be taken in each lecture.
• Students that exceed class absences (25% of lectures) are being
considered dropped from the course and prevented from entering the
final exam.
• There will be no makeup exams; students must instead make
arrangements with the instructor to take the exam prior to the planned
absence.
Attendance/Absence Policy
17
• What is Plagiarism: “using another person's ideas or creative work
without giving credit to that person”.
• Copying and pasting another student's code
• Leaving your computer logged in where another student can access it
• Giving your code to another student
• Attempting to buy code online
• This will result in an immediate F in the class
Plagiarism/Cheating Policy
18
• C & java Language Help
• Texts from earlier courses or books (Stroustrup, Dale, etc.)
• Course Lab Manual
• Lecture Instruction
• Lectures will consist of presentations, applications, problems and
solutions interspersed with classroom discussion.
• Supportive library materials will be provided in class.
Supportive Library Materials
19
• The technologies keep evolving, and the course materials need to be
updated correspondingly
• Please advise where I can improve after each lecturer, at the discussion.
Your Feedbacks Are Important
20
What the Course is About
Next…
OS as Resource Manager
 OS must manage CPU, memory, network, disk etc…
 Resource management
 allows multiple apps to share resources
 protects apps from each other
 Improves performance by efficient utilization of resources
Operating Systems Types
Application Specific
 Embedded OS: is a specialized operating system designed to perform a specific task for a device that
is not a computer.
 eg. Contiki OS: is an operating system for networked, memory-constrained systems with a focus on
low-power wireless Internet of Things devices.(for extremely memory constraint environments)
 Mobile OS
 Android, iOS, Ubuntu Touch, Windows Touch
 RTOS: A real-time operating system is a software component that rapidly switches between tasks,
giving the impression that multiple programs are being executed at the same time on a single
processing core.
 QNX, VxWorks, RTLinux
 Secure Environments
 SeLinux, SeL4
 For Servers
 Redhat, Ubuntu, Windows Server
 Desktops
 Mac OS, Windows, Ubuntu(With a built-in firewall and virus protection software)
Multiprogramming
 Multiple jobs in memory
 When one waits for I/O the next job executes
 OS controls
 scheduling of jobs
 Protection between jobs
Multiprogramming with
3 jobs in memory
Memory
partitions
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
Introduction.pptx
First-Come, First-Served (FCFS) Scheduling
Process Burst Time
P1 24
P2 3
P3 3
Suppose that the processes arrive in the order: P1 , P2 , P3
The Gantt Chart for the schedule is:
Waiting time for P1 = 0; P2 = 24; P3 = 27
Average waiting time: (0 + 24 + 27)/3 = 17
P1 P2 P3
24 27 30
0
FCFS Scheduling (Cont.)
Suppose that the processes arrive in the order
P2 , P3 , P1
The Gantt chart for the schedule is:
Waiting time for P1 = 6; P2 = 0; P3 = 3
Average waiting time: (6 + 0 + 3)/3 = 3
Much better than previous case
Convoy effect short process behind long process
P1
P3
P2
6
3 30
0
Shortest-Job-First (SJF) Scheduling
Associate with each process the length of its next CPU burst. Use these
lengths to schedule the process with the shortest time
Two schemes:
• nonpreemptive – once CPU given to the process it cannot be preempted until
completes its CPU burst
• preemptive – if a new process arrives with CPU burst length less than remaining
time of current executing process, preempt. This scheme is know as the
Shortest-Remaining-Time-First (SRTF)
SJF is optimal – gives minimum average waiting time for a given set of
processes
Example of Non-Preemptive SJF
Process Arrival Time Burst Time
P1 0.0 7
P2 2.0 4
P3 4.0 1
P4 5.0 4
SJF (non-preemptive)
Average waiting time = (0 + 6 + 3 + 7)/4 = 4
P1 P3 P2
7
3 16
0
P4
8 12
Example of Preemptive SJF
Process Arrival Time Burst Time
P1 0.0 7
P2 2.0 4
P3 4.0 1
P4 5.0 4
SJF (preemptive)
Average waiting time = (9 + 1 + 0 +2)/4 = 3
P1 P3
P2
4
2 11
0
P4
5 7
P2 P1
16
Round Robin (RR)
Each process gets a small unit of CPU time (time quantum), usually 10-100
milliseconds. After this time has elapsed, the process is preempted and added
to the end of the ready queue.
If there are n processes in the ready queue and the time quantum is q, then
each process gets 1/n of the CPU time in chunks of at most q time units at
once. No process waits more than (n-1)q time units.
Performance
q large  FIFO
q small  q must be large with respect to context switch, otherwise overhead is too
high
Example of RR with Time Quantum = 20
Process Burst Time
P1 53
P2 17
P3 68
P4 24
The Gantt chart is:
Typically, higher average turnaround than SJF, but better
response
P1 P2 P3 P4 P1 P3 P4 P1 P3 P3
0 20 37 57 77 97 117 121 134 154 162
45

More Related Content

PDF
B.tech.cse r15 regulations_3rd-4th_year-course_structure_and_syllabus
PPTX
PDF
OPERATING SYSTEMS NOTES R18 .pdf
PDF
CS311-Lec1.pdfCS311-Lec1.pdfCS311-Lec1.pdf
PDF
M.c.a. (sem ii) operating systems
PPT
1-Introduction madul include all the.ppt
PPT
1-Introduction to the first OS topic for
PPTX
Lecture 1.pptx cs field hacing info on machine learning
B.tech.cse r15 regulations_3rd-4th_year-course_structure_and_syllabus
OPERATING SYSTEMS NOTES R18 .pdf
CS311-Lec1.pdfCS311-Lec1.pdfCS311-Lec1.pdf
M.c.a. (sem ii) operating systems
1-Introduction madul include all the.ppt
1-Introduction to the first OS topic for
Lecture 1.pptx cs field hacing info on machine learning

Similar to Introduction.pptx (20)

PDF
Presenter manual embedded systems (specially for summer interns)
PPTX
1151EC217 - EMBEDDED OS AND DEVICE DRIVERS.pptx
PPTX
Chapter 1 - Operating Systems Introduction.pptx
PDF
PPTX
Lecture1.pptx
DOC
OS course Outilne 2021.doc
PPT
Introduction to Operating system
PDF
Unit 4
PPTX
Operating Systems Chaptebhhhr 2 (1).pptx
PPTX
Operating systems
DOCX
OS LAB MANUAL TO PRINT operating systems
PPTX
Process and threads
PPTX
OPERATING SYSTEM PPT ON INTRODUCTION AND BASICS
PPT
what is operating system . introduction to OS
PPT
Unit I OS CS.ppt
PDF
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
PPT
Operating system lecture1
PPTX
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
PDF
Operating System / System Operasi
Presenter manual embedded systems (specially for summer interns)
1151EC217 - EMBEDDED OS AND DEVICE DRIVERS.pptx
Chapter 1 - Operating Systems Introduction.pptx
Lecture1.pptx
OS course Outilne 2021.doc
Introduction to Operating system
Unit 4
Operating Systems Chaptebhhhr 2 (1).pptx
Operating systems
OS LAB MANUAL TO PRINT operating systems
Process and threads
OPERATING SYSTEM PPT ON INTRODUCTION AND BASICS
what is operating system . introduction to OS
Unit I OS CS.ppt
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
Operating system lecture1
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
Operating System / System Operasi
Ad

More from Samar954063 (6)

PPT
CATalkOnline.ppt
PPTX
Total Quality Management-Samar.pptx
PDF
05softwarequalitymanagement-150802165244-lva1-app6891.pdf
PDF
05softwarequalitymanagement-150802165244-lva1-app6891 (2).pdf
PPTX
Lecture1-OS.pptx
PPTX
File system1.pptx
CATalkOnline.ppt
Total Quality Management-Samar.pptx
05softwarequalitymanagement-150802165244-lva1-app6891.pdf
05softwarequalitymanagement-150802165244-lva1-app6891 (2).pdf
Lecture1-OS.pptx
File system1.pptx
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Hybrid model detection and classification of lung cancer
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
STKI Israel Market Study 2025 version august
NewMind AI Weekly Chronicles - August'25-Week II
A contest of sentiment analysis: k-nearest neighbor versus neural network
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Getting started with AI Agents and Multi-Agent Systems
NewMind AI Weekly Chronicles – August ’25 Week III
Group 1 Presentation -Planning and Decision Making .pptx
Tartificialntelligence_presentation.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
TLE Review Electricity (Electricity).pptx
Zenith AI: Advanced Artificial Intelligence
O2C Customer Invoices to Receipt V15A.pptx
WOOl fibre morphology and structure.pdf for textiles
DP Operators-handbook-extract for the Mautical Institute
Hybrid model detection and classification of lung cancer
Univ-Connecticut-ChatGPT-Presentaion.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
A comparative study of natural language inference in Swahili using monolingua...
STKI Israel Market Study 2025 version august

Introduction.pptx

  • 1. Introduction Dr.Aboelela Abdou Abouelela Faculty of Information Technology & Computer Science Sinai Univeristy North Sinai, Egypt Abouelel.hussein@su.edu.eg
  • 2. • Course Organization & Administrative • General Information • Course Literature • Course Objectives • Course Outline • Laboratories • Course Policy & Assignments • Absence / Plagiarism/Cheating Policy • What the Course is About • Why Study Multimedia? Outline 2
  • 3. Course Organization & Administrative Next…
  • 4. • Prerequisites: CSW 242 Operating Systems (1) • Credit Hours: 3(2+0+2) • Text Book(s): 1. Operating System Concepts – 8th Edition, Silberschatz, Galvin and Gagne ©2009. • Course Website: Not up yet Course Literature 4
  • 5. • Other Useful References: 1. Operating System Concepts” by Avi Silberschatz and Peter Galvin. 2. Operating Systems: Internals and Design Principles” by William Stallings. 3. Operating Systems: A Concept-Based Approach” by D M Dhamdhere. 4. Operating System: A Design-oriented Approach” by Charles Crowley. 5. Operating Systems: A Modern Perspective” by Gary J Nutt. Course Literature 5
  • 6. • This course will help students to achieve the following objectives: • To provide a grand tour of the major operating systems components „To provide coverage of basic computer system organization Course Objectives 6
  • 7. • The following is an outline for the course, subject to alteration as the semester proceeds. • Introduction Course Outline 7
  • 8. • Lab activity will be use C & Java Programming Languages to learn: 1. Permissions-Bourne-Again Shell(BASH) 2. Script using C Syntax in BASH 3. Script and Commands 4. Threading using Java • Student must read / do Pre-Lab before come to the laboratory. • Lab will be asses based on the report + Task of Day • There will be a lab assessment/ lab test – purpose to test student skill – individual. Laboratory Activities 8
  • 9. • This course shall include the following schedule of labs: Laboratory Activities 9
  • 10. • Your lab book is the primary record of your work and data. • What you did. How you did it (e.g. C code). • How you apply the algorithm. • What you observed. • Answers to questions and justifications for your answers. Lab Books 10
  • 11. • The lab report should present what you did in the lab, or some aspect of what you did as long as it encompasses the main theme of the lab. The reports should have the following characteristics and components: • Typed or printed. • Short report (12pts font, max 3 pages single space, but shorter is better). • Structured with an introduction, a main body, and a conclusion. • Measurement data should be included in tables and plots. • All data should be analyzed and interpreted. • Important measured numbers should include a justified error bar. • All figures should be labeled, numbered, and referred to in the text. Lab Reports 11
  • 12. • Students will be assessed using exams, quizzes, written or programming assignments, and/or project work. • Evaluation and Grading: • Grade Scale: • The usual 10-point scale will apply (subject to any curve). A final average of 90% will guarantee an A-, 80% will guarantee a B-, and so forth. Assessment Activities Item weight Homework Assignments and Quizzes 10% Midterm Exam 20% Laboratory 10% Final Exam 60% 12 Curve A grade curve may or may not be employed in this course. The application of a curve is dependent upon class performance on tests, projects and homework. The decision to utilize a curve rests entirely with the course instructor.
  • 13. • Can be done individually • We will suggest possible projects (see course web page) • Output: workshop quality research paper (4-5 pages) • Even better: conference quality paper • Use the template on course Moodle page • All reports will be published as tech-report • We will help you get there --- multiple milestones: • And meetings with TA/instructor Class Project 13
  • 14. • Late assignments will receive a 10% penalty per day* unless a Doctor's note is provided. * Fridays count as late days as well Late Policy 14
  • 15. • Midterm Test • There will a 1 hour midterm test. • Final Exam • There will be a final exam covering all course materials. • No Makeup Exam Exams 15
  • 16. Course Policy & Assignments • Exams will be a combination of the materials presented in • the lectures and • homework problems. • Weekly homework assignments • Homework must be done individually • Submissions by Email are not allowed. • I am unlikely to accept the following excuses: • “Too busy” • “It took longer than I thought it would take” • “It was harder than I initially thought” • “My dog ate my homework” and modern variants thereof 16
  • 17. • Class attendance will be taken in each lecture. • Students that exceed class absences (25% of lectures) are being considered dropped from the course and prevented from entering the final exam. • There will be no makeup exams; students must instead make arrangements with the instructor to take the exam prior to the planned absence. Attendance/Absence Policy 17
  • 18. • What is Plagiarism: “using another person's ideas or creative work without giving credit to that person”. • Copying and pasting another student's code • Leaving your computer logged in where another student can access it • Giving your code to another student • Attempting to buy code online • This will result in an immediate F in the class Plagiarism/Cheating Policy 18
  • 19. • C & java Language Help • Texts from earlier courses or books (Stroustrup, Dale, etc.) • Course Lab Manual • Lecture Instruction • Lectures will consist of presentations, applications, problems and solutions interspersed with classroom discussion. • Supportive library materials will be provided in class. Supportive Library Materials 19
  • 20. • The technologies keep evolving, and the course materials need to be updated correspondingly • Please advise where I can improve after each lecturer, at the discussion. Your Feedbacks Are Important 20
  • 21. What the Course is About Next…
  • 22. OS as Resource Manager  OS must manage CPU, memory, network, disk etc…  Resource management  allows multiple apps to share resources  protects apps from each other  Improves performance by efficient utilization of resources
  • 23. Operating Systems Types Application Specific  Embedded OS: is a specialized operating system designed to perform a specific task for a device that is not a computer.  eg. Contiki OS: is an operating system for networked, memory-constrained systems with a focus on low-power wireless Internet of Things devices.(for extremely memory constraint environments)  Mobile OS  Android, iOS, Ubuntu Touch, Windows Touch  RTOS: A real-time operating system is a software component that rapidly switches between tasks, giving the impression that multiple programs are being executed at the same time on a single processing core.  QNX, VxWorks, RTLinux  Secure Environments  SeLinux, SeL4  For Servers  Redhat, Ubuntu, Windows Server  Desktops  Mac OS, Windows, Ubuntu(With a built-in firewall and virus protection software)
  • 24. Multiprogramming  Multiple jobs in memory  When one waits for I/O the next job executes  OS controls  scheduling of jobs  Protection between jobs Multiprogramming with 3 jobs in memory Memory partitions
  • 38. First-Come, First-Served (FCFS) Scheduling Process Burst Time P1 24 P2 3 P3 3 Suppose that the processes arrive in the order: P1 , P2 , P3 The Gantt Chart for the schedule is: Waiting time for P1 = 0; P2 = 24; P3 = 27 Average waiting time: (0 + 24 + 27)/3 = 17 P1 P2 P3 24 27 30 0
  • 39. FCFS Scheduling (Cont.) Suppose that the processes arrive in the order P2 , P3 , P1 The Gantt chart for the schedule is: Waiting time for P1 = 6; P2 = 0; P3 = 3 Average waiting time: (6 + 0 + 3)/3 = 3 Much better than previous case Convoy effect short process behind long process P1 P3 P2 6 3 30 0
  • 40. Shortest-Job-First (SJF) Scheduling Associate with each process the length of its next CPU burst. Use these lengths to schedule the process with the shortest time Two schemes: • nonpreemptive – once CPU given to the process it cannot be preempted until completes its CPU burst • preemptive – if a new process arrives with CPU burst length less than remaining time of current executing process, preempt. This scheme is know as the Shortest-Remaining-Time-First (SRTF) SJF is optimal – gives minimum average waiting time for a given set of processes
  • 41. Example of Non-Preemptive SJF Process Arrival Time Burst Time P1 0.0 7 P2 2.0 4 P3 4.0 1 P4 5.0 4 SJF (non-preemptive) Average waiting time = (0 + 6 + 3 + 7)/4 = 4 P1 P3 P2 7 3 16 0 P4 8 12
  • 42. Example of Preemptive SJF Process Arrival Time Burst Time P1 0.0 7 P2 2.0 4 P3 4.0 1 P4 5.0 4 SJF (preemptive) Average waiting time = (9 + 1 + 0 +2)/4 = 3 P1 P3 P2 4 2 11 0 P4 5 7 P2 P1 16
  • 43. Round Robin (RR) Each process gets a small unit of CPU time (time quantum), usually 10-100 milliseconds. After this time has elapsed, the process is preempted and added to the end of the ready queue. If there are n processes in the ready queue and the time quantum is q, then each process gets 1/n of the CPU time in chunks of at most q time units at once. No process waits more than (n-1)q time units. Performance q large  FIFO q small  q must be large with respect to context switch, otherwise overhead is too high
  • 44. Example of RR with Time Quantum = 20 Process Burst Time P1 53 P2 17 P3 68 P4 24 The Gantt chart is: Typically, higher average turnaround than SJF, but better response P1 P2 P3 P4 P1 P3 P4 P1 P3 P3 0 20 37 57 77 97 117 121 134 154 162
  • 45. 45

Editor's Notes