ASSIGNMENT 1
a. mv & cp
b. locate & slocate
c. expr & let
d. cmp & diff
10. Write a note on VIRTUAL MEMORY.
11. Explain Process’s Files with relevant data structure & diagram.
12. Explain all the interval timers supported by Linux process.
13. What is meant by Timer ? Explain the different types of Timers.
14. Write a shell script program to count the number of vowels , consonants and
digits in a given text.
15 .Briefly explain the concept of LINUX file system..
16. Explain the following:
i Directory Tree
ii Absolute Pathname
iii Files in the Directory Tree.
iv Directory Access Permission
v File Access Permission
17. Differentiate among Absolute Pathname & Relative Pathname.
18. Explain all the attributes related to ls –al .
19. Describe the concept of File Management.
20. Write a simple shell script program for displaying current date,all logged-in
users,process status using switch-case construct.
ASSIGNMENT 2
i. semget()
ii. msgsnd()
iii msgctl()
16. How to control the access to shared resources by multiple processes.
17. What is meant by Shared Memory? Elaborate the different SYSTEM CALLS comes across it.
18. Illustrate IP address with an example also explain TCP/IP Protocol Layers in detail.
19. Explain Linux Networking Layer in brief.
20. Write a short note on BSD socket interface with an neat data structure.
21. How to Create,Bind , Connect ,Listen an INET BSD Socket.
22. Write a note on IP Layer with relevant data structure.
23. Describe how to send & receive IP packets.
24. Illustrate the significance of /etc/exports file with respect to NFS.
25. Elucidate the different types of booting required for linux installation program.
26. What is partitioning of hard disk drive? Why it is important explain.
27. Describe the possible benefits of partitioning of hard disk drive.
28. Give an example of space works of partitions for installing linux and windows operating systems in one hard disk size of 4.3 Gb. You may use 2 Gb for windows 98 operating system.
29. Explain the usage of /, swap, /home, /usr mount points with respect to linux installation.
30. What is LILO? How it is usefull in Linux.
31. How to perform dual Booting for Linux and Windows with LiLo.
32. Brief the function of the command linuxconf.
33. What is a tar file ? Explain its options in detail.
34. What is a rpm utility? Explain its options in detail.
MODEL QUESTION PAPER
LINUX INTERNALS
MAX MARKS 75
Note: Question
paper contains Part A and Part B.
Answer all questions from Part A.
Answer
any FIVE full questions out of EIGHT from Part B.
Part A
Answer the following questions. 1 X 25=25
1. What is meant by an Operating system ?
2. Linux components include the __________.
a) Kernel b) shell c) file system & user programs d) all of these.
3. The standard way of mounting file systems onto the ____directory.
a) Dev b) mnt c) bin d) all of theseve
4. Binary directory contains ___________.
a) Executable files b) Special pseudo-files
c) Library files d) System log files.
5. The equivalent for COPY in Linux is _____.
a) mv & rm b) cp c)both a) & b) d) None of these
6. tac _______ .
a) concatenates 2 files b) listing a file backwards from its end
c) reverses each line of file d) none of the above
7. rmdir remove directory iff ________.
a) Directory must be empty of all files b) Directory mayn’t be empty
c) Both a) & b) d) None of the above
8. touch command is used for ____________.
a) Updating access/modification times of a file to current system time
b) Creating a new file c) Both a) & b) d) None of the above
9. egrep an acronym for ______.
a) evaluation global regular expression print
b) extensible global regular expression print
c) extended global regular expression print
d) none of the above.
10. If finger is used without an argument ______.
a) it gives information concerning users currently logged in
b) it gives information about a particular user on a network
c) it gives information about all users
d) none of the above
11. Protocol used for connecting to a remote host is _______.
a) ftp b) telnet c) tcp/ip d) none of the above
12. Command used for shutting down the system ______ .
a) halt b )exit c) quit d) logout
13. The following are Network related Commands _______ .
a) Wall b) ftp c) host d) none of the above
14.
Linux is a __________ operating system.
a) Multitasking b) Multiprocessing c) Multithreading
d) all of the above
15. In cloning processes linux _______.
a) Allow the two processes to share resources rather than have two
separate copies
b) Doesn’t allow the multiple processes to share resources rather than
have separate copies c) Allows only for two processes
d) None of the above
16. In pre-emptive scheduling each process is allowed to run for a
_____ amount of time.
a) large b) small c) random d) none of the above
17. Executable images, is ________.
a) Composed of both executable code and data b) Only data
c) Only executable code d) None of the above
18. The acronym for ELF is _______________.
a) Extensible & Linkable Format b) Executable & Linkable Format
c) Executable & Loadble Format d) Extensible & Linkable Format
19. What is Shell?
20. Shell scripts are n’t useful when applications are __________.
a) Complex b) Portable c) Secured d) All of the above.
21. chmod 777 scriptname gives _________ permission.
a) Read/execute b) Read/write/execute c) Read/write d) Write/execute
22. [ “$a” –ne “$b” ] is ________________.
a) Arithmetic comparison b) String comparison
c) Both a) & b) d) Neither a) nor b)
23. Unix systems keeps user account information, including one-way
encrypted passwords, in a text file
called _______ .
a) /etc/password b) /etc/passwd c) /etc/pwd d) /etc/shadow
24. semget() system call is used ______________.
a) to access an existing semaphore set
b) to perform control operations on a semaphore set
c) both a & b
c) none of the above
25. ______ is a reliable end to end protocol that uses IP to transmit and receive
its own packets.
a) TCP b) Telnet c) FTP d) UDP
Part B
Answer any FIVE full questions 10X5=50
a) Explain LINUX Operating System? Also List out advantages & disadvantages
of Linux.
b) Explian different modes of vi-editor.
a) What is meant by process ? Explain it’s states briefly.
b) What is meant by Scheduling? Explain “Round Robin scheduling” technique briefly?
37. 2 X 5=10
Explain the following:
i Directory Tree
ii Absolute Pathname
iii Files in the Directory Tree.
iv Directory Access Permission
v File Access Permission
38. 4 + 6
a) Write a note on the following commands.
i locate
ii find
b) Write a note on the following SYSTEM CALLS
i. semget()
ii. msgsnd()
iii msgctl()
39. 5 + 5
a) How to Create,Bind , Connect ,Listen an INET BSD Socket.
b) Write a note on IP Layer with relevant data structure.
40. 5 + 5
a) What is partitioning of hard disk drive? Why it is important explain.
b) Explain how to create an installatin or boot diskette.
41. 5 + 5
a) What is LILO? How it is usefull in Linux.
b) How to perform dual Booting for Linux and Windows with LiLo.
42. 5 + 5
a) What is a rpm utility? Explain its options in detail.
b) Write a note on Address Resolution Protocol.
___________ GOOD LUCK ________________