wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

POP02

Total questions: 74

Worksheet time: 37mins

Name
Class
Date
1.

In Linux, which command is used see the list of users who are currently logged-in? Select one:

a)

login

b)

users

c)

who

d)

which

2.

Which of the following command is used to count number of lines in a file? Select one:

a)

wc -l

b)

wc -c

c)

wc -w

3.

In Linux, what command is used with vi editor to delete a single character? Select one:

a)

a

b)

z

c)

y

d)

x

4.

Which command is/are used to remove directory in Linux? Select one:

a)

rmdir

b)

rm -r

c)

rmdir or rm -r

5.

In Linux, which of the following command is used to know last shutdown/reboot date and time? Select one:

a)

last

b)

lastreboot

c)

lastlogin

d)

lastshutdown

6.

In Linux, what file specifies the order in which to use specified name services? Select one:

a)

/etc/nsswitch.conf

b)

/etc/nsorder

c)

/etc/services

d)

/etc/hosts

7.

Which of the following command is used to count number of lines in a file in Linux? Select one:

a)

wc -l

b)

wc -c

c)

wc -w

8.

The system calls in UNIX is written using which language Select one:

a)

Assembly Language

b)

Fortran

c)

C++

d)

C

9.

In Linux environment, at start of process execution, STDOUT & STDERR Select one:

a)

Point to special files on the system

b)

Are closed

c)

Point to current terminal device

10.

Which of the following command is used to create file in Linux? Select one:

a)

cat

b)

echo

c)

touch

d)

all of the choices are correct

11.

In Linux, which command is used to list all the files in your current directory (including hidden)? Select one:

a)

ls -l

b)

ls -a

c)

ls -i

d)

ls -t

12.

How can you add Amit, a new user, to your system? Select one:

a)

All of the choices

b)

Using useradd

c)

Using adduser

d)

Using linuxconf

13.

In Linux, which among the following interacts directly with system hardware? Select one:

a)

Shell

b)

Applications

c)

Commands

d)

Kernel

14.

In Linux, what command is used to count the total number of lines, words, and characters contained in a file? Select one:

a)

wcount

b)

countw

c)

wc

15.

Which of the following OS is not based on Linux?

a)

BSD

b)

Ubuntu

c)

Redhat

d)

CentOS

16.

The address of a storage location in main memory is the __________ .

a)

real address

b)

virtual address space

c)

virtual address

d)

address space

17.

__________ is the virtual storage assigned to a process.

a)

Virtual address

b)

Address space

c)

Virtual address space

d)

Real address

18.

__________ is the range of memory addresses available to a process.

a)

Virtual address space

b)

Virtual address

c)

Real address

d)

Address space

19.

The ________ structure indexes page table entries by frame number rather than by virtual page number.

a)

segment table

b)

page table

c)

hash table

d)

inverted page table

20.

The ________ states the process that owns the page.

a)

process identifier

b)

control bits

c)

page number

d)

chain pointer

21.

A ________ is issued if a desired page is not in main memory.

a)

page placement policy

b)

page fault

c)

page replacement policy

d)

paging error

22.

__________ allows the programmer to view memory as consisting of multiple address spaces.

a)

Segmentation

b)

Locality

c)

Paging

d)

Resident set management

23.

__________ is transparent to the programmer and eliminates external fragmentation providing efficient use of main memory.

a)

Segmentation

b)

Thrashing

c)

Paging

d)

Hashing

24.

The ________ determines when a page should be brought into main memory.

a)

page fault

b)

fetch policy

c)

working set

d)

resident set management

25.

With ________ pages other than the one demanded by a page fault are brought in.

a)

hashing

b)

thrashing

c)

prepaging

d)

slab allocation

26.

The ________ policy results in the fewest number of page faults.

a)

FIFO

b)

Optimal

c)

Clock

d)

LRU

27.

A ________ chooses only among the resident pages of the process that generated the page fault in selecting a page to replace.

