0% found this document useful (0 votes)
3 views

Wilus

The document contains a series of quiz questions related to Linux operating systems, multitasking, and computer architecture. It covers topics such as command usage, file permissions, process management, and system components. Each question provides multiple-choice answers, testing knowledge on various aspects of operating systems.

Uploaded by

Shithead
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Wilus

The document contains a series of quiz questions related to Linux operating systems, multitasking, and computer architecture. It covers topics such as command usage, file permissions, process management, and system components. Each question provides multiple-choice answers, testing knowledge on various aspects of operating systems.

Uploaded by

Shithead
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Quiz 010

Question 1
In Linux the following instruction will: echo good day bro | tr "o" "\n" | wc -l
a. display number 2
b. display number 1
c. display number 3
d. display number 4

Question 2
Operation of the processor in several modes allows:
a. access to memory without involving the processor
b. protection of privileged instructions and interfaces
c. signaling of I/O device status events
d. obtaining exclusive access to resources

Question 3
_________ enables the operating system to realize full multitasking/multithreading.
a. cooperation
b. multiprocessor
c. queuing
d. appropriation

Question 4
What operation is not normally performed by a modern computer operating system?
a. hardware abstraction
b. resource allocation
c. compilation of programs
d. access management

Question 6
____ controls the way in which the computer system functions and provides a means for
users to interact with the computer.
a. The motherboard
b. The platform
c. The operating system
d. Application software

Question 7
Which of the following statements is false? In Linux folder:
a. /etc contains system configuration files
b. /sbin contains kernel, devices, and processes status files
c. /usr contains programs and libraries available for users
d. /dev contains devices

Question 11
Which of the following is not a function of an operating system?
a. carries out a specific task for the user
b. manages storage space
c. controls basic input and output
d. allocates system resources

Question 12
Which of the following statements is false? In Linux, the following file mask matches the file:
r[abc]?.[123]*
a. raby.1234
b. rba.321
c. rcr.1324
d. rab.1

Question 13
The directory /mnt in UNIX is usually used for:
a. storing technical manuals of the operating system
b. sharing file systems of other operating systems
c. storage of mounted file systems of external devices
d. storage of service programs (maintenance)

Question 14

Which of these resources is not shared by threads of the same process?

a. code section

b. stack area

c. data section

d. system resources (e.g., open file descriptors)

Question 15

In Linux, the following instruction will: mkdir mkdir ls

a. create the "mkdir" folder and then display its contents


b. create the "mkdir" folder and then the "ls" folder inside

c. create two "ls" folders

d. create folders "mkdir" and "ls"

Question 16
When a file is saved for the first time:
a. file name and folder name must be the same
b. it must be given a name to identify it
c. it does not need a name
d. a copy is automatically printed

Question 17
When cutting and pasting, the cut section is temporarily stored in:
a. RAM
b. Clipboard
c. Hard drive
d. Dashboard

Question 18
A ____ is a collection of information saved as a unit.
a. file extension
b. file
c. folder
d. path

Question 19
Long-term planner:
a. sends some tasks temporarily to the disk, which helps in the good selection of a set of
processes
b. selects a process from the pool of ready-made processes and assigns it a processor
c. selects a pool of ready-made processes, optimally limited by the processor and I/O
devices
d. creates new processes in the system

Question 20
In a single-processor system, we gain time for processing a set of tasks by selecting
processes during scheduling:
a. short
b. oriented to input/output operations
c. calculation-oriented
d. long

Question 21
A stimulus external to the processor, causing it to remember its state and start executing
code from a fixed memory address, is called:
a. interrupt
b. redirect
c. signal
d. message

Question 22
Which command will display a file named "file" page by page?
a. cat file | tail
b. cat file | head
c. cat | page
d. cat file | more

Question 23
Two basic types of operating systems are:
a. Sequential and direct
b. Sequential and real-time
c. Batch and time share
d. Batch and interactive

Question 24
In Linux a permission mask 465 is equivalent to:
a. r--rw-r-x
b. r-xrxwr-x
c. r-xrw-r-x
d. r--r--rwx
Question 25
Computer system is divided into how many main components?
a. 5 (Input unit, output unit, processing unit, storage unit,
control unit)
b. 3 (Input unit, output unit, processing unit)
c. 6 (Input unit, output unit, processing unit, storage unit,
control unit, power supply unit)
d. 4 (Input unit, output unit, processing unit, storage unit)

Question 26
____ software helps the user to do their work.
a. System
b. Utility
c. Application
d. Computer
Question 27
In Linux, the following instruction: cd $HOME
a. will change directory to the folder called HOME
b. has the same effect as cd pwd
c. has the same effect as cd ~
d. will change directory to the folder called $HOME

Question 28
In a multitasking interactive operating system, batch processing:
a. requires the availability of an active user terminal
b. is not possible due to the way the system works
c. requires the availability of the user terminal
d. allows you to perform a task without user interaction

Question 29
There should be different levels of help to satisfy the needs of
different levels of ____
a. Users
b. Computer system
c. Operating System
d. Hardware

Question 30

Which of the following is an example of a spooled device?

a. A graphic display device

b. A terminal used to enter input data to a running program

c. A line printer used to print the output of a number of jobs

d. A secondary storage device in a virtual memory system

Question 31
In Linux, which command shows the file system disk space usage?
a. ds
b. df
c. dh
d. du
Question 32
An airline reservation system is an example of:
a. distributed processing
b. interactive processing
c. real-time processing
d. batch processing

Question 33
Which of the given options is not a standard component of the
process?
a. executable code segment
b. address space
c. process status table
d. data segment

