Deck 13: Unix Operating Systems
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/43
Play
Full screen (f)
Deck 13: Unix Operating Systems
1
Each physical device in UNIX is identified by a minor device number,a major device number,and a contact address.
False
2
In UNIX,the process table is set up when the process is created and is deleted when the process terminates.
True
3
The exec family of commands-execl,execv,execle,execlp and execvp-is used to start execution of a new program from another program.
True
4
In UNIX,swapping uses a round robin memory-management policy.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
5
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 43 flashcards in this deck.
Unlock Deck
k this deck
6
A strength of UNIX is its true multitasking capabilities.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
7
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 43 flashcards in this deck.
Unlock Deck
k this deck
8
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 43 flashcards in this deck.
Unlock Deck
k this deck
9
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 43 flashcards in this deck.
Unlock Deck
k this deck
10
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.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
11
UNIX can be mastered by novice programmers in a matter of weeks.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
12
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 43 flashcards in this deck.
Unlock Deck
k this deck
13
UNIX is designed to provide device dependence to the applications running under it.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
14
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 43 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 43 flashcards in this deck.
Unlock Deck
k this deck
16
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 43 flashcards in this deck.
Unlock Deck
k this deck
17
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 43 flashcards in this deck.
Unlock Deck
k this deck
18
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 43 flashcards in this deck.
Unlock Deck
k this deck
19
UNIX has grown to become one of the most widely used operating systems in history.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
20
UNIX stores files as sequences of bytes and does not impose any structure on them.
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
21
The command ____ is used to find a specified string of characters in a file.
A) cp
B) mv
C) grep
D) ls
A) cp
B) mv
C) grep
D) ls
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
22
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
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 43 flashcards in this deck.
Unlock Deck
k this deck
23
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
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 43 flashcards in this deck.
Unlock Deck
k this deck
24
The ____ command is used to delete a file or directory.
A) rm
B) mv
C) del
D) erase
A) rm
B) mv
C) del
D) erase
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
25
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
A) 128
B) 16,522
C) 2,113,674
D) 1,082,201,088
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
26
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
A) exec
B) fork
C) wait
D) pause
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
27
When was the first version of UNIX written?
A) 1969
B) 1971
C) 1975
D) 1984
A) 1969
B) 1971
C) 1975
D) 1984
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
28
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
A) device controllers
B) device drivers
C) control drivers
D) controllers
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
29
UNIX uses the ____ page replacement algorithm.
A) least recently used
B) round robin
C) priority
D) oldest first
A) least recently used
B) round robin
C) priority
D) oldest first
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
30
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
A) race
B) deadlock
C) starvation event
D) synchronization problem
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
31
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 43 flashcards in this deck.
Unlock Deck
k this deck
32
____ 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
A) POSIX
B) POSFIX
C) LINUX
D) STD
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
33
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
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 43 flashcards in this deck.
Unlock Deck
k this deck
34
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
A) config.sys
B) conf.ini
C) ctrl.conf
D) conf.c
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
35
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
A) process
B) subtext
C) user
D) database
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
36
UNIX uses a ____ to keep track of which processes are using shared program code.
A) pointer
B) text table
C) binary file
D) database
A) pointer
B) text table
C) binary file
D) database
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
37
There is no return from a successful ____ call.
A) nest
B) exec
C) duplicate
D) fork
A) nest
B) exec
C) duplicate
D) fork
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
38
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) ^
A) /
B) ..
C) .
D) ^
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
39
____ are the device drivers that provide the interface to I/O hardware.
A) Dev files
B) Dev drivers
C) Special files
D) Store files
A) Dev files
B) Dev drivers
C) Special files
D) Store files
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
40
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
A) raw
B) canonical
C) character
D) buffer
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
41
A ____ is several programs simultaneously processing the same I/O stream.
A) pipeline
B) pipe
C) filter
D) redirect
A) pipeline
B) pipe
C) filter
D) redirect
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
42
The command ____ is used to lower the priority of a process.
A) lp
B) set priority
C) nice
D) low
A) lp
B) set priority
C) nice
D) low
Unlock Deck
Unlock for access to all 43 flashcards in this deck.
Unlock Deck
k this deck
43
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
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 43 flashcards in this deck.
Unlock Deck
k this deck