SlideShare a Scribd company logo
2
Most read
3
Most read
AMITY SCHOOL OF DISTANCE LEARNING
Post Box No. 503, Sector-44
Noida – 201303
Unix & Shell programming
(MCA)
Assignment A
Marks 10
Answer all questions.
1. Discuss the features of UNIX operating system that have made them such
phenomenally successful Operating systems.
2. What is shell programming? Write a shell program to print all the contents of an existing text
file in upper case
3. Describe what the grep command does? Illustrate its use with an original
example.
4. Write a shell program to generate the first “n” terms of the following sequence without using
multiplication.
1 2 4 8 16 32………
5. What are filters? Give some examples of commands that can be used as filters
Unix & Shell programming
(MCA)
Assignment B
Marks 10
Answer all questions.
1. What are the different kinds of file systems available to UNIX operating system.
2. Write shell programs for the following:
i. To find second largest number among the 5 numbers given.
ii. To find sum of all the alternate digits in a given 7 digit number.
iii. To count number of vowels in a given string.
iv. To take 2 strings as input, concatenate them and display the length of the resultant
string.
v. To display the reverse of a given number.
3. Write the UNIX commands for the following
i) To display the sizes and names of the six largest files in /bin, listed in descending
order of their size.
ii) To display the number of words in the last 250 lines of any file.
iii) To display the name of the oldest file (and only the oldest file) in the current working
directory.
iv) To show the number of all files and directories (including hidden ones, but not. or.) in
the directory /bin.
v) Use the ps command, and the grep command, in a pipeline to find all the processes
owned by you.
4. Read the case description given below and answer the question contained
CASE STUDY
What is an i-node and what information is contained in it? Describe how named files are mapped
to i-nodes. How is the information associating disc blocks with i-nodes represented? What
restrictions are placed on name to i-node links to simplify file system recovery?
Unix & Shell programming
(MCA)
Assignment C
Marks 10
Answer all questions.
1. UNIX uses ls to list files in a directory. The corresponding command in MS
environment is--
a) lf
b) list
c) c dir
d) None of above
2. A file with extension .txt--
a) Is a text file created using vi editor
b) Is a text file created using a notepad
c) Is a text file created using word
d) a) & b) above
3. What is POSIX?
a) A standard operating system interface and environment.
b) A version of the UNIX operating system.
c) A portable platform for Java programming.
d) A subsystem of Windows NT, 2000 and XP that isolates the Executive from
platform-specific hardware differences
4. Which of the following files in the current directory are identified by the regular
expression a?b*.
a) afile
b) aab
c) abb
d) abc
e) axbb
f) f. abxy
5. For some file the access permissions are modified to 764. Which of the following
interpretation are valid?
a) Every one can read, group can execute only and the owner can read and write.
b) Every one can read and write, but owner alone can execute.
c) Every one can read, group including owner can write, owner alone can execute
d) None of above
6. The file’s properties in Windows environment include which amongst the following?
a) File owners’ name
b) File size
c) The date of last modification
d) Date of file creation
e) The folder where it is located
7. Which of the following information is contained in inode structure?
a) The file size
b) The name of the owner of the file
c) The access permissions for the file
d) All the dates of modification since the file’s creation
e) The number of symbolic links for this file
8. What are utilities?
a) Peripherals that are connected to a computer.
b) Operating system routines that execute in supervisor mode.
c) Data structures that are part of the kernel of an operating system.
d) Shells, compilers and other useful system programs.
9. Which directory under the root contains the information on devices?
a) /usr/bin
b) /usr/sbin
c) /usr/peripherals/dev
d) /etc/dev
10. What is the command ‘mv’ used for in Unix?
a) To display the files in current directory
b) To rename a file
c) To move to a different directory
d) To open a file in the Main Viewer
e) e. None of the Above
11. What is the result of typing the command pwd?
a) It allows you to change the password
b) It allows you to enter your password to log in
c) It will display the name of your computer
d) It will show your current location in the file system
e) It will display a list of Protected Web Documents
12. Which unix command will display all files starting with an a?
a) mv a*
b) cd
c) ls
d) ls a*
e) ls *a
f) ls a
13. Unix Operating System is--
a) Time Sharing Operating System
b) Multi-User Operating System
c) Multi-tasking Operating System
d) All the Above
14. The program is known as _________ that interacts with the inner part of called kernel.
a) Compiler
b) Device Driver
c) Protocol
d) Shell
15. Identify the odd thing in the services of operating system--
a) Accounting
b) Protection
c) Error detection and correction
d) None of above
16. Dead lock handling in ______ OS, the response time is very critical.
a) Multitasking
b) Batch
c) Online
d) Real-time
17. Software is a program that directs the overall operation of the computer facilitates its use and
interacts with the user. What are the different types of such software?
a) Operating system
b) Language Compiler
c) Utilities
d) All of the above
18. PCB stands for--
a) Program Control Block
b) Process Control Block
c) Process Communication Block
d) None of the above
19. The primary job of the operating system of a computer is to--
a) Command Resources
b) Manage Resources
c) Provide Utilities
d) Be user friendly
20. Super computers typically employ--
a) Real time Operating system
b) Multiprocessors OS
c) Desktop OS
d) None of the above
21. Which one of the following statements correctly describes the relationship between the
processes and programs in a computer system at any given moment?
a) Every program stored in secondary memory must be associated with a process.
b) A different program must be associated with every process.
c) Several programs may be associated with the same process.
d) Several processes may be associated with the same program.
22. Multiprogramming systems --
a) Are easier to develop than single programming systems
b) Execute each job faster
c) Execute more jobs in the same time
d) Are used only on large main frame computers
23. Multiprocessing--
a) Make the operating system simpler
b) Allows multiple processes to run simultaneously
c) Is completely understood by all major computer vendors
d) Allows the same computer to have the multiple processors
24. Which is not the state of the process?
a) Blocked
b) Running
c) Ready
d) Privileged
25. The operating system of a computer serves as a software interface between the user and the-
a) Hardware
b) Peripheral
c) Memory
d) Screen
26. A process is--
a) Program in execution
b) A concurrent program
c) Any sequential program
d) Something Which Prevents Deadlock
27. The kernel of the operating system remains in the primary memory because--
a) It is mostly called (used)
b) It manages all interrupt calls
c) It controls all operations in process
d) It is low level
28. Which of the following statement is not true?
a) Multiprogramming implies multitasking
b) Multi-user does not imply multiprocessing
c) Multitasking does not imply multiprocessing
d) Multithreading implies multi-user
29. The term “Operating System " means--
a) A set of programs which controls computer working
b) The way a computer operator works
c) Conversion of high-level language in to machine level language
d) The way a floppy disk drive operates
30. What is a shell?
a) It is a hardware component
b) It is a command interpreter
c) It is a part in compiler
d) It is a tool in CPU scheduling
31. The operating system manages--
a) Memory
b) Processor
c) Disk and I/O devices
d) All of the above
32. chown means--
a) Changes the mode of operation to kernel mode
b) Creates a thread
c) Changes the users and/or group ownership of each given file
d) Creates a child process
33. The process which terminates before the parent process exits, is called as--
a) Zombie
b) Orphan
c) Child
d) None of above
34. Identify the point(s) that is not true w.r.t. signals--
a) Signals are software generated interrupts that are sent to a process when an
event happens
b) Signal delivery is analogous to hardware interrupts in that a signal can be
blocked from being delivered in the future.
c) Most signals are synchronous by nature.
d) Most signal cause termination of the receiving process if no action is taken by the
process in response to the signal
35. ---------Works as a command interpretor.
a) Hardware
b) Kernal
c) Shell
d) CPU
36. An important task that the operating system performs is____, which keeps track of the files
stored on a PC so that they can be retrieved when needed.
a) File management
b) File listing
c) File recovery
d) Disk management
37. The means by which an operating system or any other program interacts with the user is
called--
a) user login
b) program front-end
c) user interface
d) programming interface
38. ---------- was originally developed at AT&T Bell Labs as an operating system
a) Linux
b) Solaris
c) Mac OS X
d) UNIX
39. For multiprogramming systems, most UNIX operating systems use--
a) Swapping
b) Demand paging
c) Either (a) or (b)
d) Neither (a) nor (b)
40. What are the tasks of an Operating System?
a) To manage all hardware and software resources
b) To Allow creation of documents, images and music
c) To provide a user interface
d) All of the above
e) A and c only
f) B and c only

