INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Size: px
Start display at page:

Download "INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad"

Transcription

1 INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : ACS010 Class : III B. Tech II Semester Branch : Computer Science and Engineering Year : Course Coordinator : Dr. R. Obulakonda Reddy, Professor of CSE K. Radhika, Associate Professor, CSE P. Anjaiah, Associate Professor, CSE Course Faculty : S. Swarajya Lakshmi, Associate Professor, CSE COURSE OBJECTIVES (COs): The course should enable the students to: I II III IV V VI Learn the genesis and diversity of both Linux and Unix system utilities. Demonstrate shell scripts in Bourne shell environment. Implement the basics of kernel support for process and multi tasking applications. Demonstrate Linux file systems, signal generation and handling. Demonstrate inter process communication (IPC) and distinguish different concurrent mechanisms. Demonstrate hands-on experience to implement multitasking with TCP/UDP socket system calls. COURSE LEARNING OUTCOMES: Students, who complete the course, will have demonstrated the ability to do the following. S. No Description ACS Learn the importance of Linux architecture along with features. ACS Identify and use Linux utilities to create and manage simple file processing operations ACS Apply the security features on file access permissions by restricting the ownership using advance Linux commands. ACS Implement the SED, GREP and AWK commands for pattern matching and mathematical functions. ACS Understand the shell responsibilities of different types of shells ACS Develop shell scripts to perform more complex tasks in shell programming environment. ACS Illustrate file processing operations such as standard I/O and formatted I/O.

2 ACS Understand process structure, scheduling and management through system calls. ACS Generalize signal functions to handle interrupts by using system calls. ACS Illustrate memory management of file handling through file/region lock ACS Design and implement inter process communication(ipc) in client server environment by using pipe, message queues, named Pipes, ACS Illustrate client server authenticated communication in IPC through semaphores and shared memory. ACS Demonstrate various client server applications on network using TCP or UDP protocols. ACS Design custom based network applications using the Sockets Interface in heterogeneous platforms TUTORIAL QUESTION BANK Blooms S No QUESTIONS taxonomy level UNIT I INTRODUCTION TO LINUX UTILITIES Part - A (Short Answer Questions) Course Outcomes State kernel role in Linux? Remember ACS List different types of shells in Linux Understand ACS Describe compressing of files in Linux. Remember ACS Find the list of files in a directory along with file attributes. Understand ACS Illustrate the vi editor text editing commands? Remember ACS Define hard link and soft link of a file. 7. Compare CP and MV commands. Understand ACS Illustrate moving of files in Linux environment with examples? Remember ACS What is rlogin command purpose? Remember ACS Give the use of telnet command with example? Remember ACS What is ftp and its importance in Unix? Understand ACS Differentiate tar and zip/unzip commands? Remember ACS How to create a file hierarchy using single command in Linux? Remember ACS How to create a new directory in a specific disc location in Linux 14. with example? Understand ACS List the errors while deleting a directory with suitable examples. Remember ACS List Awk operations and describe programming constructs Write a command to print the squares of numbers from 1 to using awk command 18. Write a command to print the line number before each line? 19. Explain the Syntax of Sed Command 20 How to replace word complexsql with word Amit 2 Write a command to delete first line and last line from Sed_file.txt

3 Part - B (Long Answer Questions) Explain Layered architecture and kernel role in Linux with neat Diagram? Compare the comm., comp and diff text processing utilities. 3. Illustrate the file filter commands with examples Remember ACS Remember about links of files and describe about kernel role while creating links. 5. Describe the issues with creating, copying, moving and deleting the directory file in Linux with examples. Remember ACS Discuss on list of commands in sed. Remember ACS Differentiate stream editor and line editor 8. How to create background job and foreground jobs in Linux? 9. Explain about ulimit and, mount commands? Illustrate pg and more command with example? Remember ACS Distinguish between user Defined variables and environment Variables with example? 1 Write a command to find the total number of lines in a file without using NR 1 Write a command to print the second and third line of a file without using NR How to remove blank lines in specific file by using Sed 13. Command? 14. How to print only blank line using Sed Command? 15. Write a command to delete word complexsql from the file. Remember ACS How to print first and last line of the file using Sed Command? 17. Write a command to display 3rd and 5th line from specific file. 18. Write a command to remove the first 10 lines from a file? 19. Write a command to duplicate empty lines in a file? Explain Moving processes to the background and foreground with ACS Understand 20. an example? Write an awk script to find the number of characters, words and 2 lines in a file. Part - C (Problem Solving and Critical Thinking Questions) Differentiate windows and Linux operating system and analyze Important system calls? Remember ACS Illustrate security concepts in both Linux and windows operating Systems? 3. Write a command to print the third field of each line. In the text file, some lines are delimited by colon and some are delimited by space. Write a command to find the sum of bytes (size of file) of all files 4. in a directory. 5. Write a command to print the fields in a text file in reverse order? 6. Write a sed command to print the lines that do not contain the word complex? Understand ACS109.04