a)

page placement policy

b)

local replacement policy

c)

page replacement policy

d)

global replacement policy

28.

The ________ algorithm requires a use bit to be associated with each page in memory.

a)

page fault frequency

b)

VSWS

c)

working set

d)

page placement

29.

________ is where modified process pages can be written out at the time of replacement, or a precleaning policy can be used, which clusters the output activity by writing out a number of pages at once.

a)

Cleaning policy

b)

Load control

c)

Replacement policy

d)

Placement policy

30.

________ is the concept associated with determining the number of processes that will be resident in main memory.

a)

Page fault frequency

b)

LRU policy

c)

Virtual memory manager

d)

Load Control

31.

Most of the memory management issues confronting the operating system designer are in the area of paging when segmentation is combined with paging.

a)

True

b)

False

c)

Cannot be determined

d)

Only sometimes

32.

One way to counter the potential performance problems of a variable-allocation global scope policy is to use page buffering.

a)

Only with small pages

b)

True

c)

Only under heavy load

d)

False

33.

A precleaning policy writes modified pages before their page frames are needed so that pages can be written out in batches.

a)

True

b)

False

c)

Only for SSDs

d)

Only with LRU

34.

Segments may be of unequal, indeed dynamic, size.

a)

Only in theory

b)

True

c)

False

d)

Only in fixed schemes

35.

The PFF policy evaluates the working set of a process at sampling instances based on elapsed virtual time.

a)

True

b)

False

c)

Depends on policy

d)

Only for batch jobs

36.

The ________ category of external devices are suitable for communicating with the computer user.

a)

human readable

b)

communication

c)

machine readable

d)

application

37.

The ________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor.

a)

programmed I/O

b)

interrupt-driven I/O

c)

I/O channel

d)

direct memory access

38.

__________ external devices are suitable for communicating with electronic equipment.

a)

Application

b)

Communication

c)

Human readable

d)

Machine readable

39.

The requested operations and data are converted into appropriate sequences of I/O instructions, channel commands, and controller orders at the __________ layer.

a)

logical I/O

b)

scheduling and control

c)

device I/O

d)

physical organization

40.

__________ external devices are suitable for communicating with modems.

a)

Human readable

b)

Application

c)

Communication

d)

Machine readable

41.

__________ is a technique that smoothes out peaks in I/O demand.

a)

Buffering

b)

Blocking

c)

Smoothing

d)

Tracking

42.

The advantage of __________ is that it provides extremely high data availability.

a)

RAID 6

b)

RAID 4

c)

RAID 5

d)

RAID 3

43.

The __________ technique is used on a Windows server to optimize the use of threads.

a)

I/O completion ports

b)

signaling an event object

c)

asynchronous procedure call

d)

polling

44.

On a moveable-head system, the time it takes to position the head at the track is known as ________.

a)

rotational delay

b)

transfer time

c)

access time

d)

seek time

45.

The __________ technique allows multiple simultaneous I/O requests against a single device or file.

a)

asynchronous procedure call

b)

signaling an event object

c)

polling

d)

signaling the file object

46.

__________ are an efficient way of making consistent snapshots of volumes so that they can be backed up.

a)

Photo copies

b)

Process copies

c)

Transfer copies

d)

Shadow copies

47.

RAID 5 is organized in a similar fashion to __________, but is different in the fact that RAID 5 distributes the parity strips across all disks.

a)

RAID 2

b)

RAID 4

c)

RAID 3

d)

RAID 1

48.

The disk scheduling algorithm that implements two sub-queues in a measure to avoid the problem of "arm stickiness" is the __________.

a)

C-SCAN policy

b)

FSCAN policy

c)

DMA

d)

N-step-SCAN policy

49.

The simplest type of support that the operating system can provide is __________.

a)

circular buffering

b)

dual buffering

c)

overflow buffering

d)

single buffering

50.

The (a)   layer deals with the device as a logical resource and is not concerned with the details of actually controlling the device.