More Related Content

What's hot (20)

PPTX
Memory management in operating system | Paging | Virtual memory
Shivam Mitra
 
PDF
Ch1
nubinny
 
PPT
Shell and its types in LINUX
SHUBHA CHATURVEDI
 
PPTX
History of operating systems
Afrasiyab Haider
 
PPT
Memory management early_systems
Mybej Che
 
PPTX
Allocation and free space management
rajshreemuthiah
 
DOCX
Storage Area Networks Unit 4 Notes
Sudarshan Dhondaley
 
PPTX
Unix Operating System
MahakKasliwal
 
PPTX
The Message Passing Interface (MPI) in Layman's Terms
Jeff Squyres
 
PPT
Unix File System
student(MCA)
 
PPTX
Unix Introduction
ananthimurugesan
 
PDF
Computer Organization
anishgoel
 
DOCX
Windows deployment services (wds) trên windows server 2008
laonap166
 
PPT
Real-Time Scheduling
sathish sak
 
PPTX
Management of I/O request & Communication among devices
Manish Halai
 
PPT
Ch3: Operating System Structure
Ahmar Hashmi
 
PDF
BasicLinux
Aureliano Bombarely
 
PPTX
Chapter 9 Operating Systems silberschatz
GiulianoRanauro
 
PDF
IT Essentials (Version 7.0) - ITE Chapter 10 Exam Answers
ITExamAnswers.net
 
