×
A DAY WITHOUT LEARNING IS A DAY WASTED
--Your friends at LectureNotes
Close

Operating Systems

by Ravinder GugulothRavinder Guguloth
Type: PracticalInstitute: Jawaharlal Nehru Technological University, Anantapur JNTUA Course: B.Tech Specialization: Computer Science EngineeringOffline Downloads: 42Views: 3250Uploaded: 1 year ago

Share it with your friends

Suggested Materials

Leave your Comments

Contributors

Ravinder Guguloth
Ravinder Guguloth
smartworld.asia smartzworld.com OPERATING SYSTEMS LAB MANUAL Specworld.in jntuworld.xyz
smartworld.asia smartzworld.com COMPUTER SCIENCE AND ENGINEERING Program Outcomes PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization to the solution of complex engineering problems. Problem analysis: Identify, formulate, review research literature, and analyze complex engineering problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences. 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. 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. 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. 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. 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. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice. Individual and team work: Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings. 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. Project management and finance: Demonstrate knowledge and understanding of the engineering and management principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in multidisciplinary environments. 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. Program Specific Outcomes PSO1 PSO2 PSO3 Specworld.in Professional Skills: The ability to research, understand and implement computer programs in the areas related to algorithms, system software, multimedia, web design, big data analytics, and networking for efficient analysis and design of computer-based systems of varying complexity. Problem-Solving Skills: The ability to apply standard practices and strategies in software project development using open-ended programming environments to deliver a quality product for business success. Successful Career and Entrepreneurship: The ability to employ modern computer languages, environments, and platforms in creating innovative career paths, to be an entrepreneur, and a zest for higher studies. jntuworld.xyz
smartworld.asia smartzworld.com OPERATING SYSTEMS LAB SYLLABUS (Practical Hours: 03, Credits: 02) Implement the following programs on Linux platform using C language. Exp. No. Division of Experiments List of Experiments CPU Scheduling Algorithms Write a C program to simulate the following non-preemptive CPU scheduling algorithms to find turnaround time and waiting time. a) FCFS b) SJF c) Round Robin (pre-emptive) d) Priority *Write a C program to simulate multi-level queue scheduling algorithm considering the following scenario. All the processes in the system are divided into two categories – system processes and user processes. System processes are to be given higher priority than user processes. Use FCFS scheduling for the processes in each queue. File Allocation Strategies Write a C program to simulate the following file allocation strategies. a) Sequential b) Indexed c) Linked 9 Write a C program to simulate the MVT and MFT memory management techniques. 13 *Write a C program to simulate the following contiguous memory allocation techniques a) Worst-fit b) Best-fit c) First-fit 16 Write a C program to simulate paging technique of memory management. 20 Write a C program to simulate the following file organization techniques a) Single level directory b) Two level directory c) Hierarchical 22 Write a C program to simulate Bankers algorithm for the purpose of deadlock avoidance. 29 *Write a C program to simulate disk scheduling algorithms a) FCFS b) SCAN c) C-SCAN 32 Write a C program to simulate page replacement algorithms a) FIFO b) LRU c) LFU 36 *Write a C program to simulate page replacement algorithms a) Optimal 41 *Write a C program to simulate producer-consumer problem using semaphores. 44 *Write a C program to simulate the concept of Dining-Philosophers problem. 45 1 2 3 4 5 Memory Management Techniques 6 7 8 9 10 11 12 File Organization Techniques Deadlock Management Techniques Page Replacement Algorithms 13 Process Synchronization 14 Lab Questions & Assignments Page No. 2 7 47 *Content beyond the university prescribed syllabi Specworld.in jntuworld.xyz
smartworld.asia smartzworld.com ATTAINMENT OF PROGRAM OUTCOMES & PROGRAM SPECIFIC OUTCOMES Exp. No. 1 2 Experiment Write a C program to simulate the following non-preemptive CPU scheduling algorithms to find turnaround time and waiting time. a) FCFS b) SJF c) Round Robin d) Priority *Write a C program to simulate multi-level queue scheduling algorithm considering the following scenario. All the processes in the system are divided into two categories – system processes and user processes. System processes are to be given higher priority than user processes. Use FCFS scheduling for the processes in each queue. Program Outcomes Attained PO1, PO2, PO4 Program Specific Outcomes Attained PSO1 PO1, PO2, PO3, PO4, PO12 PSO1, PSO2 PO1, PO2, PO4 PSO1 3 Write a C program to simulate the following file allocation strategies. a) Sequential b) Indexed c) Linked 4 Write a C program to simulate the MVT and MFT memory management techniques. *Write a C program to simulate the following contiguous memory allocation techniques a) Worst-fit b) Best-fit c) First-fit Write a C program to simulate paging technique of memory management. PO1, PO2, PO4 PSO1 PO1, PO2, PO4, PO12 PSO1 PO1, PO2, PO4 PSO1 7 Write a C program to simulate the following file organization techniques a) Single level directory b) Two level directory c) Hierarchical PO1, PO2, PO4 PSO1 8 Write a C program to simulate Bankers algorithm for the purpose of deadlock avoidance. PO1, PO2, PO4 PSO1 9 *Write a C program to simulate disk scheduling algorithms a) FCFS b) SCAN c) C-SCAN PO1, PO2, PO4, PO12 PSO1 10 Write a C program to simulate page replacement algorithms a) FIFO b) LRU c) LFU PO1, PO2 PSO1 11 *Write a C program to simulate page replacement algorithms a) Optimal PO1, PO2, PO12 PSO1 12 *Write a C program to simulate producer-consumer problem using semaphores. PO1, PO2, PO3, PO4, PO5, PO12 PSO1, PSO2 13 *Write a C program to simulate the concept of Dining-Philosophers problem. PO1, PO2, PO3, PO4, PO5, PO12 PSO1, PSO2 5 6 *Content beyond the university prescribed syllabi Specworld.in jntuworld.xyz

Lecture Notes