Deck 13: Unix Operating Systems

Full screen (f)
exit full mode
Question
In UNIX,swapping uses a round robin memory-management policy.
Use Space or
up arrow
down arrow
to flip the card.
Question
The original development goals for UNIX were twofold: to develop an operating system that would support software development,and to keep its algorithms as simple as possible.
Question
UNIX can be mastered by novice programmers in a matter of weeks.
Question
Demand paging requires more complicated hardware configurations than swapping in that it increases the system overhead and under heavy loads,might lead to thrashing.
Question
UNIX stores files as sequences of bytes and does not impose any structure on them.
Question
The UNIX kernel does not reside in memory permanently; that is,it can be swapped out when needed to provide more space for applications.
Question
UNIX is designed to provide device dependence to the applications running under it.
Question
IBM and Hewlett-Packard were among the companies that established The Open Group,which still owns the trademark to the name UNIX.
Question
The exec family of commands-execl,execv,execle,execlp and execvp-is used to start execution of a new program from another program.
Question
The Processor Manager of a UNIX system kernel handles the allocation of the CPU,process scheduling,and the satisfaction of process requests.
Question
UNIX has grown to become one of the most widely used operating systems in history.
Question
The system command,split,splits a program into two copies,which are both running from the statement after the command.
Question
In UNIX,the process table is set up when the process is created and is deleted when the process terminates.
Question
Each physical device in UNIX is identified by a minor device number,a major device number,and a contact address.
Question
UNIX and Linux strongly resemble each other in many ways but are different operating systems.
Question
A strength of UNIX is its true multitasking capabilities.
Question
The UNIX I/O system is divided into the block I/O system and the interactive I/O system.
Question
UNIX Version 4 was a huge innovation at the time it was released because it was device independent.
Question
The portability of UNIX is attributed to the fact that most of it is written in the high-level language Java.
Question
The UNIX process scheduling algorithm picks the process that will run in the shortest amount of time to be run first.
Question
In UNIX,the file ____ contains the parameters that control resources such as the number of internal buffers for the kernel and the size of the swap space.

A) config.sys
B) conf.ini
C) ctrl.conf
D) conf.c
Question
UNIX uses the ____ page replacement algorithm.

A) least recently used
B) round robin
C) priority
D) oldest first
Question
The ____ command is used to delete a file or directory.

A) rm
B) mv
C) del
D) erase
Question
When the UNIX Processor Manager is deciding which process from the READY queue will be loaded into memory to be run first,it chooses the process ____.

A) with the lowest priority
B) which has been waiting longest for an execution slot
C) with the least amount of time remaining to execute
D) with the longest time spent on the secondary storage
Question
A pipe is the operating system's way to connect the output from one program to the input of another without the need for temporary or intermediate files.
Question
A terminal has two input queues.As a user types each character to the terminal,it is collected in the ____ queue.

A) raw
B) canonical
C) character
D) buffer
Question
The second column in a UNIX directory listing indicates the number of links,also known as the number of aliases,that refer to the same physical file.
Question
A ____ may occur if an event happens during the process's transition between deciding to wait for the event and entering the WAIT state.

A) race
B) deadlock
C) starvation event
D) synchronization problem
Question
The ____ command allows the programmer to synchronize process execution by suspending the parent until the child is finished.

A) exec
B) fork
C) wait
D) pause
Question
Subroutines that work with the operating system to supervise the transmission of data between main memory and a peripheral unit are called ____.

A) device controllers
B) device drivers
C) control drivers
D) controllers
Question
There is no return from a successful ____ call.

A) nest
B) exec
C) duplicate
D) fork
Question
When was the first version of UNIX written?

A) 1969
B) 1971
C) 1975
D) 1984
Question
UNIX uses a ____ to keep track of which processes are using shared program code.

A) pointer
B) text table
C) binary file
D) database
Question
____ are the device drivers that provide the interface to I/O hardware.

A) Dev files
B) Dev drivers
C) Special files
D) Store files
Question
For multiprogramming systems,most UNIX operating systems use either ____ management techniques.

