Skip to main content
  1. Resources/
  2. Study Materials/
  3. Information Technology Engineering/
  4. IT Semester 3/
  5. Linux Operating System (4331602)/

·
Milav Dabgar
Author
Milav Dabgar
Experienced lecturer in the electrical and electronic manufacturing industry. Skilled in Embedded Systems, Image Processing, Data Science, MATLAB, Python, STM32. Strong education professional with a Master’s degree in Communication Systems Engineering from L.D. College of Engineering - Ahmedabad.
Table of Contents

GUJARAT TECHNOLOGICAL UNIVERSITY (GTU)
#

Competency-focused Outcome-based Green Curriculum-2022 (COGC-2022)
#

Semester-III
#

Course Title: Linux Operating System
#

(Course Code: 4331602)

Diploma programme in which this course is offeredSemester in which offered
Information TechnologyThird

1. RATIONALE
#

An operating system is a program that interacts with the user and the computer hardware and controls the execution of all kinds of programs. This course makes students to understand importance of Operating System and Linux distributions, its functionalities to manage resources, Linux program development and its execution. After learning this course, students will be able to classify various types of operating systems and made aware of process and file management with emphasis given to Linux type of Open Source Operating System and its security features.

2. COMPETENCY
#

The course content should be taught and implemented with the aim to develop different types of skills so that students are able to acquire following competency:

 Perform Linux shell scripts for resource management in Operating System.
#

3. COURSE OUTCOMES (COs)
#

The practical exercises, the underpinning knowledge and the relevant soft skills associated with the identified competency are to be developed in the student for the achievement of the following COs:

  • a) Differentiate various operating systems & explain Linux Operating System.
  • b) Illustrate various aspects of process, process scheduling and deadlock management.
  • c) Understand various file management and file allocation techniques.
  • d) Justify the need of security and protection mechanism in Operating System.
  • e) Perform various Linux command and develop shell scripts.

4. TEACHING AND EXAMINATION SCHEME
#

Teaching SchemeTeaching SchemeTeaching SchemeTotal CreditsExamination SchemeExamination SchemeExamination SchemeExamination SchemeExamination Scheme
(In Hours)(In Hours)(In Hours)(L+T+P/2)Theory MarksTheory MarksPractical MarksPractical MarksTotal
LTPCCAESECAESEMarks
302430*702525150

(*):Out of 30 marks under the theory CA, 10 marks are for assessment of the presentation to facilitate integration of COs and the remaining 20 marks is the average of the tests to be taken during the semester for the assessing the attainment of the cognitive domain UOs required for the attainment of the COs .

Legends: L -Lecture; T - Tutorial/Teacher Guided Theory Practice; P -Practical; C - Credit, CA -Continuous Assessment; ESE -End Semester Examination.

5. SUGGESTED PRACTICAL EXERCISES
#

The following Practical Outcomes (PrOs) are the sub-components of the COs. Some of the PrOs marked ‘*’ are compulsory, as they are crucial for that particular CO at the ‘Precision Level’ of Dave’s Taxonomy related to ‘Psychomotor Domain’ .

S. No.Practical Outcomes (PrOs)Unit No.Approx. Hrs. Required
1Install & test different types of Operating System & compare its features.I02*
2Compare following process scheduling algorithm. a) First come first serve b) Round Robin c) SJF and SRTNII02*
3Test and execute Linux process commands: top, ps, kill.II02*
4Test and run basic Linux commands to perform following task: a) Display the calendar for the month in which you born. b) Display the calendar for the year 2030. c) Display the date and time of your system. d) Display the date of your system in mm/dd/yyyy format for e.g. 07/14/2030.V02*
5Test and execute Linux file and directory commands to perform following task: a) Display help for pwd command. b) Write a Linux command to clear your screen. c) Display the history of previously executed command.III & V02*
6Test and execute Linux Super User command to perform following task: a) Display the user id of the currently logged-in user of your system. b) Display host name of your system. c) Write a Linux command to display the history of logins into the system. d) Write a Linux command to display the server name. e) Execute the linux command : who, w ,lastIV & V04*
7Test and execute Linux editing file commands to perform following task: a) Write a shell script to (i) create user defined directory (ii) rename it and (iii) remove the directory b) Write a shell script to create a blank file with name ‘MyCollege.txt’ and write at least 10 lines. Display theIII &V04*
S. No.Practical Outcomes (PrOs)Unit No.Approx. Hrs. Required
8content of file. c) Write a shell script to read two different file names from the command line and copy the content of first file into second file and display suitable message on standard output. d) Write a shell script to search your name from a file and display suitable message. Test and execute wc command. a) Write a shell script to accept the string ‘diploma in information technology’ from user in lower case letter and convert it into upper case letter. Display output with suitable user-friendly message.III02
9Understand and Apply Arithmetic Operators. Write a shell script to perform arithmetic operations: a. Write a shell script to read two numbers from users and perform addition, subtraction, multiplication, division and modulus operation of two numbers and display suitable user friendly message on standard output for each operation. b. Write a shell script to read five numbers from user and find average of five numbers. c. Write a shell script to read radius (R) in cm from user and find area (A) of circle and display suitable user friendly message on standard output.V04*
10Understand and apply control statements Write a shell script to perform given operations: a) Write a shell script to find maximum number among three numbers. b) Write a shell script to find sum and average of N numbers. c) Create a shell script to reverse the digits of a given 5- digit number. (for e.g. , if the no. is 57429 then answer is 92475).V04*
28Hrs.

