Wednesday, 1 June 2016

Quiz 1 - OS

The quiz 1 covers tutorial 1 Compuer Hardware and lab 1.

Question 1

Which of the following command lines would redirect the output of the cal command into the file /tmp/calout.txt?
Correct Answer:
 cal > /tmp/calout.txt

 Question 2
Using the information provided below, which of the following commands could blondie use to view the contents of the file spam?

[blondie@station blondie]$ pwd
/home/blondie
[blondie@station blondie]$ ls
Mail README
[blondie@station blondie]$ ls Mail
received sent spam


Correct Answer:
 cat /home/blondie/Mail/spam 

  Question 3
Which of the following characters does the bash shell use for redirecting output?
Correct Answer:
 > 

 Question 4
Using the bash shell, tab completion can save the user from typing which of the following items?
Correct Answer:
 File names and Command Names

 Question 5

Which of the following control sequences suspends the foreground process?
Correct Answer:
CTRL-Z


Question 6
The part of the operating system that manages the hard disk is called the __________.
Correct Answer:
 Files and secondary storage manager.

Question 7
Explain the term multi tasking when applied to operating systems.
Correct Answer:
 It is the method where multiple tasks are performed during the same time period.

 Question 8
The part of the operating system that manages the mouse, keyboard and video card is called the __________.
Correct Answer:
 I/O device manager.

 Question 9
The interface between the user and the applications is the
Correct Answer:
 User interface.

   Question 10
Name the two interfaces that a firmware programmer will be using for his work.
Correct Answer:  Hardware interface and device driver interface.

Question 11

Which key(s) does the bash shell use to speed typing of commands and filename by filling or suggesting possible choices?
Correct Answer:
 TAB


Question 12
Explain the term time slice operation when applied to operating systems.
Correct Answer:

The operating systems assigns a short CPU time to one job after another. When a job’s assigned time  comes to an end the operating system suspends the job execution and another job starts running.

Question 13
Which of the following devices below is not an input device?
Correct Answer:
 Printer.

Question 14
Which of the following design structures is used by the Mach microkernel?
Correct Answer:
 Client-server.

Question 15
Which of the following commands lists users currently logged onto a Linux system?
Correct Answer:

who




Question 16
A Microsoft XBox and a Sony Playstation 2 is considered as what type of computer system?


Correct Answer:
 A game console


 Question 17

The DEC PDP and the DEC VAX are examples of a __________.
Correct Answer:
 Minicomputer.
Question 18
If you typed "cat -A /etc/services", What is the role of "-A"?


Correct Answer:
 A command line switch


Question 19
Which of the following control sequences terminates the foreground process?


Correct Answer:
CTRL-C
Question 20
Using the information listed below for information, Which of the following commands could blondie use to list the contents of the Mail directory?

[blondie@station blondie]$ pwd
/home/blondie
[blondie@station blondie]$ ls
Mail README

Correct Answer:
 ls Mail

      Question 21

A minicomputer is a __________ generation computer system.


Correct Answer:
Third.

      Question 22

A mainframe is a __________ generation computer system.


Correct Answer:
 Second.


Question 23

Which of the following OS shared the least features with unix operating systems?


Correct Answer:
 Microsoft operating system

  Question 24

Linux is a __________ operating system.


Correct Answer:
 Multi-user, multi-tasking.

Question 25

Comparing the four computer systems below, which is the one that has been first used and deployed as earliest computer generation?


Correct Answer:
 Mainframe.

 Question 26

Which of the following devices below is not an input/output device?


Correct Answer:
 Modem.


No comments:

Post a Comment