A) indirect paging and hot swapping
B) simple memory and paging
C) virtual memory and swapping
D) swapping or demand paging memory
Question
The maximum number of bytes that can be allocated to a single file in UNIX is ____.

A) 128
B) 16,522
C) 2,113,674
D) 1,082,201,088
Question
In UNIX,a ____ table is allocated to each active process that includes information such as the user and group identification numbers to determine file access privileges.

A) process
B) subtext
C) user
D) database
Question
The UNIX file management system organizes the disk into blocks of 512 bytes each and divides the disk into four basic regions,the first of which ____.

A) contains the size of the disk
B) holds free blocks available for file storage
C) includes a list of file definitions
D) is reserved for booting
Question
To change to a directory that is up one level from the current working directory in the UNIX hierarchical directory tree structure,you can type ____.

A) /
B…
C) .
D) ^
Question
____ is a family of IEEE standards that define a portable operating system interface to enhance the portability of programs from one operating system to another.

A) POSIX
B) POSFIX
C) LINUX
D) STD
Question
The following command ____ will store the names of all users logged on to the system in the file called temporary.

A) ls user temporary
B) who > temporary
C) users > temporary
D) view users temporary
Question
The command ____ is used to find a specified string of characters in a file.

A) cp
B) mv
C) grep
D) ls
Question
If a program's execution is expected to take a long time,you can start its execution and then log off the system without having to wait for it to finish by using the command ____.

A) fin
B) finproc
C) keep
D) nohup
Question
The command,____ ,will copy the contents of chapt1 and chapt2 into a file named section_a.

A) section_a = chapt1 + chapt2
B) cp chapt1 section_a, cp chapt2 section_a
C) cat chapt1 chapt2 > section_a
D) ls chapt1, chapt2, section_a
Question
The command ____ is used to lower the priority of a process.

A) lp
B) set priority
C) nice
D) low
Question
A ____ is several programs simultaneously processing the same I/O stream.

A) pipeline
B) pipe
C) filter
D) redirect
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/46
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 13: Unix Operating Systems
1
In UNIX,swapping uses a round robin memory-management policy.
True
2
The original development goals for UNIX were twofold: to develop an operating system that would support software development,and to keep its algorithms as simple as possible.
True
3
UNIX can be mastered by novice programmers in a matter of weeks.
False
4
Demand paging requires more complicated hardware configurations than swapping in that it increases the system overhead and under heavy loads,might lead to thrashing.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
5
UNIX stores files as sequences of bytes and does not impose any structure on them.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
6
The UNIX kernel does not reside in memory permanently; that is,it can be swapped out when needed to provide more space for applications.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
7
UNIX is designed to provide device dependence to the applications running under it.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
8
IBM and Hewlett-Packard were among the companies that established The Open Group,which still owns the trademark to the name UNIX.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
9
The exec family of commands-execl,execv,execle,execlp and execvp-is used to start execution of a new program from another program.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
10
The Processor Manager of a UNIX system kernel handles the allocation of the CPU,process scheduling,and the satisfaction of process requests.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
11
UNIX has grown to become one of the most widely used operating systems in history.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
12
The system command,split,splits a program into two copies,which are both running from the statement after the command.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
13
In UNIX,the process table is set up when the process is created and is deleted when the process terminates.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
14
Each physical device in UNIX is identified by a minor device number,a major device number,and a contact address.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
15
UNIX and Linux strongly resemble each other in many ways but are different operating systems.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
16
A strength of UNIX is its true multitasking capabilities.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
17
The UNIX I/O system is divided into the block I/O system and the interactive I/O system.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
18
UNIX Version 4 was a huge innovation at the time it was released because it was device independent.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
19
The portability of UNIX is attributed to the fact that most of it is written in the high-level language Java.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
20
The UNIX process scheduling algorithm picks the process that will run in the shortest amount of time to be run first.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
21
In UNIX,the file ____ contains the parameters that control resources such as the number of internal buffers for the kernel and the size of the swap space.

A) config.sys
B) conf.ini
C) ctrl.conf
D) conf.c
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
22
UNIX uses the ____ page replacement algorithm.

A) least recently used
B) round robin
C) priority
D) oldest first
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
23
The ____ command is used to delete a file or directory.

A) rm
B) mv
C) del
D) erase
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
24
When the UNIX Processor Manager is deciding which process from the READY queue will be loaded into memory to be run first,it chooses the process ____.

A) with the lowest priority
B) which has been waiting longest for an execution slot
C) with the least amount of time remaining to execute
D) with the longest time spent on the secondary storage
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
25
A pipe is the operating system's way to connect the output from one program to the input of another without the need for temporary or intermediate files.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
26
A terminal has two input queues.As a user types each character to the terminal,it is collected in the ____ queue.

A) raw
B) canonical
C) character
D) buffer
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
27
The second column in a UNIX directory listing indicates the number of links,also known as the number of aliases,that refer to the same physical file.
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
28
A ____ may occur if an event happens during the process's transition between deciding to wait for the event and entering the WAIT state.

A) race
B) deadlock
C) starvation event
D) synchronization problem
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
29
The ____ command allows the programmer to synchronize process execution by suspending the parent until the child is finished.

A) exec
B) fork
C) wait
D) pause
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
30
Subroutines that work with the operating system to supervise the transmission of data between main memory and a peripheral unit are called ____.

A) device controllers
B) device drivers
C) control drivers
D) controllers
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
31
There is no return from a successful ____ call.

A) nest
B) exec
C) duplicate
D) fork
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
32
When was the first version of UNIX written?

A) 1969
B) 1971
C) 1975
D) 1984
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
33
UNIX uses a ____ to keep track of which processes are using shared program code.

A) pointer
B) text table
C) binary file
D) database
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
34
____ are the device drivers that provide the interface to I/O hardware.

A) Dev files
B) Dev drivers
C) Special files
D) Store files
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
35
For multiprogramming systems,most UNIX operating systems use either ____ management techniques.

A) indirect paging and hot swapping
B) simple memory and paging
C) virtual memory and swapping
D) swapping or demand paging memory
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
36
The maximum number of bytes that can be allocated to a single file in UNIX is ____.

A) 128
B) 16,522
C) 2,113,674
D) 1,082,201,088
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
37
In UNIX,a ____ table is allocated to each active process that includes information such as the user and group identification numbers to determine file access privileges.

A) process
B) subtext
C) user
D) database
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
38
The UNIX file management system organizes the disk into blocks of 512 bytes each and divides the disk into four basic regions,the first of which ____.

A) contains the size of the disk
B) holds free blocks available for file storage
C) includes a list of file definitions
D) is reserved for booting
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
39
To change to a directory that is up one level from the current working directory in the UNIX hierarchical directory tree structure,you can type ____.

A) /
B…
C) .
D) ^
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
40
____ is a family of IEEE standards that define a portable operating system interface to enhance the portability of programs from one operating system to another.

A) POSIX
B) POSFIX
C) LINUX
D) STD
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
41
The following command ____ will store the names of all users logged on to the system in the file called temporary.

A) ls user temporary
B) who > temporary
C) users > temporary
D) view users temporary
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
42
The command ____ is used to find a specified string of characters in a file.

A) cp
B) mv
C) grep
D) ls
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
43
If a program's execution is expected to take a long time,you can start its execution and then log off the system without having to wait for it to finish by using the command ____.

A) fin
B) finproc
C) keep
D) nohup
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
44
The command,____ ,will copy the contents of chapt1 and chapt2 into a file named section_a.

A) section_a = chapt1 + chapt2
B) cp chapt1 section_a, cp chapt2 section_a
C) cat chapt1 chapt2 > section_a
D) ls chapt1, chapt2, section_a
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
45
The command ____ is used to lower the priority of a process.

A) lp
B) set priority
C) nice
D) low
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
46
A ____ is several programs simultaneously processing the same I/O stream.

A) pipeline
B) pipe
C) filter
D) redirect
Unlock Deck
Unlock for access to all 46 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 46 flashcards in this deck.