PPTX
Unix operating system
ABhay Panchal
 
Memory management in operating system | Paging | Virtual memory
Shivam Mitra
 
Ch1
nubinny
 
Shell and its types in LINUX
SHUBHA CHATURVEDI
 
History of operating systems
Afrasiyab Haider
 
Memory management early_systems
Mybej Che
 
Allocation and free space management
rajshreemuthiah
 
Storage Area Networks Unit 4 Notes
Sudarshan Dhondaley
 
Unix Operating System
MahakKasliwal
 
The Message Passing Interface (MPI) in Layman's Terms
Jeff Squyres
 
Unix File System
student(MCA)
 
Unix Introduction
ananthimurugesan
 
Computer Organization
anishgoel
 
Windows deployment services (wds) trên windows server 2008
laonap166
 
Real-Time Scheduling
sathish sak
 
Management of I/O request & Communication among devices
Manish Halai
 
Ch3: Operating System Structure
Ahmar Hashmi
 
Chapter 9 Operating Systems silberschatz
GiulianoRanauro
 
IT Essentials (Version 7.0) - ITE Chapter 10 Exam Answers
ITExamAnswers.net
 
Unix operating system
ABhay Panchal
 

Viewers also liked (8)

PDF
Bai tap trac nghiem dao dong co
Huyen Trang Nu
 
PPTX
Important Messege from Holy Quran
Khawaja Umer Farooq Uddin
 
PPTX
Hajj - Journey of Life Time
Khawaja Umer Farooq Uddin
 
PPTX
2012 Youth, Media Consumption and Convergence
Rede Brasil Conectado
 
PPT
New Roles of Human Resources
Maryrose Amparo
 
