Free Essay

Nmq8 Revision Question

In:

Submitted By Selebogo
Words 431
Pages 2
Botho University

NMQ8 QUESTION BANK
FOR
LINUX BOOKS

SECTION A QUESTIONS 1. What are the features of Linux OS?(5) 2. What are the advantages of Linux?(3) 3. What is the Kernel and its usage?(3) 4. Discuss the three types of Linux users.(6) 5. Where is the difference between a logical volume and a physical volume?(4) 6. What is RAID and its usage?(6) 7. Which directory contains system settings and configuration files?(2) 8. What are the features of the X-Window System? 9. Where is the difference between a swap partition and a primary partition?(3) 10. Complete the following table of Linux commands. [5] Command | Description | ls | | | Display contents of a file | | Changes the current working directory | vi | | mkswap | | | |

11. A file has the following writes “-r-x-rxr-x”
Convert this into a numeric value. (5) 12. What is the output of the following code segment? (5)

x=1 while [ x le 30 ] do w=expr 10 \* $x echo “ $x ” x = $((x + 2)) done SECTION B QUESTIONS 1. When you install Linux OS you need to select an appropriate installation method.[10] i. Give one (1) factor that affect or determine the installation method to be selected.[2] ii. State and discuss any five (4) Linux installation methods[8]

2. X Window System consist of various components called sub system. i. Give three sub system of X Window System.[3] ii. State and discuss the three main features of the X Window System.[7]

3. Steve needs to initialize the hard disk for storing data. To do this he needs to divide this into multiple partitions. i. What is a partition? [2] ii. State and describe various types of partitions in Linux.[8]

4. [10] i. With the aid of drawings, describe the Linux file system structure. Identify some directories that make the structure.[5] ii. State and discus two types of Linux file system.[5]

5. Discuss steps of the Linux booting process.[10]

6. [10] a. What does the following command do? [2]
$ chmod u+x book.tb b. Given the file permission “-rwx--xr--” [2] (i) What is the file type? (ii) Write the file permission in absolute mode. c. What is a standard input file [1] d. What is a standard output file [1] e. What do the following commands do? [4] (i) $ cat 0 < test1 [1] (ii) $ cat test1 > test2[1] (iii) $ ls | sort –r |cat test1 [2] 7. Write a bash script that will display the following output [10]
1-5-9-13-17

Similar Documents