4 UNIT II WORKING WITH THE BOURNE AGAIN SHELL (BASH) Part A (Short Answer Questions) Differentiate between a file locking and record locking. Remember ACS Describe any four built in variables in Shell and Demonstrate their usage by example? Understand ACS Write a shell script to display GOOD MRNG, GOOD AFTERNOON, GOOD NIGHT based on system time whenever Remember ACS user logs on. 4. What is the use of here documents? Remember ACS What is Shell Scripting? Remember ACS List some of the common and most widely used UNIX commands. Remember ACS What are the different Types of Shells available? Remember ACS Differentiate symlink ( ) and link() functions with example? Understand ACS Define a system call? Understand ACS List the file types supported by linux. Understand ACS Differentiate system call with library function? Remember ACS Compare dot and dot dot notations in the file system? Remember ACS Distinguish relative path and absolute path. Understand ACS Differentiate hard link and soft link Remember ACS List the significance of fcntl arguments Understand ACS List the file API system calls with purpose Remember ACS Give the list of directory API functions Understand ACS Write the syntax for "if" conditionals in Linux? Understand ACS Discuss three standard streams in Linux Remember ACS Write a command to display PID of current shell. Understand ACS Write a script to print the first 10 elements of Fibonacci series. Remember ACS How are shell variables stored? Explain with a simple example. Remember ACS What are positional parameters? Explain with an example. Remember ACS Part - B (Long Answer Questions) Write a program to create, read and write the contents of directory File Using directory API. Remember ACS Describe about I/O Redirection operations, built in variables in Shell. Understand ACS Explain by writing a script using system time, toshow GOOD Morning, GOOD AFTERNOON, GOODNIGHT. Understand ACS Explain by writing shell script that receives any number of file Understand ACS names as arguments checks if every argument supplied is a file or a 4. directory? 5. Explain how the shell treat a command line passed to it. 6. Write a shell script to find and delete all file with the word Unix". Understand ACS Write a shell script to count the specified number of lines in a text Understand ACS file without using wc command? 8. Demonstrate by writing a shell script to find the factorial of a number. Understand ACS Explain about symlink ( ) function with example? Explain about Understand ACS link( )function with example? 10. Write a program to create, read and write the contents of Ordinary file using file API. Remember ACS Explain about unlink ( ) functions with example? Explain about symlink ( ) functions with example? Remember ACS109.01

5 1 Define a system call? Differentiate system call with library Function? Remember ACS Explain about dot and dot dot directories in the file system? Understand ACS Define symbolic link? Hard link with examples? Understand ACS Differentiate symbolic link instead of a hard link. Understand ACS Define fcntl ( ), read (), write () writen () function with examples? Understand ACS Describe the characteristics of Unix File System. Understand ACS Describe about Low Level File I/O System Calls. Understand ACS Describe usage of dup(), dup2() system calls with example? Understand ACS Define stat () and create () function with examples? Understand ACS Describe open ( ) function in Linux with examples? Understand ACS Differentiate stat ( ), fstat ( ) and lstat() with example? Understand ACS Illustrate about redirection of standard output to file abc.txt Understand ACS Part C (Problem Solving and Critical Thinking) Differentiate file API and standard library functions for file Operations. Understand ACS Emulate the ls command using file API Understand ACS What does the. (dot) indicate at the beginning of a file name and 3. how should it be listed? Understand ACS What are the different blocks of a file system? Explain in brief. Understand ACS Illustrate to read input from the standard input (stdin) and display on the standard output (stdout) using file API. Understand ACS Differentiate and analyze different file creation api functions with Understand ACS example 7. List and briefly describe the functionalities of standard i/o library. Understand ACS UNIT-III PROCESS AND SIGNALS Part - A (Short Answer Questions) What is a process in unix? Remember ACS State process states in unix/ Remember ACS Remember the kernel role on process management Remember ACS List the process attributes Remember ACS Give 5 examples of reliable signals. Remember ACS Describe orphan process with example? Remember ACS What is fork() with example? Understand ACS Define zombie processes with example? Remember ACS Write the differences between threads and processes. Understand ACS Explain process ID of init process? Understand ACS How Can You Get/set An Environment Variable From A Program? Understand ACS What Is An Advantage Of Executing A Process In Background? Understand ACS What Happens When You Execute A Program? Understand ACS What Is ps Command For? Understand ACS Differentiate fork() and vfork() with example? Remember ACS Describe exec () with example? Remember ACS Illustrate exit ( ) function? Understand ACS List all flavors of excec() function. Understand ACS109.08

6 15. Define zombie processes with example? Remember ACS Illustrate calloc( ) and malloc( ) functions? Understand ACS Discuss the two components of the directory file? Remember ACS Distinguish between alarm(), sleep(), pause() functions? Understand ACS Write the difference between reliable and unreliable signals. Understand ACS Explain how to handle signal? Understand ACS Define signal? and explain some examples? Understand ACS Part B (Long Answer Questions) Illustrate about child process creation using fork(), vfork() and Exec() Remember ACS Discuss about orphan process and zombie process with example? Understand ACS What Is A Daemon? and Describe Some of the most common Understand ACS daemons 4. How Can A Parent And Child Process Communicate? Understand ACS What is process table and describe the Process States In Unix? Understand ACS List The System Calls Used For Process Management: Understand ACS How Will You Run A Process In Background? How Will You 7. Bring That Into Foreground And How Will You Kill That Process? Understand ACS Explain how to terminate process normally or abnormally? Understand ACS Write about the kill and raise functions. Remember ACS Differentiate wait () and waitpid() with examples? Remember ACS Explain the mechanism for handling a signal with example? Understand ACS How many ways a process goes to wait state or termination state Understand ACS forcefully 13. Describe SIGKILL and SIGINT with examples? Understand ACS Explain about signal () function? Differentiate the reliable and unreliable signals Remember ACS Elaborate different versions of exec () with examples? Remember ACS Part C (Problem Solving and Critical Thinking) Differentiate and analyze non-blocking IO operations in both ACS Windows and Linux operating systems? Understand Write a program to create a child process and get the processed of ACS child and parent Remember Write a program to find sum of odd numbers by child process and 3. sum of even numbers by parent processes of given range numbers Remember ACS using fork function. 4. Illustrate to redirect the standard input (stdin) and the standard output (stdout) of a process, so that scanf () reads from the pipe and printf ()writes into the pipe? Understand ACS Illustrate by writing c program where process forks to a child, then Waits for someone to terminate? Understand ACS UNIT-IV DATA MANAGEMENT AND INTER PROCESS COMMUNICATION Part A (Short Answer Questions) What is Inter process communication? Understand ACS List the different mechanisms for inter process communication. Remember ACS Describe FIFO concept with example? Remember ACS109.11

7 4. What is the use of FIFO comparing with pipe? Remember ACS Describe mkfifo() system call by example? Remember ACS Describe Pipes opening concept with example? Remember ACS Describe pipes? Explain their limitations. Remember ACS List the message API system calls to create, delete, send and receive Remember ACS Describe the structure of a message Remember ACS Illustrate about IPC_EXEC? Remember ACS Differentiate between kill() and rise()? Remember ACS What is named pipe? Understand ACS Explain about msgtyp with example? Understand ACS Describe IPC _PRIVATE with example? Remember ACS Describe pipe () system call? Remember ACS List the POSIX APIs of semaphores. Remember ACS Part B (Long Answer Questions) Describe message queue API with syntax and example? Remember ACS Differentiate pipe and named pipe concepts in IPC process. Understand ACS Create a pipe to redirect the input of one command to other Command. Remember ACS Create a FIFO to build the communication channel between two processes and give the advantages and disadvantages of Remember ACS Files. Illustrate pipes? Explain their limitations. Explain how named pipes are replaced to overcome the drawback of pipe in IPC with Remember ACS an examples 6. Drawback of message queue with example. Understand ACS Illustrate about V IPC semaphore mechanism with example. Remember ACS Define Semaphore? Write about Semaphore system calls? Understand ACS Write about file locking with Semaphores? Understand ACS Explain about synchronization and How synchronization is 10. Achieved with Semaphores? Understand ACS Explain the structure a shared memory and kernel data structure 1 with a neat diagram? Remember ACS Explain the following functions with syntax: Understand ACS (a) stat() (b) read() (c) open() (d) fstat() Explain about memory management functions malloc(), calloc(), 13. realloc(), free() with suitable example. Remember ACS Define Shared memory? Write about Shared memory system calls? Understand ACS Explain their meaning and illustrate their usage. Write a note on Understand ACS character class. Part C (Problem Solving and Critical Thinking) Demonstrate the priority message queues with example using Understand ACS Message Queue API Illustrate to displays no of messages in queue, last message send, Remember ACS Last? 3. Demonstrate message read time in a given message queue. Remember ACS Demonstrate race conditions with shared memory? Understand ACS109.12

8 5. Write a c program to send and receive message using pipes. Implement two way communication using pipes. Remember ACS UNIT-V SOCKETS Part - A (Short Answer Questions) Demonstrate client and server programming using TCP protocol? Remember ACS Explain about socket( ) function in Linux? Remember ACS Explain about accept( ) function in Linux? Understand ACS Explain about bind( ) function in Linux? Remember ACS Explain about read() function in Linux? Understand ACS Illustrate with a neat diagram about threads, and light weight Remember ACS Processes? 8. Explain about separate kernel stack and light weight processes? Remember ACS Differentiate process and threads? Understand ACS Differentiate stream sockets and raw sockets? Remember ACS Demonstrate client and server programming using UDP protocol? Understand ACS Write primitive is used by server for waiting the client connection? Remember ACS Draw the structure of TCP/IP for exchange information between 13. client and server. Understand ACS List the attributes in socket address functions Remember ACS Distinguish between IPV4 and IPV6. Understand ACS Part - B (Long Answer Questions) Illustrate pthreadcreate ( ) function with examples? Remember ACS Explain pthreadkill ( ) function with example? Remember ACS Illustrate about POSIX APIs of semaphores? Understand ACS Explain thread synchronization with semaphores with example? Remember ACS Illustrate about Semaphores with examples? Remember ACS Explain TCP socket connection establishment with a neat diagram? Remember ACS Explain UCP data transfer with a neat diagram? Understand ACS Demonstrate client and server programming using TCP protocol 8. with Neat diagram? Understand ACS Explain about socket (), listen(), accept( )system calls in Linux? Remember ACS Illustrate about bind (), read(), write() functions in Linux? Remember ACS Explain about sendto () and recvfrom () functions in Linux? Remember ACS Illustrate about TCP NODELAY syntax with a small program? Understand ACS Explain all byte ordering and manipulation functions with Examples? Remember ACS Explain about how TCP connections are established and terminated. Remember ACS Demonstrate echo server and echo client using 6666 port in TCP Remember ACS style? Part C (Problem Solving and Critical Thinking) Illustrate by writing a c program to implement UDP chat client server? Understand ACS Demonstrate client and server programming using UDP protocol ACS Understand with Neat diagram?

9 Illustrate by writing a c program to implement TCP chat client Understand ACS server? Differentiate stream sockets and raw sockets and related system Remember ACS calls? 5. Explain how small and big packets handled in transferring client Understand ACS Server Environment? Prepared By: HOD, CSE

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : A70511 (R15) Class

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : A70511 Class : IV B.