Note
#

More Practical Exercises can be designed and offered by the respective course teacher to develop the industry relevant skills/outcomes to match the COs. The above table is only a suggestive list .

  • i. The following are some sample ‘Process’ and ‘Product’ related skills(more may be added/deleted depending on the course)that occur in the above listed Practical Exercises of this course required which are embedded in the COs and ultimately the competency..
Sr.No.Sample Performance Indicators for the PrOsWeightage in %
1Prepare/Install experimental setup.20
2Correctness of executing Linux commands and shell scripts.20
3Follow the standard command execution practices.10
4Interpret the output and prepare document on time.15
5Presentation/Case study/Micro project presentation.35
TotalTotal100

6. MAJOR EQUIPMENT/ INSTRUMENTS REQUIRED
#

This major equipment with broad specifications for the PrOs is a guide to procure them by the administrators to user in uniformity of practical’s in all institutions across the state.

S. No.Equipment Name with Broad SpecificationsPrO.No.
1Computer with latest hardware configuration, CD/DVD reader/writer/USB drive, Source of Linux OS for Installation.1
2Linux or alike Operating System such as Ubuntu, CentOS or any other3 to 10

7. AFFECTIVE DOMAIN OUTCOMES
#

The following sample Affective Domain Outcomes (ADOs) are embedded in many of the above mentioned COs and PrOs. More could be added to fulfill the development of this course competency.

  • a) Work as a leader/a team member.
  • b) Follow ethical practices.
  • c) Give the presentation to fully understand the topic and listen to others with respect.
  • d) Understand the security and privacy of hardware & software and practice them while performing practical.

The ADOs are best developed through the laboratory/field based exercises. Moreover, the level of achievement of the ADOs according to Krathwohl’s ‘Affective Domain Taxonomy’ should gradually increase as planned below:

  • i. ‘Valuing Level’ in 1 st year
  • ii. ‘Organization Level’ in 2 nd year.
  • iii. ‘Characterization Level’ in 3 rd year.

8. UNDERPINNING THEORY
#

The major underpinning theory is given below based on the higher level UOs of Revised Bloom’s taxonomy that are formulated for development of the COs and competency. If

required, more such UOs could be included by the course teacher to focus on attainment of COs and competency.
#

