



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 2008/
Module Code: COMP
School: School of Computing and Mathematics
Programme Title: Bachelor of Science in Computing in Information Technology Support – Award Bachelor of Science in Computing in Information Technology Support – Award (ACCS)
Programme Code: KITSU_7_Y
External Examiner(s): Mr. J. Greenslade Internal Examiner(s): K. O Connell, G. McSweeney
Instructions: Answer FOUR questions. All questions are worth equal marks.
Duration: 2 Hours Sitting: Winter 2008 Requirements for this examination:
Note to Candidates: correct examination paper. Please check the Programme Title and the Module Title to ensure that you have received the If in doubt please contact an Invigilator.
Q1. (a) Explain the purpose of the UNIX utilities awk and sed. Give an example of how each could be used. ( 6 Marks ) (b) What is a daemon? ( 2 Marks ) (c) How can you tell if a service is running? ( 2 Marks ) (d) Name the services which can schedule jobs. What is the difference between them? ( 5 Marks ) (e) Describe, with the aid of a diagram, how NFS works. What software needs to be running to facilitate NFS? ( 5 Marks ) (f) Apart from NFS and the scheduling services, write down examples of three Linux services.( 3 Marks )
(g) How could an administrator check what processes are running? ( 2 Marks )
(a) State two reasons why Linux passwords are regarded as being secure. ( 2 Marks ) (b) Why is it dangerous to use a dictionary word as a password? ( 2 Marks ) (c) Three users bill, mary and jane have accounts on a Linux system. The administrator wants bill and mary to be able to use (read + execute) a browser; and, mary and jane to be able to use a compiler. The administrator wants to prevent jane using the browser and bill using the compiler. Assume the compiler and browser are single executable files: compilerProg and browserProg respectively. Describe how the administrator should configure the system.( 5 Marks )
(d) Why is single key encryption unsuitable for internet traffic? ( 2 Marks ) (e) Describe how a public key encryption algorithm might be used for two users to communicatesecurely. ( 4 Marks )
(f) Which Linux file can be configured to enable users to use privileged commands? ( 2 Marks ) (g) Describe how an email virus might work? ( 3 Marks ) (h) Write down an example of an independent boot loader. ( 1 Mark ) (i) Why might a process be blocked? ( 2 Marks ) (j) What is meant by a suspended process? ( 2 Marks )
(a) Distinguish between long term, medium term and short term processing scheduling algorithms. ( 6 Marks ) (b) Write down an example of a non pre-emptive process scheduling algorithm. ( 1 Mark ) (c) What is the usual default run level in a typical Linux system? ( 1 Mark ) (d) In what file, would the default run level be declared? ( 1 Mark ) (e) What is the first process that’s run when Linux boots up? ( 1 Mark ) (f) Write a shell script which backs up all the configuration files in the /etc directory. The backupshould be placed in the directory /media/backupMedia (which is on a remote site). ( 5 Marks ) (g) What is a bottleneck? ( 2 Marks ) (h) In Linux, what file should be configured to set quotas on a filesystem? ( 1 Mark ) (i) With reference to disk quotas, explain the terms hard limit , soft limit and grace period. ( 3 Marks ) (j) What is the purpose of the edquota command? ( 2 Marks ) (k) Why is it important for an administrator to know what programs (e.g. daemons) are running in the background? ( 2 Marks )