More information

St. MARTIN S ENGINEERING COLLEGE Dhulapally,Secunderabad DEPARTMENT OF INFORMATION TECHNOLOGY Academic year

St. MARTIN S ENGINEERING COLLEGE Dhulapally,Secunderabad DEPARTMENT OF INFORMATION TECHNOLOGY Academic year St. MARTIN S ENGINEERING COLLEGE Dhulapally,Secunderabad-000 DEPARTMENT OF INFORMATION TECHNOLOGY Academic year 0-0 QUESTION BANK Course Name : LINUX PROGRAMMING Course Code : A0 Class : III B. Tech I

More information

UNIT I Linux Utilities

UNIT I Linux Utilities UNIT I Linux Utilities 1. a) How does Linux differ from Unix? Discuss the features of Linux. 5M b) Explain various text processing utilities, with a suitable example for each. 5M 2. a) Explain briefly

More information

UNIT I Linux Utilities and Working with Bash

UNIT I Linux Utilities and Working with Bash Subject with Code :(16MC814)Course& Branch: MCA Year & Sem: II-MCA& I-Sem UNIT I Linux Utilities and Working with Bash 1. a) How does Linux differ from Unix? Discuss the features of Linux.6M b) Explain

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) DUNDIGAL, HYDERABAD

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) DUNDIGAL, HYDERABAD INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) DUNDIGAL, HYDERABAD -500 043 Course Title Course Code Regulation COMPUTER SCIENCE AND ENGINEERING COURSE DESCRIPTION FORM LINUX PROGRAMMING A70511 R13

More information

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files CSC209 Review CSC209: Software tools Unix files and directories permissions utilities/commands Shell programming quoting wild cards files ... and systems programming C basic syntax functions arrays structs

More information

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files. Compiler vs.

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files. Compiler vs. CSC209 Review CSC209: Software tools Unix files and directories permissions utilities/commands Shell programming quoting wild cards files... and systems programming C basic syntax functions arrays structs

More information

CSC209 Review. Yeah! We made it!

CSC209 Review. Yeah! We made it! CSC209 Review Yeah! We made it! 1 CSC209: Software tools Unix files and directories permissions utilities/commands Shell programming quoting wild cards files 2 ... and C programming... C basic syntax functions

More information

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur QUESTION BANK

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur QUESTION BANK SRM Nagar, Kattankulathur 603 203 IV SEMESTER MC7404 NETWORK PROGRAMMING Regulation 2013 Academic Year 2017 18 Prepared by Mr. M.Asan Nainar, Assistant Professor/MCA UNIT I - INTRODUCTION Overview of UNIX

More information

LINUX INTERNALS & NETWORKING Weekend Workshop

LINUX INTERNALS & NETWORKING Weekend Workshop Here to take you beyond LINUX INTERNALS & NETWORKING Weekend Workshop Linux Internals & Networking Weekend workshop Objectives: To get you started with writing system programs in Linux Build deeper view

More information

II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC-2017

II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC-2017 CSE/IT 223 (CR) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC-2017 Second Semester CSE/IT COMPUTER ORGANIZATION Time: Three Hours Answer Question No.1

More information

QUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2)

QUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2) BANK ON & SHELL PROGRAMMING-502 (CORE PAPER-2) TOPIC 1: VI-EDITOR MARKS YEAR 1. Explain set command of vi editor 2 2011oct 2. Explain the modes of vi editor. 7 2013mar/ 2013 oct 3. Explain vi editor 5

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK UNIT 1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK UNIT 1 CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK SUBJECT: NETWORK PROGRAMMING/MC9241 YEAR/ SEM: II /I V 1 CCET UNIT 1 1. What are the steps involved in obtaining a shared

More information

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12.

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12. CIE- 25 Marks Government of Karnataka Department of Technical Education Bengaluru Course Title: Linux Lab Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78 Type of Course: Tutorial, Practical s & Student

More information

Unix Processes. What is a Process?

Unix Processes. What is a Process? Unix Processes Process -- program in execution shell spawns a process for each command and terminates it when the command completes Many processes all multiplexed to a single processor (or a small number

More information

Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions

Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions 1. What are the different parts of UNIX system? i. Programs

More information

(MCQZ-CS604 Operating Systems)

(MCQZ-CS604 Operating Systems) command to resume the execution of a suspended job in the foreground fg (Page 68) bg jobs kill commands in Linux is used to copy file is cp (Page 30) mv mkdir The process id returned to the child process

More information

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS UNIT I OPERATING SYSTEMS 1. Write a short note about [6+6M] a) Time services b) Scheduling Mechanisms 2. a) Explain the overview of Threads and Tasks. [6M] b) Draw the structure of Micro kernel and explain

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad Course Name Course Code Class Branch INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK 2015-2016 : DISTRIBUTED SYSTEMS

More information

Advanced Programming in the UNIX Environment W. Richard Stevens

Advanced Programming in the UNIX Environment W. Richard Stevens Advanced Programming in the UNIX Environment W. Richard Stevens ADDISON-WESLEY PUBLISHING COMPANY Reading, Massachusetts Menlo Park, California New York Don Mills, Ontario Wokingham, England Amsterdam

More information

Design Overview of the FreeBSD Kernel CIS 657