UnitUnit Outcomes(UOs) (4 to 6 UOs at different levels)Topics and Sub-topics
Unit - I Operating System Basics1a. Describe the types of Operating System. 1b. Explain the importance of Operating System. 1c. Compare different types of operating system. 1d. Recognize various distribution of Linux and its features.1.1 What is Operating System? 1.2 Need of Operating System 1.3 Types of Operating System 1.4 Comparison between various Operating System 1.5 Linux Operating System 1.5.1. History of Linux 1.5.2 Features of Linux 1.5.3 Architecture of Linux 1.5.3 Components of Linux 1.5.4 Distributions of Linux
Unit - II Process management and Inter process communication2a. Describe Process Model and Process States. 2b. Compare different schedulers. 2c. Compare various scheduling algorithm based on scheduling criteria. 2d. Explain Inter process communication. 2e. Identify Deadlock condition. 2f. Determine various methods of Deadlock prevention, avoidance and recovery.2.1 Process and Process management 2.1.1 The Process Model and Process states 2.1.2 Process Control Block 2.2 Process Scheduling 2.2.1 Types of Schedulers 2.2.2 Scheduling Criteria : CPU utilization, Throughput, Turnaround Time, Waiting Time, Response Time 2.2.3 Scheduling Algorithm: First Come First Serve, Shortest Job First, Round Robin 2.3 Inter Process Communication 2.3.1 Critical Section 2.3.2 Semaphore 2.3.3 Race condition 2.3.4 Mutual Exclusion 2.4 Deadlock 2.4.1 Deadlock characteristics 2.4.2 Deadlock Prevention 2.4.3 Deadlock Avoidance 2.4.4 Deadlock Detection and Recovery
UnitUnit Outcomes(UOs)Topics and Sub-topics
Unit- III File management and Linux file structure3a. 3b. 3c.(4 to 6 UOs at different levels) Describe the file management concepts. Differentiate between various file allocation methods. Illustrate Linux file structure. 3d. Define various Linux file system.3.1 File management 3.1.1 File Structure 3.1.2 Directory Structures 3.1.3 File Attributes and File Types 3.1.4 File Access Methods 3.1.5 File Allocation Methods (Contiguous, linked, indexed) 3.2 Linux File System 3.2.1 Linux File System Structure 3.2.2 Linux File System Features 3.2.3 Types of Linux File System
Unit-IV Security and Protection4a. 4b. 4c.Justify the need of security measures in operating system. Identify various program threats and system threats in operating system. Justify the needs of protection 4d. Summarize various protectionmechanism in operating system. 4.1 Security in Operating system 4.1.1 Security measures in Operating System 4.1.2 System Authentication 4.1.3 Program threats 4.1.4 System threats 4.1.5 Operating System security policies and procedures
Unit V- Linux commands and shell programming5a. 5b. 5c. 5d. commands in Linux.Install free and open source software/operating system. Perform basic editor commands in Linux. Perform super user commands in Linux. Perform process management4.2.2 Protection Domain, Access Control List 5.1 Installation of Linux Operating System 5.2 Basic commands: calendar, date etc. 5.3 Editing files with ‘vi’, ‘vim’, ‘gedit’, ‘gcc’ 5.4 Linux Super user commands : su, loginname, exit, whoami, hostname,

9. SUGGESTED SPECIFICATION TABLE FOR QUESTIONPAPER DESIGN
#

Unit No.Unit TitleTeaching HoursDistribution of Theory MarksDistribution of Theory MarksDistribution of Theory MarksDistribution of Theory Marks
Unit No.Unit TitleTeaching HoursR LevelU LevelA LevelTotal Marks
IOperating System Basics655010
IIProcess management and Inter process communication12610420
IIIFile management and Linux file structure866012
IVSecurity and Protection786014
VLinux commands and shell programming924814
TotalTotal4227311270

Legends: R=Remember, U=Understand, A=Apply and above (Revised Bloom’s taxonomy)

Note : This specification table provides general guidelines to assist students for their learning and to teachers to teach and question paper designers/setters to formulate test items/questions to assess the attainment of the UOs. The actual distribution of marks at different taxonomy levels (of R, U and A) in the question paper may slightly vary from above table.

10. SUGGESTED STUDENT ACTIVITIES
#

Other than the classroom and laboratory learning, following are the suggested studentrelated co-curricular activities which can be undertaken to accelerate the attainment of the various outcomes in this course: Students should perform following activities in group and prepare reports of about 5 pages for each activity. They should also collect/record physical evidences for their (student’s) portfolio which may be useful for their placement interviews. Following is the list of proposed student activities like:

  • a) Prepare lab report of Practical.
  • b) Power Point Presentation.
  • c) Case study and Report preparation.

11. SUGGESTED SPECIAL INSTRUCTIONAL STRATEGIES (if any)
#

These are sample strategies, which the teacher can use to accelerate the attainment of the various outcomes in this course:

  • a) Massive open online courses ( MOOCs ) may be used to teach various topics/sub topics.

  • b) ‘L’ in section No. 4 means different types of teaching methods that is to be employed by teachers to develop the outcomes.

  • c) About 20% of the topics/sub-topics which are relatively simpler or descriptive in nature is to be given to the students for self-learning for making presentation , but to be assessed using different assessment methods.

  • d) With respect to section No.10 , teachers need to ensure to create opportunities and provisions for co-curricular activities .

  • e) Concepts should be explained thoroughly in theory sessions and should be implemented in laboratory appropriately along with the problem solving.

  • f) Concept should be developed by giving problems to students as assignment.

12. SUGGESTED MICRO-PROJECTS
#

Only one micro-project is planned to be undertaken by a student that needs to be assigned to him/her in the beginning of the semester. In the first four semesters, the micro-project is group-based (group of 3 to 5). However, in the fifth and sixth semesters , the number of students in the group should not exceed three .