PPTX
Malcolm Knowles
casimmons
 
PPSX
Product Mix - decisions and strategies
Maryrose Amparo
 
PDF
2015 Ad Blocking Report - The Cost of Adblocking
PageFair
 
Bai tap trac nghiem dao dong co
Huyen Trang Nu
 
Important Messege from Holy Quran
Khawaja Umer Farooq Uddin
 
Hajj - Journey of Life Time
Khawaja Umer Farooq Uddin
 
2012 Youth, Media Consumption and Convergence
Rede Brasil Conectado
 
New Roles of Human Resources
Maryrose Amparo
 
Malcolm Knowles
casimmons
 
Product Mix - decisions and strategies
Maryrose Amparo
 
2015 Ad Blocking Report - The Cost of Adblocking
PageFair
 
Ad

Similar to Assignment unix & shell programming (20)

PDF
Operating System MCQs.pdf
IT Eagers
 
PDF
UNIX Questions OS and Commands MCQ with Answers
SONU HEETSON
 
TXT
Unix
Shohan Ahmed
 
DOCX
Unix1
girdharitrupti
 
PDF
Mc7404 np final
moorthy muppidathi
 
PPTX
Operating system quiz
Rajandeep Gill
 
DOCX
Anhnh osg202-1
QuynBiVn1
 
PDF
Say whether each of the following statements is true (“T”) or false .pdf
RBMADU
 
PDF
unit 1 MCQ 316.pdf
RohitkumarYadav80
 
PDF
Operating System MCQ (OS Most Important Question)
SONU HEETSON
 
DOCX
1. This is a real test, which means you must do your own w.docx
jackiewalcutt
 
PPTX
Unix case-study
NishantMishra126
 
DOCX
Quiz 4 soution
Syeda Seemab Fatima
 
PDF
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
zwgbaqfe024
 
PDF
Operating system. short answes and Interview questions .pdf
harikrishnahari6276
 
PDF
M.c.a. (sem ii) operating systems
Tushar Rajput
 
PDF
資管所作業系統補充考卷(適用交大、政大、中山、成大)
逸 張
 
PDF
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
swaedineriya55
 
PDF
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
gvidonaquin
 
PDF
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
kubibne4336
 
Operating System MCQs.pdf
IT Eagers
 
UNIX Questions OS and Commands MCQ with Answers
SONU HEETSON
 
Mc7404 np final
moorthy muppidathi
 
Operating system quiz
Rajandeep Gill
 
Anhnh osg202-1
QuynBiVn1
 
Say whether each of the following statements is true (“T”) or false .pdf
RBMADU
 
unit 1 MCQ 316.pdf
RohitkumarYadav80
 
Operating System MCQ (OS Most Important Question)
SONU HEETSON
 
1. This is a real test, which means you must do your own w.docx
jackiewalcutt
 
Unix case-study
NishantMishra126
 
Quiz 4 soution
Syeda Seemab Fatima
 
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
zwgbaqfe024
 
Operating system. short answes and Interview questions .pdf
harikrishnahari6276
 
M.c.a. (sem ii) operating systems
Tushar Rajput
 
資管所作業系統補充考卷(適用交大、政大、中山、成大)
逸 張
 
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
swaedineriya55
 
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
gvidonaquin
 
Guide to Computer Forensics and Investigations 5th edition Bill Test Bank
kubibne4336
 
Ad

Recently uploaded (20)

PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Q2 Leading a Tableau User Group - Onboarding
lward7
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Q2 Leading a Tableau User Group - Onboarding
lward7
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 

