Deck 13: Unix Operating System
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
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 13: Unix Operating System
1
The immediate 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
2
Each physical device in UNIX is identified by a minor device number, a major device number, and a contact address.
False
3
The UNIX I/O system is divided into the "block I/O" system and the "interactive I/O" system.
False
4
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 50 flashcards in this deck.
Unlock Deck
k this deck
5
While Linux and UNIX are different operating systems, they strongly resemble each other in many ways.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
The portability of UNIX is attributed to the fact that most of it is written in a high-level language, C++.
Unlock Deck
Unlock for access to all 50 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 50 flashcards in this deck.
Unlock Deck
k this deck
8
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 50 flashcards in this deck.
Unlock Deck
k this deck
9
The UNIX kernel does not reside in memory permanently, it can be swapped out when needed to provide more space for applications.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
UNIX can be mastered by novice programmers in a matter of weeks.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
By 1990, there were about two dozen versions of UNIX, among them AT&T's UNIX System V.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
Demand paging requires more complicated hardware configurations; it increases the system overhead and under heavy loads might lead to thrashing.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
The exec family of commands-execl, execv, execls, execlp and execvp-is used to start execution of a new program from another program.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
In 1991, AT&T's Unix System Laboratories developed System V release 6, which incorporated almost all of the features found in System V release 3.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
Swapping uses a round robin policy.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
UNIX Version 4 was hardware independent.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
UNIX is a true multitasking operating system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
UNIX has grown to become one of the most widely used operating systems in history.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
UNIX is designed to ensure device dependence to the applications running under it.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
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 50 flashcards in this deck.
Unlock Deck
k this deck
21
The UNIX file management system organizes the disk into blocks of 1024 bytes each and divides the disk into four basic regions.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
When using a terminal, as the user types in each character, it is collected in the ____ queue.
A) raw input
B) canonical input
C) character
D) buffer
A) raw input
B) canonical input
C) character
D) buffer
Unlock Deck
Unlock for access to all 50 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
C) with the lowest 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
C) with the lowest amount of time remaining to execute
D) with the longest time spent on the secondary storage
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
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 50 flashcards in this deck.
Unlock Deck
k this deck
25
____ 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 50 flashcards in this deck.
Unlock Deck
k this deck
26
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 50 flashcards in this deck.
Unlock Deck
k this deck
27
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 50 flashcards in this deck.
Unlock Deck
k this deck
28
The second column in a 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 50 flashcards in this deck.
Unlock Deck
k this deck
29
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 50 flashcards in this deck.
Unlock Deck
k this deck
30
the first official version of UNIX introduced was in ____.
A) 1969
B) 1971
C) 1973
D) 1981
A) 1969
B) 1971
C) 1973
D) 1981
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
A disadvantage of Linux and UNIX is ____.
A) They are device dependent.
B) Programmers do not like using the interface.
C) It is difficult for novice users to learn.
D) It is not portable from smaller to larger systems.
A) They are device dependent.
B) Programmers do not like using the interface.
C) It is difficult for novice users to learn.
D) It is not portable from smaller to larger systems.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
UNIX uses a ____ to keep track of which processes are using which program code, and the memory is not released until the program code is no longer needed.
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 50 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 50 flashcards in this deck.
Unlock Deck
k this deck
34
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 50 flashcards in this deck.
Unlock Deck
k this deck
35
The C shell is usually available as an unbundled product.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Subroutines that work with the operating system to supervise the transmission of data between main memory and a peripheral unit are called the ____.
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 50 flashcards in this deck.
Unlock Deck
k this deck
37
In UNIX, a ____ table is allocated to each active process.
A) process
B) subtext
C) user
D) database
A) process
B) subtext
C) user
D) database
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
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 50 flashcards in this deck.
Unlock Deck
k this deck
39
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
D) synchronization problem
A) race
B) deadlock
C) starvation
D) synchronization problem
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
UNIX stores files as sequences of bytes and does not impose any structure on them.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
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
A) fin
B) finproc
C) keep
D) nohup
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
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
A) ls user temporary
B) who > temporary
C) users > temporary
D) view users temporary
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
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 50 flashcards in this deck.
Unlock Deck
k this deck
44
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 is ____.
A) contains the size of the disk and the boundaries of the other regions
B) free blocks available for file storage
C) a list of file definitions
D) reserved for booting
A) contains the size of the disk and the boundaries of the other regions
B) free blocks available for file storage
C) a list of file definitions
D) reserved for booting
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
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 50 flashcards in this deck.
Unlock Deck
k this deck
46
The following command ____ , will copy the contents of chapt1 and chapt2 into a file named sectiona.
A) chapt1, chapt2 < sectiona
B) cp chapt1 sectiona, cp chapt2 sectiona
C) cat chapt1 chapt2 > sectiona
D) ls chapt1, chapt2, sectiona
A) chapt1, chapt2 < sectiona
B) cp chapt1 sectiona, cp chapt2 sectiona
C) cat chapt1 chapt2 > sectiona
D) ls chapt1, chapt2, sectiona
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
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 50 flashcards in this deck.
Unlock Deck
k this deck
48
____ 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 50 flashcards in this deck.
Unlock Deck
k this deck
49
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 50 flashcards in this deck.
Unlock Deck
k this deck
50
Using ____ in a path name will move you upward in the hierarchy.
A) /
B) ..
C) .
D) ^
A) /
B) ..
C) .
D) ^
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck