



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Semester 1 Examinations 2011/
Module Code: COMP 7020
School: Mathematics & Computing
Programme Title: Bachelor of Science in Computing - Award Bachelor of Science (Honours) in IT Management Higher Certificate in Science in Computing in Information Technology Support – Year 2 Higher Certificate in science in Computing – Year 2
Programme Code: KCOMP_7_Y KITMN_8_Y KITSU_6_Y KCOME_6_Y
External Examiner(s): Ms. Ann Meagher Internal Examiner(s): Mr. Gerard Mac Sweeney
Instructions: Answer 4 questions. All questions are worth equal marks
Duration: 2 Hours
Sitting: Winter 2011/
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination. If in doubt please contact an Invigilator.
(a) Name three Linux distributions. ( 3 Marks )
(b) What is the purpose of a UNIX / Linux shell? ( 2 Marks )
(c) Write down examples of two shells. ( 2 Marks )
(d) Write down the name of the UNIX / Linux editor one would find on all UNIX and Linux distributions. ( 2 Marks )
(e) Write down two advantages of using Linux over other operating systems. ( 2 Marks )
(f) Write down one disadvantage of using Linux. ( 1 Mark )
(g) Explain how an administrator might allow some users to be able to read and copy from a specific directory but to prevent others from doing so. ( 3 Marks )
(h) Name two popular Linux graphical user interfaces. ( 2 Marks )
(i) Write an interactive shell script which creates a Linux account for a user. The script should prompt the user for a name, generate a password, provide a home directory and make the user a member of the group students. ( 8 Marks )
(a) With the aid of an appropriate diagram, describe the UNIX block addressing scheme. ( 8 Marks )
(b) What is an i-node? ( 2 Marks )
(c) What kind of information is held in an i-node? ( 4 Marks )
(d) Name two other methods of disk space allocation and write down an advantage and a disadvantage of each ( 6 Marks )
(e) Explain why UNIX block addressing is suitable for both small and large files. ( 2 Marks )
(f) If each block is 1k and can hold up to 256 addresses, calculate the largest file that could be accommodated. ( 3 Marks )
(a) Explain what is meant by partitioning a disk? ( 2 Marks )
(b) Write down four advantages of partitioning a disk. ( 4 Marks )
(c) How many primary partitions would an intel disk normally have? ( 1 Mark )
(d) What is an extended partition? ( 3 Marks )
(e) What is a boot loader? ( 2 Marks )
(f) Where would the boot loader normally be located? ( 2 Marks )
(g) Write down two examples of boot loaders? ( 2 Marks )
(h) Consider the following file listing:
lrwxrwxrwx 1 bill staff 11 Oct 8 12:42 myFile -> /etc/passwd
Explain the purpose of this file. ( 2 Marks )
(i) What does the 1 (second item in (h) above) mean? ( 2 Marks )
(j) What is the purpose of both hard and soft links? ( 2 Marks )
(k) What are the differences between hard and soft links? ( 3 Marks )