Assignment unix & shell programming

  • 1. AMITY SCHOOL OF DISTANCE LEARNING Post Box No. 503, Sector-44 Noida – 201303 Unix & Shell programming (MCA) Assignment A Marks 10 Answer all questions. 1. Discuss the features of UNIX operating system that have made them such phenomenally successful Operating systems. 2. What is shell programming? Write a shell program to print all the contents of an existing text file in upper case 3. Describe what the grep command does? Illustrate its use with an original example. 4. Write a shell program to generate the first “n” terms of the following sequence without using multiplication. 1 2 4 8 16 32……… 5. What are filters? Give some examples of commands that can be used as filters Unix & Shell programming (MCA) Assignment B Marks 10 Answer all questions. 1. What are the different kinds of file systems available to UNIX operating system. 2. Write shell programs for the following: i. To find second largest number among the 5 numbers given. ii. To find sum of all the alternate digits in a given 7 digit number. iii. To count number of vowels in a given string. iv. To take 2 strings as input, concatenate them and display the length of the resultant string. v. To display the reverse of a given number. 3. Write the UNIX commands for the following i) To display the sizes and names of the six largest files in /bin, listed in descending order of their size. ii) To display the number of words in the last 250 lines of any file. iii) To display the name of the oldest file (and only the oldest file) in the current working directory. iv) To show the number of all files and directories (including hidden ones, but not. or.) in the directory /bin. v) Use the ps command, and the grep command, in a pipeline to find all the processes owned by you. 4. Read the case description given below and answer the question contained CASE STUDY
  • 2. What is an i-node and what information is contained in it? Describe how named files are mapped to i-nodes. How is the information associating disc blocks with i-nodes represented? What restrictions are placed on name to i-node links to simplify file system recovery? Unix & Shell programming (MCA) Assignment C Marks 10 Answer all questions. 1. UNIX uses ls to list files in a directory. The corresponding command in MS environment is-- a) lf b) list c) c dir d) None of above 2. A file with extension .txt-- a) Is a text file created using vi editor b) Is a text file created using a notepad c) Is a text file created using word d) a) & b) above 3. What is POSIX? a) A standard operating system interface and environment. b) A version of the UNIX operating system. c) A portable platform for Java programming. d) A subsystem of Windows NT, 2000 and XP that isolates the Executive from platform-specific hardware differences 4. Which of the following files in the current directory are identified by the regular expression a?b*. a) afile b) aab c) abb d) abc e) axbb f) f. abxy 5. For some file the access permissions are modified to 764. Which of the following interpretation are valid? a) Every one can read, group can execute only and the owner can read and write. b) Every one can read and write, but owner alone can execute. c) Every one can read, group including owner can write, owner alone can execute d) None of above 6. The file’s properties in Windows environment include which amongst the following? a) File owners’ name b) File size c) The date of last modification d) Date of file creation
  • 3. e) The folder where it is located 7. Which of the following information is contained in inode structure? a) The file size b) The name of the owner of the file c) The access permissions for the file d) All the dates of modification since the file’s creation e) The number of symbolic links for this file 8. What are utilities? a) Peripherals that are connected to a computer. b) Operating system routines that execute in supervisor mode. c) Data structures that are part of the kernel of an operating system. d) Shells, compilers and other useful system programs. 9. Which directory under the root contains the information on devices? a) /usr/bin b) /usr/sbin c) /usr/peripherals/dev d) /etc/dev 10. What is the command ‘mv’ used for in Unix? a) To display the files in current directory b) To rename a file c) To move to a different directory d) To open a file in the Main Viewer e) e. None of the Above 11. What is the result of typing the command pwd? a) It allows you to change the password b) It allows you to enter your password to log in c) It will display the name of your computer d) It will show your current location in the file system e) It will display a list of Protected Web Documents 12. Which unix command will display all files starting with an a? a) mv a* b) cd c) ls d) ls a* e) ls *a f) ls a 13. Unix Operating System is-- a) Time Sharing Operating System b) Multi-User Operating System c) Multi-tasking Operating System d) All the Above 14. The program is known as _________ that interacts with the inner part of called kernel.
  • 4. a) Compiler b) Device Driver c) Protocol d) Shell 15. Identify the odd thing in the services of operating system-- a) Accounting b) Protection c) Error detection and correction d) None of above 16. Dead lock handling in ______ OS, the response time is very critical. a) Multitasking b) Batch c) Online d) Real-time 17. Software is a program that directs the overall operation of the computer facilitates its use and interacts with the user. What are the different types of such software? a) Operating system b) Language Compiler c) Utilities d) All of the above 18. PCB stands for-- a) Program Control Block b) Process Control Block c) Process Communication Block d) None of the above 19. The primary job of the operating system of a computer is to-- a) Command Resources b) Manage Resources c) Provide Utilities d) Be user friendly 20. Super computers typically employ-- a) Real time Operating system b) Multiprocessors OS c) Desktop OS d) None of the above 21. Which one of the following statements correctly describes the relationship between the processes and programs in a computer system at any given moment? a) Every program stored in secondary memory must be associated with a process. b) A different program must be associated with every process. c) Several programs may be associated with the same process. d) Several processes may be associated with the same program. 22. Multiprogramming systems -- a) Are easier to develop than single programming systems
  • 5. b) Execute each job faster c) Execute more jobs in the same time d) Are used only on large main frame computers 23. Multiprocessing-- a) Make the operating system simpler b) Allows multiple processes to run simultaneously c) Is completely understood by all major computer vendors d) Allows the same computer to have the multiple processors 24. Which is not the state of the process? a) Blocked b) Running c) Ready d) Privileged 25. The operating system of a computer serves as a software interface between the user and the- a) Hardware b) Peripheral c) Memory d) Screen 26. A process is-- a) Program in execution b) A concurrent program c) Any sequential program d) Something Which Prevents Deadlock 27. The kernel of the operating system remains in the primary memory because-- a) It is mostly called (used) b) It manages all interrupt calls c) It controls all operations in process d) It is low level 28. Which of the following statement is not true? a) Multiprogramming implies multitasking b) Multi-user does not imply multiprocessing c) Multitasking does not imply multiprocessing d) Multithreading implies multi-user 29. The term “Operating System " means-- a) A set of programs which controls computer working b) The way a computer operator works c) Conversion of high-level language in to machine level language d) The way a floppy disk drive operates 30. What is a shell? a) It is a hardware component b) It is a command interpreter c) It is a part in compiler d) It is a tool in CPU scheduling 31. The operating system manages-- a) Memory b) Processor
  • 6. c) Disk and I/O devices d) All of the above 32. chown means-- a) Changes the mode of operation to kernel mode b) Creates a thread c) Changes the users and/or group ownership of each given file d) Creates a child process 33. The process which terminates before the parent process exits, is called as-- a) Zombie b) Orphan c) Child d) None of above 34. Identify the point(s) that is not true w.r.t. signals-- a) Signals are software generated interrupts that are sent to a process when an event happens b) Signal delivery is analogous to hardware interrupts in that a signal can be blocked from being delivered in the future. c) Most signals are synchronous by nature. d) Most signal cause termination of the receiving process if no action is taken by the process in response to the signal 35. ---------Works as a command interpretor. a) Hardware b) Kernal c) Shell d) CPU 36. An important task that the operating system performs is____, which keeps track of the files stored on a PC so that they can be retrieved when needed. a) File management b) File listing c) File recovery d) Disk management 37. The means by which an operating system or any other program interacts with the user is called-- a) user login b) program front-end c) user interface d) programming interface 38. ---------- was originally developed at AT&T Bell Labs as an operating system a) Linux b) Solaris c) Mac OS X
  • 7. d) UNIX 39. For multiprogramming systems, most UNIX operating systems use-- a) Swapping b) Demand paging c) Either (a) or (b) d) Neither (a) nor (b) 40. What are the tasks of an Operating System? a) To manage all hardware and software resources b) To Allow creation of documents, images and music c) To provide a user interface d) All of the above e) A and c only f) B and c only