Design Overview of the FreeBSD Kernel CIS 657 Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler (2%

More information

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent?

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent? Design Overview of the FreeBSD Kernel CIS 657 Organization of the Kernel Machine-independent 86% of the kernel (80% in 4.4BSD) C C code Machine-dependent 14% of kernel Only 0.6% of kernel in assembler

More information

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing

More information

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017 ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 The Operating System (OS) Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke)

More information

PROCESS MANAGEMENT. Operating Systems 2015 Spring by Euiseong Seo

PROCESS MANAGEMENT. Operating Systems 2015 Spring by Euiseong Seo PROCESS MANAGEMENT Operating Systems 2015 Spring by Euiseong Seo Today s Topics Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication

More information

Mid Term from Feb-2005 to Nov 2012 CS604- Operating System

Mid Term from Feb-2005 to Nov 2012 CS604- Operating System Mid Term from Feb-2005 to Nov 2012 CS604- Operating System Latest Solved from Mid term Papers Resource Person Hina 1-The problem with priority scheduling algorithm is. Deadlock Starvation (Page# 84) Aging

More information

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST - 2 Date : 20/09/2016 Max Marks : 0 Subject & Code : Unix Shell Programming (15CS36) Section : 3 rd Sem ISE/CSE Name of faculty : Prof Ajoy Time : 11:30am to 1:00pm SOLUTIONS 1

More information

PROGRAMME: COMPUTER SCIENCE & ENGINEERING COURSE: Operating System Lab SEMESTER: VI CREDITS: 2

PROGRAMME: COMPUTER SCIENCE & ENGINEERING COURSE: Operating System Lab SEMESTER: VI CREDITS: 2 Course: CS693- Operating System Lab PROGRAMME: COMPUTER SCIENCE & ENGINEERING DEGREE:B. TECH COURSE: Operating System Lab SEMESTER: VI CREDITS: 2 COURSECODE: CS693 COURSE AREA/DOMAIN: Laboratory Skills

More information

CL020 - Advanced Linux and UNIX Programming

CL020 - Advanced Linux and UNIX Programming Corder Enterprises International Building World Class MIS Teams, for you! CL020 - Advanced Linux and UNIX Programming Course Description: In-depth training for software developers on Linux and UNIX system

More information

Linux System Administration

Linux System Administration System Processes Objective At the conclusion of this module, the student will be able to: Describe and define a process Identify a process ID, the parent process and the child process Learn the PID for

More information

Chapter 1 - Introduction. September 8, 2016

Chapter 1 - Introduction. September 8, 2016 Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help

More information

Community Enterprise Operating System (CentOS 7) Courses

Community Enterprise Operating System (CentOS 7) Courses Community Enterprise Operating System (CentOS 7) Courses CentOS 7 Administration I Core Skills (5 days) Advanced Linux Shell Scripting Shell Scripting (bash,ksh93) and awk Programming (3 days) Advanced

More information

Pipes and FIFOs. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Pipes and FIFOs. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University Pipes and FIFOs Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Open Files in Kernel How the Unix kernel represents open files? Two descriptors

More information

Exam Guide COMPSCI 386

Exam Guide COMPSCI 386 FOUNDATIONS We discussed in broad terms the three primary responsibilities of an operating system. Describe each. What is a process? What is a thread? What parts of a process are shared by threads? What

More information

Creating a Shell or Command Interperter Program CSCI411 Lab

Creating a Shell or Command Interperter Program CSCI411 Lab Creating a Shell or Command Interperter Program CSCI411 Lab Adapted from Linux Kernel Projects by Gary Nutt and Operating Systems by Tannenbaum Exercise Goal: You will learn how to write a LINUX shell

More information

PROCESS CONCEPTS. Process Concept Relationship to a Program What is a Process? Process Lifecycle Process Management Inter-Process Communication 2.

PROCESS CONCEPTS. Process Concept Relationship to a Program What is a Process? Process Lifecycle Process Management Inter-Process Communication 2. [03] PROCESSES 1. 1 OUTLINE Process Concept Relationship to a Program What is a Process? Process Lifecycle Creation Termination Blocking Process Management Process Control Blocks Context Switching Threads

More information

Process Management! Goals of this Lecture!

Process Management! Goals of this Lecture! Process Management! 1 Goals of this Lecture! Help you learn about:" Creating new processes" Programmatically redirecting stdin, stdout, and stderr" (Appendix) communication between processes via pipes"

More information

Processes COMPSCI 386

Processes COMPSCI 386 Processes COMPSCI 386 Elements of a Process A process is a program in execution. Distinct processes may be created from the same program, but they are separate execution sequences. call stack heap STACK

More information

PROCESSES. Jo, Heeseung

PROCESSES. Jo, Heeseung PROCESSES Jo, Heeseung TODAY'S TOPICS What is the process? How to implement processes? Inter-Process Communication (IPC) 2 WHAT IS THE PROCESS? Program? vs. Process? vs. Processor? 3 PROCESS CONCEPT (1)

More information

Processes. Jo, Heeseung

Processes. Jo, Heeseung Processes Jo, Heeseung Today's Topics What is the process? How to implement processes? Inter-Process Communication (IPC) 2 What Is The Process? Program? vs. Process? vs. Processor? 3 Process Concept (1)

More information

Subject: Operating System (BTCOC403) Class: S.Y.B.Tech. (Computer Engineering)

Subject: Operating System (BTCOC403) Class: S.Y.B.Tech. (Computer Engineering) A. Multiple Choice Questions (60 questions) Subject: Operating System (BTCOC403) Class: S.Y.B.Tech. (Computer Engineering) Unit-I 1. What is operating system? a) collection of programs that manages hardware