Question 34
Which of the following statements is false? In Linux, in file and
directory names:
a. asterisk (*) refers to any string
b. backslash (\) refers to the root directory
c. square brackets ([]) refer to one character listed inside them
d. question mark (?) refers to one character
Question 35
Interrupt handling is done ______, based on the _______ of a given
interrupt, called on the basis of _______.
a. synchronously, handler, interrupt vector table
b. synchronously, handler, system process table
c. asynchronously, handler, interrupt vector table
d. asynchronously, handler, system process table

Question 36
Context switching is part of:
a. Spooling
b. Interrupt handling
c. Polling
d. Interrupt servicing

Question 37
DMA mechanism enables:
a. access to memory without involving the processor
b. protection of privileged instructions and interfaces
c. signaling of events and status of I/O devices
d. obtaining exclusive access to resources

Question 38
FIFO scheduling is:
a. Non-preemptive scheduling
b. Fair-share scheduling
c. Preemptive scheduling
d. Deadline scheduling

Question 39
Solid-state storage:
a. provides slower access to data than optical storage technology
b. includes moving parts
c. stores data in a volatile chip
d. provides faster access to data than magnetic storage technology

Question 40
System script:
a. processing program written in the language of operating system
commands
b. each sequence of operating system commands
c. system program, usually written in C
d. file containing the operating system command string
// chuj wie

Question 41
System script, it:

a. each sequence of operating system commands


b. system program, usually written in C
c. processing program written in the language of operating system
commands
d. file containing the operating system command string

Question 42
____ software helps the user to do his/her work.

a. System
b. Computer
c. Application
d. Utility
Question 43
Which of the following statements is false. In Linux:

a. "$*" refers to all script parameters together


b. "$9" refers to the ninth script parameter
c. "$#" refers to the number of script parameters
d. "$0" refers to the zeroth script parameter

Quiz 008
Question 1
In a multitasking interactive operating system, batch processing:

a. allows you to perform a task without user interaction,


b. is not possible due to the way the system works,
c. requires the availability of an active user terminal,
d. requires the availability of the user terminal,

Question 2
Point out a FALSE statement about the so-called spooling:

a. allows queuing print jobs


b. allows simultaneous operation of several devices,
c. is not used in modern systems,
d. does not increase the performance of the processor,

Question 3
Why programs and data can be stored on the same medium (e.g., magnetic disk) by the
operating system:

a. both the program and the data can be the contents of the file,
b. file system distinguishes programs from data,
c. file extension allows you to distinguish the program from the data,
d. file attributes allow you to distinguish the program from the data,

Question 4
Which option does not specify the component being a part of any operating system:

a. memory management,
b. shell (shell),
c. command compiler,
d. I/O support,
Question 5
In a multitasking interactive operating system, batch processing:

a. is not possible due to the way the system works,


b. allows you to perform a task without user interaction,
c. requires the availability of an active user terminal,
d. requires the availability of the user terminal,

Question 6
Long-term planner:

a. sends some tasks temporarily to the disk, which helps in the good selection of a set of
processes,
b. selects a pool of ready-made processes, optimally limited by the processor and I/O
devices,
c. creates new processes in the system,
d. selects a process from the pool of ready-made processes and assigns it a processor,

Question 7
Specify the minimum number of bits necessary to binary the value of any digit of the decimal
system:
Answer:
4

Question 8
With what Linux command will we delete the file?
Answer:
rm

Question 9
With what Linux command will we delete the file?
Answer:
rm

Question 10
DMA mechanism enables:

a. obtaining exclusive access to resources,


b. signaling of events and status of I/O devices,
c. access to memory without involving the processor,
d. protection of privileged instructions and interfaces,
Question 11
In a single-processor system, we gain time for processing a set of tasks by selecting
processes during scheduling:

a. oriented to input/output operations,


b. short,
c. long,
d. calculation-oriented,

Question 12
Why programs and data can be stored on the same medium (e.g., magnetic disk) by the
operating system:

a. file extension allows you to distinguish the program from the data,
b. file attributes allow you to distinguish the program from the data,
c. both the program and the data can be the contents of the file,
d. file system distinguishes programs from data,

Question 13
What command is used to change the working directory?
Answer:
cd

Question 14
_________ I/O support will cause ________ to execute the process until the operation is
complete.

a. synchronous, resume,
b. asynchronous, stop,
c. asynchronous, resume,
d. synchronous, stop,

Question 15
The directory /mnt in UNIX is usually used for:

a. storing technical manuals of the operating system,


b. storage of mounted file systems of external devices,
c. storage of service programs (maintenance),
d. sharing file systems of other operating systems,

Question 16
Which statement is a false one?

a. technologies that have been used as operating memory technologies in the history of
computers include drum memories,
b. nowadays physical memory consists of RAM and ROM chips,
c. disk memory can be a technology for making an operating memory,
d. in the first computers, magnetic tapes played the role of working main memory,

Question 17
Specify the minimum number of bits necessary to binary the value of any digit of the decimal
system:
Answer:
4

Question 18
The directory /mnt in UNIX is usually used for:

a. storing technical manuals of the operating system,


b. sharing file systems of other operating systems,
c. storage of service programs (maintenance),
d. storage of mounted file systems of external devices,

Question 19
System script is a __________

a. computer program written in a language of an operating system commands,


b. each sequence of operating system commands,
c. file containing the operating system command string,
d. system program, usually written in C,

Question 20
_________ I/O support will cause ________ to execute the process until the operation is
complete.

a. asynchronous, resume,
b. synchronous, resume,
c. asynchronous, stop,
d. synchronous, stop,

Question 21

What Linux command cleans the console/terminal screen?

Answer:
clear

Quiz 006
Question 1
In a single-processor system, we gain time for processing a set of tasks by selecting
processes during scheduling:

Answer:

a. Long

b. Calculation-oriented

c. Oriented to input/output operations

d. Short

You might also like