Lec0 CSE325

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 14

CSE325

OPERATING SYSTEMS
LABORATORY
Lecture #0
The kick start session

Dr. Prakash Singh Tanwar,


Associate Professor, LPU
Course details
• LTP – 0 0 2 [Two practicals/week]
• Credit – 1
Assessment/Evaluation Scheme
• Attendance: 5%
• CAP: 45%
• ETP: 50%
Revised Bloom’s Taxonomy
Course outcomes
Through this course students should be able to:

CO1 : : Understand and Implement shell programming to do basic OS tasks.

CO2 : : Analyze various system calls in order to utilize them effectively.

CO3 : : Demonstrate various process management related tasks.

CO4 : : Develop multithreaded processes using pthread library.

CO5 : : Apply the various synchronization problems to ensure data

consistency using mutex and semaphores.

CO6 : : Analyze different inter process communication strategies.


Program Outcomes
PO1
Engineering knowledge: Apply the knowledge of mathematics, science,
engineering fundamentals, and an engineering specialization to the solution of
complex engineering problems.

PO2
Problem analysis::Identify, formulate, research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.

PO3
Design/development of solutions::Design solutions for complex engineering
problems and design system components or processes that meet the specified
needs with appropriate consideration for the public health and safety, and the
cultural, societal, and environmental considerations.

PO4
Conduct investigations of complex problems::Use research-based knowledge
and research methods including design of experiments, analysis and
interpretation of data, and synthesis of the information to provide valid
conclusions.
Program Outcomes
PO5
Modern tool usage::Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modeling to complex
engineering activities with an understanding of the limitations.

PO6
The engineer and society::Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.

PO7
Environment and sustainability::Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of,
and need for sustainable development.

PO8
Ethics::Apply ethical principles and commit to professional ethics and responsibilities
and norms of the engineering practice.

PO9
Individual and team work::Function effectively as an individual, and as a member or
leader in diverse teams, and in multidisciplinary settings.
Program Outcomes
PO10
Communication::Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and
write effective reports and design documentation, make effective presentations, and give
and receive clear instructions.

PO11
Project management and finance::Demonstrate knowledge and understanding of the
engineering, management principles and apply the same to one’s own work, as a member
or a leader in a team, manage projects efficiently in respective disciplines and
multidisciplinary environments after consideration of economic and financial factors.

PO12
Life-long learning::Recognize the need for, and have the preparation and ability to engage
in independent and life-long learning in the broadest context of technological change.

PO13
Competitive Skills::Ability to compete in national and international technical events and
building the competitive spirit alongwith having a good digital footprint.
Course contents
Introduction to Linux

 Basic Linux Commands: Is, cat, man, cd, touch, cp, mv, rmdir, mkdir, rm,

chmod, pwd

 System Calls: Read, Write, Open

 Lseek
Course contents
Shell programming

 variables

 standard input/output redirection

 shell arithmetic

 flow control and decision making


Course contents
Process creation and threading

Creating processes

Process duplication using fork()


Creating threads using pthread


Environment variables

Replacing process image using execlp



Course contents
Synchronization

 Synchronization with Mutexes

 Synchronization with semaphores

 Race Condition
Course contents
Inter-process communication

 Pipes, popen and pclose functions

 Stream pipes, passing file descriptors

 Shared memory

 Message passing

 Remote Procedure calls


Text & Reference Books
Text Books:
1. BEGINING LINUX PROGRAMMING by NEIL MATHEW & RICHARD STONES,

WILEY

References:
1. OPERATING SYSTEM CONCEPTS By ABRAHAM SILBERSCHATZ, GALVIN,
WILEY

2. UNIX CONCEPTS AND APPLICATIONS By SUMITABHA DAS, Tata Mcgraw


Hill, India

You might also like