More information

Department of Computer Science and Technology

Department of Computer Science and Technology M.Sc. (CA) (2 nd Semester) 040020202 : UNIX Internals and Shell Programming Teaching Schedule Objective: To acquaint the students with the basic internal structure & operations of UNIX operating system,

More information

NETWORK PROGRAMMING AND MANAGEMENT 1 KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

NETWORK PROGRAMMING AND MANAGEMENT 1 KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK NETWORK PROGRAMMING AND MANAGEMENT 1 KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK Subject Code & Name: Network Programming and Management Year / Sem : III / VI UNIT-

More information

1. Unix Interview Questions You Should Be Ready For What is UNIX? How is UNIX different from Linux? What is a kernel?

1. Unix Interview Questions You Should Be Ready For What is UNIX? How is UNIX different from Linux? What is a kernel? 1. Unix Interview Questions You Should Be Ready For... 3 2. What is UNIX?... 4 3. How is UNIX different from Linux?... 4 4. What is a kernel?... 4 5. What is the difference between multi-user and multi-tasking?...

More information

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / ODD SEMESTER

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / ODD SEMESTER KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR 2011-2012 / ODD SEMESTER Question Bank Subject Code/Name: CS1005-Unix Internals Year / Sem: IV / VII UNIT I- GENERAL

More information

CSE 410: Systems Programming

CSE 410: Systems Programming CSE 410: Systems Programming Concurrency Ethan Blanton Department of Computer Science and Engineering University at Buffalo Logical Control Flows The text defines a logical control flow as: [A] series

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

INSTITUTE OF AERONAUTICAL ENGINEERING

INSTITUTE OF AERONAUTICAL ENGINEERING INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 INFORMATION TECHNOLOGY TUTORIAL QUESTION BANK Name : PRINCIPLES OF PROGRAMMING LANGUAGES Code : A40511 Class : II B. Tech

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 INFORMATION TECHNOLOGY TUTORIAL QUESTION BANK Course Name Course Code Class Branch OPERATING SYSTEMS ACS007 IV Semester

More information

Process Management 1

Process Management 1 Process Management 1 Goals of this Lecture Help you learn about: Creating new processes Programmatically redirecting stdin, stdout, and stderr (Appendix) communication between processes via pipes Why?

More information

Processes. CS3026 Operating Systems Lecture 05

Processes. CS3026 Operating Systems Lecture 05 Processes CS3026 Operating Systems Lecture 05 Dispatcher Admit Ready Queue Dispatch Processor Release Timeout or Yield Event Occurs Blocked Queue Event Wait Implementation: Using one Ready and one Blocked

More information

Department of Computer Science and Technology, UTU 2014

Department of Computer Science and Technology, UTU 2014 Short Questions 060010601 Unix Internals Unit 1 : Introduction and Overview of UNIX 1. What were the goals of Multics System? 2. List out the levels in which UNIX system architecture is divided. 3. Which

More information

Kernel Internals. Course Duration: 5 days. Pre-Requisites : Course Objective: Course Outline

Kernel Internals. Course Duration: 5 days. Pre-Requisites : Course Objective: Course Outline Course Duration: 5 days Pre-Requisites : Good C programming skills. Required knowledge Linux as a User Course Objective: To get Kernel and User Space of Linux and related programming Linux Advance Programming

More information

Process. Program Vs. process. During execution, the process may be in one of the following states

Process. Program Vs. process. During execution, the process may be in one of the following states What is a process? What is process scheduling? What are the common operations on processes? How to conduct process-level communication? How to conduct client-server communication? Process is a program

More information

Operating Systems. Review ENCE 360

Operating Systems. Review ENCE 360 Operating Systems Review ENCE 360 High level Concepts What are three conceptual pieces fundamental to operating systems? High level Concepts What are three conceptual pieces fundamental to operating systems?

More information

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK Mastering Linux Paul S. Wang CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an Imprint of the Taylor & Francis Croup an informa business A CHAPMAN St HALL BOOK Contents Preface

More information

W4118 Operating Systems. Junfeng Yang

W4118 Operating Systems. Junfeng Yang W4118 Operating Systems Junfeng Yang What is a process? Outline Process dispatching Common process operations Inter-process Communication What is a process Program in execution virtual CPU Process: an

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Inter-Process Communication (IPC) Communication in Client-Server Systems Objectives 3.2

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Inter-Process Communication (IPC) Communication in Client-Server Systems Objectives 3.2

More information

Operating System Labs. Yuanbin Wu

Operating System Labs. Yuanbin Wu Operating System Labs Yuanbin Wu cs@ecnu Anouncement Project 1 due 21:00 Oct. 4th FTP In campus: direct connection Out of campus: VPN Windows: cmd \\222.204.249.4:5010 Linux: ftp 222.204.249.4 5010 Operating

More information

Processes. CS439: Principles of Computer Systems January 24, 2018

Processes. CS439: Principles of Computer Systems January 24, 2018 Processes CS439: Principles of Computer Systems January 24, 2018 Last Time History Lesson Hardware expensive, humans cheap Hardware cheap, humans expensive Hardware very cheap, humans very expensive Dual-mode

More information

The Unix Shell & Shell Scripts

The Unix Shell & Shell Scripts The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises

More information

Reading Assignment 4. n Chapter 4 Threads, due 2/7. 1/31/13 CSE325 - Processes 1