51.

The __________ layer deals with the logical structure of files and with the operations that can be specified by users, such as open, close, read, and write.

a)

Physical device layer

b)

File management system

c)

Disk scheduling layer

d)

Memory allocation layer

52.

An objective of the __________ is to provide a standardized set of I/O interface routines to user processes.

a)

Working directory

b)

Indexed file allocation

c)

File management system

d)

File directory

53.

A __________ is a collection of similar records.

a)

File

b)

Field

c)

Database

d)

Record

54.

The essential aspects of a __________ are that the relationships that exist among elements of data are explicit and designed for use by a number of different applications.

a)

Filesystem

b)

Database

c)

Record set

d)

Data block

55.

An __________ is a control structure that contains the key information needed by the operating system for a particular file.

a)

Directory header

b)

Open files registry

c)

Index node table

d)

File Control Block (FCB)

56.

File systems do not maintain the attributes associated with the files.

a)

True

b)

False

c)

Only on removable media

d)

Only for executable files

57.

All UNIX files have its description stored in a structure called 'inode'. Which of the below fields are not part of the inode?

a)

File owner identifier

b)

File access count

c)

File access permissions

d)

File type

58.

In Shell scripting what is $*?

a)

None of the above is correct.

b)

Its mainly used for showing up all params. This show few parameter values passed in shell script.

c)

Its mainly used for showing up all params. This show all values returned.

d)

Its mainly used for showing up all params. This show all parameter values passed in shell script.

59.

How do you get all files with on the 3rd place an r, g or i?

a)

ls [..i*]

b)

ls ??[rgi]*

c)

ls [rgi]

d)

ls ?3[rgI]*

60.

How do you delete a file?

a)

rm filename

b)

dl filename

c)

touch filename

d)

less filename

61.

How can you display a list of all files, including the hidden files?

a)

ls -a

b)

All the above are correct

c)

find -a

d)

find all

62.

In Shell scripting What does $? Return?

a)

$? will return exit status of command .0 if command gets successfully executed ,non-zero if command failed.

b)

Invalid command

c)

$? will return exit status of command .Non-0 if command gets successfully executed ,zero if command failed.

d)

System error

63.

The difference between printf and echo is

a)

printf adds a new line after printing, echo does not

b)

Both are same

c)

None of the above.

d)

Echo adds a new line after printing, printf does not

64.

#! is called as

a)

Hebang

b)

Shebang

65.

What does the command “Get-ChildItem” do in PowerShell?

a)

Gets information about a specified child item

b)

Lists all child objects in a directory

c)

None of the above

d)

Lists all child processes of the current process

66.

What is the purpose of the Out-Null command in PowerShell?

a)

To send output to a file

b)

To suppress output from a command

c)

To write output to the console

d)

None of the above

67.

Which command is used to set the execution policy in PowerShell?

a)

None of the above

b)

Set-ExecutionPolicy

c)

Update-ExecutionPolicy

d)

Set-Policy

68.

Which command is used to create a new file in PowerShell?

a)

Set-Item

b)

Get-Item

c)

Remove-Item

d)

New-Item

69.

Which command is used to create a new folder in PowerShell?

a)

New-Item

b)

Create-Folder

c)

New-Folder

d)

None of the above

70.

Which company introduced PowerShell?

a)

IBM

b)

Google

c)

Microsoft

d)

Apple

71.

tether

a)

Execute the file in PowerShell

b)

Type the commands in a text editor

c)

Save the file with .ps1 extension

d)

All of the above

72.

What is the syntax for an if/elseif/else statement in powershell?

a)

d.

b)

c.

c)

b.

d)

a.

73.

How can you remove a variable?

a)

By setting it to N/A

b)

By typing "delete $variable"

c)

By setting it to null

d)

By setting it to 0

74.

What is the full command for the alias "pwd"?

a)

get-member

b)

clear

c)

powershell-directory

d)

get-location