The micro-project could be industry application based, internet-based, workshop-based, laboratory-based or field-based. Each micro-project should encompass two or more COs which are in fact, an integration of PrOs, UOs and ADOs. Each student will have to maintain dated work diary consisting of individual contribution in the project work and give a seminar presentation of it before submission. The duration of the micro project should be about 1416 (fourteen to sixteen) student engagement hours during the course. The students ought to submit micro-project by the end of the semester to develop the industry-oriented COs.

A suggestive list of micro-projects is given here. This has to match the competency and the COs. Similar micro-projects could be added by the concerned course teacher:

  • a) Prepare a presentation on ‘Various Linux distribution’ / ‘Kali Linux’ / ‘Linux security’/ ‘Mobile Operating System’ / ‘Kali Linux and Ethical Hacking’
  • b) Prepare a presentation on comparative analysis of various process scheduling algorithms based on their scheduling criteria.
  • c) Prepare a document of various Linux Networking Commands.

13. SUGGESTED LEARNING RESOURCES
#

S. No.Title of BookAuthorPublication with place, year and ISBN
1Operating SystemsDhananjay M. DhamdhereMGH, 2017 ISBN 978-0-07-295769-3
2Modern Operating System 4 th EditionANDREW S. TANENBAUM HERBERT BOSPearson, USA ISBN-10: 0-13-359162-X
3Operating System ConceptsSilberschatz, Peter B. Galvin And Greg Gagne,JOHN WILEY & SONS. INC,USA, 2009, ISBN - 978-0-470-12872-5
4Principles Of Operating SystemsNaresh ChauhanOxford University Press, New Delhi, 2014, ISBN : 9780198082873
5Operating Systems- Internals And Design Principles 7 th EditionWilliam StallingsPrentice Hall, USA,2015, ISBN-13: 978-0-13-230998-1
6Linux -Application And AdministrationAshok Kumar HarnalTMH, 2009, ISBN - 1283188996, 9781283188999
S. No.Title of BookAuthorPublication with place, year and ISBN
7Operating System, 2005 EditionMilan MilenkovicMcgraw-Hill Education, 1992, ISBN-13 : 978-0071127110

14. SOFTWARE/LEARNING WEBSITES
#

15. PO-COMPETENCY-CO MAPPING
#

Semester 3Linux with Operating System Concepts (Course Code : 4331602)Linux with Operating System Concepts (Course Code : 4331602)Linux with Operating System Concepts (Course Code : 4331602)Linux with Operating System Concepts (Course Code : 4331602)Linux with Operating System Concepts (Course Code : 4331602)Linux with Operating System Concepts (Course Code : 4331602)Linux with Operating System Concepts (Course Code : 4331602)
Competency & Course OutcomePO1 Basic & Discipline Specific Knowledg ePO2 Problem AnalysisPO3 Design/ Develop- ment of SolutionsPOs PO4 Enginee ring Tools, Experim en- tation &Testin gPO5 Engineer ing Practices for Society, Sustaina bility & Environ mentPO6 Project Manag ementPO7 Lifelong Learning
CompetencyPerform Linux shell scripts for resource management in Operating System.Perform Linux shell scripts for resource management in Operating System.Perform Linux shell scripts for resource management in Operating System.Perform Linux shell scripts for resource management in Operating System.Perform Linux shell scripts for resource management in Operating System.Perform Linux shell scripts for resource management in Operating System.Perform Linux shell scripts for resource management in Operating System.
Course Outcomes CO a) Differentiate various operating systems & explain Linux Operating System.211
CO b) Illustrate various aspects of process scheduling and deadlock management.222111
CO c) Understand various file management and file allocation techniques.212211
CO d) Justify the need of security and protection mechanism in Operating System.2221212
CO e) Perform various Linux command and develop shell scripts.2223112

16. COURSE CURRICULUM DEVELOPMENT COMMITTEE
#

GTU Resource Persons
#

SR. No.Name and DesignationInstituteEmail
1Dr. Gaurang V. Lakhani H.O.D, Department of Information Technology. GES Class-IGovernment Polytechnic, Himatnagar.gvlakhani1@gmail.com
2Mrs. Vishakha Sanghavi. Lecturer in Information Technology. GES Class-IIL. E. College(Diploma), Morbi.sanghavi.vishakha.it@gmail.com
3Mr. Harishkumar I. Rathod. Lecturer in Information Technology. GES Class-IIGovernment Polytechnic, Himatnagar.hirathodgphit@gmail.com
4Mrs. Vaishaliben.B Patel Lecturer in Information Technology. GES Class-IIGovernment Polytechnic, Himatnagar.vaishupatel009@gmail.com