Reading Assignment 4. n Chapter 4 Threads, due 2/7. 1/31/13 CSE325 - Processes 1 Reading Assignment 4 Chapter 4 Threads, due 2/7 1/31/13 CSE325 - Processes 1 What s Next? 1. Process Concept 2. Process Manager Responsibilities 3. Operations on Processes 4. Process Scheduling 5. Cooperating

More information

Processes. CS439: Principles of Computer Systems January 30, 2019

Processes. CS439: Principles of Computer Systems January 30, 2019 Processes CS439: Principles of Computer Systems January 30, 2019 What We Know Operating system complexity increased over time in response to economic and technological changes The three roles did not show

More information

Chap 4, 5: Process. Dongkun Shin, SKKU

Chap 4, 5: Process. Dongkun Shin, SKKU Chap 4, 5: Process 1 Process Concept Job A bundle of program and data to be executed An entity before submission for execution Process (= running program) An entity that is registered to kernel for execution

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Silberschatz, Galvin and Gagne 2013! Chapter 3: Process Concept Process Concept" Process Scheduling" Operations on Processes" Inter-Process Communication (IPC)" Communication

More information

Midterm Exam CPS 210: Operating Systems Spring 2013

Midterm Exam CPS 210: Operating Systems Spring 2013 Your name: Sign for your honor: Midterm Exam CPS 210: Operating Systems Spring 2013 The last page of this exam is a list of terms used in this class, and whose meanings you should know. You may detach

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad -500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name : DATA STRUCTURES Course Code : A30502 Class : II B.

More information

Contents. PA1 review and introduction to PA2. IPC (Inter-Process Communication) Exercise. I/O redirection Pipes FIFOs

Contents. PA1 review and introduction to PA2. IPC (Inter-Process Communication) Exercise. I/O redirection Pipes FIFOs Pipes and FIFOs Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Dong-Yun Lee(dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Contents PA1 review and introduction to

More information

Operating Systems. II. Processes

Operating Systems. II. Processes Operating Systems II. Processes Ludovic Apvrille ludovic.apvrille@telecom-paristech.fr Eurecom, office 470 http://soc.eurecom.fr/os/ @OS Eurecom Outline Concepts Definitions and basic concepts Process

More information

The Classical OS Model in Unix

The Classical OS Model in Unix The Classical OS Model in Unix Nachos Exec/Exit/Join Example Exec parent Join Exec child Exit SpaceID pid = Exec( myprogram, 0); Create a new process running the program myprogram. int status = Join(pid);

More information

CSE 153 Design of Operating Systems Fall 2018

CSE 153 Design of Operating Systems Fall 2018 CSE 153 Design of Operating Systems Fall 2018 Lecture 4: Processes (2) Threads Process Creation: Unix In Unix, processes are created using fork() int fork() fork() Creates and initializes a new PCB Creates

More information

The Shell, System Calls, Processes, and Basic Inter-Process Communication

The Shell, System Calls, Processes, and Basic Inter-Process Communication The Shell, System Calls, Processes, and Basic Inter-Process Communication Michael Jantz Dr. Prasad Kulkarni 1 Shell Programs A shell program provides an interface to the services of the operating system.

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

Building blocks for Unix power tools

Building blocks for Unix power tools for Unix power tools Now that we have given a good overview of a lot of the better Unix tools, I want to take some time to talk about our toolset for building Unix programs. The most important of these

More information

Memory-Mapped Files. generic interface: vaddr mmap(file descriptor,fileoffset,length) munmap(vaddr,length)

Memory-Mapped Files. generic interface: vaddr mmap(file descriptor,fileoffset,length) munmap(vaddr,length) File Systems 38 Memory-Mapped Files generic interface: vaddr mmap(file descriptor,fileoffset,length) munmap(vaddr,length) mmap call returns the virtual address to which the file is mapped munmap call unmaps

More information

Problem Set: Processes

Problem Set: Processes Lecture Notes on Operating Systems Problem Set: Processes 1. Answer yes/no, and provide a brief explanation. (a) Can two processes be concurrently executing the same program executable? (b) Can two running

More information

R10. IV B.Tech II Semester Regular Examinations, April/May UNIX AND SHELL PROGRAMMING

R10. IV B.Tech II Semester Regular Examinations, April/May UNIX AND SHELL PROGRAMMING Set No. 1 Code No: R42029 UNIX AND SHELL PROGRAMMING (Electrical and Electronics Engineering) 1 a) Explain the unix kernel architecture [7] b) Explain the following unix commands i) ssty ii) cp iii) tar

More information

CPS 310 first midterm exam, 2/26/2014

CPS 310 first midterm exam, 2/26/2014 CPS 310 first midterm exam, 2/26/2014 Your name please: Part 1. More fun with forks (a) What is the output generated by this program? In fact the output is not uniquely defined, i.e., it is not necessarily

More information

Contents. IPC (Inter-Process Communication) Representation of open files in kernel I/O redirection Anonymous Pipe Named Pipe (FIFO)

