Cop 015 Unix Exam Question Paper
Cop 015 Unix Exam
Course:Bachelor Of Science In Computer Science
Institution: The Presbyterian University Of East Africa question papers
Exam Year:2016
PRESBYTERIAN UNIVERSITY OF EAST AFRICA
NAKURU TOWN CAMPUS
COP 015 UNIX EXAM
(3 Students)
QUESTION ONE (30 MARKS)
a) Define the term UNIX. Describe the parts of the UNIX system. [5 MKS]
b) Explain the following commands. [10 MKS]
i. Mkdir
ii. Cd
iii. Pwd
iv. Cp
v. Ls
c) Describe the term process. Briefly explain the modes of running a process. How do you check the information on a process? [7 MKS]
d) Using an illustration, indicate different ways of compressing a file. [4 MKS]
e) What are some of the things which make Linux an operating system of choice? [4 MKS]
QUESTION TWO (15 MARKS)
a) Using examples, describe different types of environment variables. [6 MKS]
b) What is the difference between PATH and path? [2 MKS]
c) Describe four different types of files of a UNIX system. [4 MKS]
d) Permissions are defined for three types of users, give and explain.
QUESTION THREE (15 MARKS) [3 MKS]
a) Define the following terms: root password, Root user account. [4 MKS]
b) How do you change the root password? [2 MKS]
c) Red Hat Linux and Fedora Core support seven run levels, briefly discuss them.[7 MKS]
d) How do you configure a firewall? [2 MKS]
QUESTION FOUR (15 MARKS)
a) Briefly describe the text editors in a Linux based system. [6 MKS]
b) What command would be used to view your history list in the command prompt for the last 8 entries? [2 MKS]
c) Illustrate how to create a user account from the shell prompt. [5 MKS]
d) What is the output of the following command?
$ echo “I am $[2007 - 1957] years old.” [2 MKS]
More Question Papers
Exams With Marking Schemes