wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Module I: Introduction to UNIX

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which component acts as a command line interpreter that translates user-entered commands into a language understood by the kernel?

a)

Shell

b)

Daemon

c)

Compiler

d)

Filesystem

2.

A user types a command with optional flags to list files, and the system interprets the command using standard syntax before invoking the appropriate program. Which UNIX component performs this role?

a)

Kernel

b)

Shell

c)

Directory

d)

cp command

3.

Refer to the depicted UNIX architecture where users interact through the Shell layered around the Kernel, which surrounds the Hardware. Which statement best describes the division of labor between the Kernel and the Shell?

a)

The Shell manages hardware devices while the Kernel interprets user commands.

b)

The Kernel is the core that interacts with the machine’s hardware, while the Shell interfaces with the user.

c)

Both Kernel and Shell directly control hardware without mediating user interaction.

d)

The Shell loads the Kernel into memory at startup and remains inactive afterward.

4.

Which step in the Linux bootstrap process involves starting background services by running predefined scripts?

a)

Loading the code and initializing the kernel

b)

Detecting and configuring devices

c)

Execution of system startup scripts

d)

Operator intervention (manual boot only)

5.

In Linux, user programs access hardware by interacting with the kernel through what interface?

a)

Direct hardware drivers

b)

BIOS interrupts

c)

System Calls

d)

Shell pipelines

6.

What accurately describes the relationship between the number of kernels and shells on a running system?

a)

Multiple kernels can run, but only one shell per user

b)

Only one kernel runs, but there can be several shells—one for each logged-in user

c)

One kernel and one shell always run system-wide

d)

Several kernels and shells run, one pair per process

7.

Which statement best describes the UNIX building-block approach using the piping mechanism?

a)

It allows multiple users to log in to the same machine simultaneously.

b)

It lets a user run one job in the foreground and others in the background.

c)

It connects simple tools so the output of one command becomes the input of another, enabling complex text manipulation.

d)

It enables the kernel to terminate suspended jobs automatically.

8.

Which statement best illustrates UNIX pattern matching as described?

a)

Using the command man to view documentation for a command

b)

Combining multiple small tools into a pipeline

c)

Selecting all C source files by specifying the wildcard pattern *.c instead of listing each filename

d)

Declaring variables and loops within the shell

9.

Which command is used to connect to the UNIX system in the login steps shown, after opening cmd?

a)

ssh 10.0.9.222

b)

telnet 10.0.9.222

c)

ftp 10.0.9.222

d)

rlogin 10.0.9.222

10.

In which language UNIX is written?

a)

C

b)

C++

c)

JAVA

d)

PYTHON

11.

Which of the following is not a feature of Unix?

a)

Multiuser





b)

Multitasking

c)

Portability

d)

Easy of use

12.

Which of the following is not a part of all the versions of Unix?

a)

System Calls

b)

Graphical user interface

c)

Kernel and Shell

d)

Commands and utilities

13.

Which command is used to display the documentation of commands in Unix?

a)

whatis

b)

help

c)

search

d)

man

14.

Which command is used for listing files in a directory?

a)

list

b)

ls

c)

ps

d)

wc

15.

Which Unix command is used for counting words, lines, and characters in a file?

a)

count

b)

wc

c)

ls

d)

man

16.

Which of the following cannot be performed by cat command?

a)

appending file

b)

creating files

c)

displaying files

d)

deleting files

17.

Which of the following is not a type of shell?

a)

C shell

b)

Korn shell

c)

Bourne shell

d)

Perl shell

18.

Which command is used to check calendar?

a)

check-calendar

b)

cal

c)

CALENDAR

d)

CAL

19.

Which of the following commands can be used to get information about yourself?

a)

who

b)

pwd

c)

which

d)

who am i

20.

-h option is used with who command for what purpose?

a)

display output with header information

b)

display output with a more detailed version

c)

display output with trailer information

d)

display output in columnar form