Contents. IPC (Inter-Process Communication) Representation of open files in kernel I/O redirection Anonymous Pipe Named Pipe (FIFO) Pipes and FIFOs Prof. Jin-Soo Kim( jinsookim@skku.edu) TA JinHong Kim( jinhong.kim@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Contents IPC (Inter-Process Communication)

More information

mywbut.com UNIX Operating System

mywbut.com UNIX Operating System UNIX Operating System 1 Lecture Notes Overview Unlike many operating systems, UNIX is not limited to specific computers using a particular microprocessor as a CPU. Instead, UNIX systems run on all sizes

More information

Overview. Over the next four weeks, we will look at these topics: Building Blocks. Advanced Authentication Issues.

Overview. Over the next four weeks, we will look at these topics: Building Blocks. Advanced Authentication Issues. Overview Over the next four weeks, we will look at these topics: Building Blocks Advanced Authentication Issues Security Overview Storage and its abstraction Virtualization and appliances Data Replication

More information

Getting to know you. Anatomy of a Process. Processes. Of Programs and Processes

Getting to know you. Anatomy of a Process. Processes. Of Programs and Processes Getting to know you Processes A process is an abstraction that supports running programs A sequential stream of execution in its own address space A process is NOT the same as a program! So, two parts

More information

Interprocess Communication Mechanisms

Interprocess Communication Mechanisms Interprocess Communication 1 Interprocess Communication Mechanisms shared storage These mechanisms have already been covered. examples: shared virtual memory shared files processes must agree on a name

More information

shared storage These mechanisms have already been covered. examples: shared virtual memory message based signals

shared storage These mechanisms have already been covered. examples: shared virtual memory message based signals Interprocess Communication 1 Interprocess Communication Mechanisms shared storage These mechanisms have already been covered. examples: shared virtual memory shared files processes must agree on a name

More information

Linux Driver and Embedded Developer

Linux Driver and Embedded Developer Linux Driver and Embedded Developer Course Highlights The flagship training program from Veda Solutions, successfully being conducted from the past 10 years A comprehensive expert level course covering

More information

UNIX Shell Programming

UNIX Shell Programming $!... 5:13 $$ and $!... 5:13.profile File... 7:4 /etc/bashrc... 10:13 /etc/profile... 10:12 /etc/profile File... 7:5 ~/.bash_login... 10:15 ~/.bash_logout... 10:18 ~/.bash_profile... 10:14 ~/.bashrc...

More information

CS2028 -UNIX INTERNALS

CS2028 -UNIX INTERNALS DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY,SIRUVACHUR-621113. CS2028 -UNIX INTERNALS PART B UNIT 1 1. Explain briefly details about History of UNIX operating system? In 1965, Bell Telephone

More information

What is a Process? Processes and Process Management Details for running a program

What is a Process? Processes and Process Management Details for running a program 1 What is a Process? Program to Process OS Structure, Processes & Process Management Don Porter Portions courtesy Emmett Witchel! A process is a program during execution. Ø Program = static file (image)

More information

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad COMPUTER SCIENCE AND ENGINEERING QUESTION BANK OPERATING SYSTEMS

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad COMPUTER SCIENCE AND ENGINEERING QUESTION BANK OPERATING SYSTEMS INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad - 500 043 COMPUTER SCIENCE AND ENGINEERING QUESTION BANK Title Code Regulation Structure Coordinator Team of Instructors OPERATING SYSTEMS A50510

More information

5/20/2007. Touring Essential Programs

5/20/2007. Touring Essential Programs Touring Essential Programs Employing fundamental utilities. Managing input and output. Using special characters in the command-line. Managing user environment. Surveying elements of a functioning system.

More information

Lecture 3 Process API in UNIX systems

Lecture 3 Process API in UNIX systems Lecture 3 Process API in UNIX systems Contents In this lecture, you will learn some process creation API, including: How to Create Wait for Execute A process, and Why in such the way. The fork() System

More information

Process. Heechul Yun. Disclaimer: some slides are adopted from the book authors slides with permission

Process. Heechul Yun. Disclaimer: some slides are adopted from the book authors slides with permission Process Heechul Yun Disclaimer: some slides are adopted from the book authors slides with permission 1 Recap OS services Resource (CPU, memory) allocation, filesystem, communication, protection, security,

More information

B. V. Patel Institute of Business Management, Computer &Information Technology, UTU

B. V. Patel Institute of Business Management, Computer &Information Technology, UTU BCA-3 rd Semester 030010304-Fundamentals Of Operating Systems Unit: 1 Introduction Short Answer Questions : 1. State two ways of process communication. 2. State any two uses of operating system according

More information

Review of Fundamentals

Review of Fundamentals Review of Fundamentals 1 The shell vi General shell review 2 http://teaching.idallen.com/cst8207/14f/notes/120_shell_basics.html The shell is a program that is executed for us automatically when we log

More information

Module A: The FreeBSD System

Module A: The FreeBSD System Module A: The FreeBSD System History Design Principles Programmer Interface User Interface Process Management Memory Management File System I/O System Interprocess Communication A.1 History First developed

More information

Module A: The FreeBSD System

Module A: The FreeBSD System Module A: The FreeBSD System History Design Principles Programmer Interface User Interface Process Management Memory Management File System I/O System Interprocess Communication A.1 History First developed

More information

Command-line interpreters

Command-line interpreters Command-line interpreters shell Wiki: A command-line interface (CLI) is a means of interaction with a computer program where the user (or client) issues commands to the program in the form of successive

More information

OS Structure, Processes & Process Management. Don Porter Portions courtesy Emmett Witchel

OS Structure, Processes & Process Management. Don Porter Portions courtesy Emmett Witchel OS Structure, Processes & Process Management Don Porter Portions courtesy Emmett Witchel 1 What is a Process?! A process is a program during execution. Ø Program = static file (image) Ø Process = executing

More information