Deck 13: Unix Operating System

ملء الشاشة (f)
exit full mode
سؤال
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.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Each physical device in UNIX is identified by a minor device number, a major device number, and a contact address.
سؤال
The UNIX I/O system is divided into the "block I/O" system and the "interactive I/O" system.
سؤال
In UNIX the process table is set up when the process is created and is deleted when the process terminates.
سؤال
While Linux and UNIX are different operating systems, they strongly resemble each other in many ways.
سؤال
The portability of UNIX is attributed to the fact that most of it is written in a high-level language, C++.
سؤال
The UNIX process scheduling algorithm picks the process that will run in the shortest amount of time to be run first.
سؤال
The Processor Manager of a UNIX system kernel handles the allocation of the CPU, process scheduling, and the satisfaction of process requests.
سؤال
The UNIX kernel does not reside in memory permanently, it can be swapped out when needed to provide more space for applications.
سؤال
UNIX can be mastered by novice programmers in a matter of weeks.
سؤال
By 1990, there were about two dozen versions of UNIX, among them AT&T's UNIX System V.
سؤال
Demand paging requires more complicated hardware configurations; it increases the system overhead and under heavy loads might lead to thrashing.
سؤال
The exec family of commands-execl, execv, execls, execlp and execvp-is used to start execution of a new program from another program.
سؤال
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.
سؤال
Swapping uses a round robin policy.
سؤال
UNIX Version 4 was hardware independent.
سؤال
UNIX is a true multitasking operating system.
سؤال
UNIX has grown to become one of the most widely used operating systems in history.
سؤال
UNIX is designed to ensure device dependence to the applications running under it.
سؤال
The system command, split, splits a program into two copies, which are both running from the statement after the command.
سؤال
The UNIX file management system organizes the disk into blocks of 1024 bytes each and divides the disk into four basic regions.
سؤال
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
سؤال
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
سؤال
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
سؤال
____ 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
سؤال
The command ____ is used to find a specified string of characters in a file.

A) cp
B) mv
C) grep
D) ls
سؤال
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
سؤال
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.
سؤال
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.
سؤال
the first official version of UNIX introduced was in ____.

A) 1969
B) 1971
C) 1973
D) 1981
سؤال
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.
سؤال
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
سؤال
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
سؤال
UNIX uses the ____ page replacement algorithm.

A) least recently used
B) round robin
C) priority
D) oldest first
سؤال
The C shell is usually available as an unbundled product.
سؤال
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
سؤال
In UNIX, a ____ table is allocated to each active process.

A) process
B) subtext
C) user
D) database
سؤال
There is no return from a successful ____ call.

A) nest
B) exec
C) duplicate
D) fork
سؤال
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
سؤال
UNIX stores files as sequences of bytes and does not impose any structure on them.
سؤال
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
سؤال
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
سؤال
The command ____ is used to lower the priority of a process.

A) lp
B) set priority
C) nice
D) low
سؤال
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 ____ is several programs simultaneously processing the same I/O stream.

A) pipeline
B) pipe
C) filter
D) redirect
سؤال
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
سؤال
The ____ command is used to delete a file or directory.

A) rm
B) mv
C) del
D) erase
سؤال
____ are the device drivers that provide the interface to I/O hardware.

A) Dev files
B) Dev drivers
C) Special files
D) Store files
سؤال
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
سؤال
Using ____ in a path name will move you upward in the hierarchy.

A) /
B) ..
C) .
D) ^
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
While Linux and UNIX are different operating systems, they strongly resemble each other in many ways.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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++.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
UNIX can be mastered by novice programmers in a matter of weeks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
By 1990, there were about two dozen versions of UNIX, among them AT&T's UNIX System V.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Demand paging requires more complicated hardware configurations; it increases the system overhead and under heavy loads might lead to thrashing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
Swapping uses a round robin policy.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
UNIX Version 4 was hardware independent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
UNIX is a true multitasking operating system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
UNIX has grown to become one of the most widely used operating systems in history.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
UNIX is designed to ensure device dependence to the applications running under it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The system command, split, splits a program into two copies, which are both running from the statement after the command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
the first official version of UNIX introduced was in ____.

A) 1969
B) 1971
C) 1973
D) 1981
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
UNIX uses the ____ page replacement algorithm.

A) least recently used
B) round robin
C) priority
D) oldest first
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
The C shell is usually available as an unbundled product.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
In UNIX, a ____ table is allocated to each active process.

A) process
B) subtext
C) user
D) database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
There is no return from a successful ____ call.

A) nest
B) exec
C) duplicate
D) fork
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
UNIX stores files as sequences of bytes and does not impose any structure on them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The command ____ is used to lower the priority of a process.

A) lp
B) set priority
C) nice
D) low
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
A ____ is several programs simultaneously processing the same I/O stream.

A) pipeline
B) pipe
C) filter
D) redirect
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
The ____ command is used to delete a file or directory.

A) rm
B) mv
C) del
D) erase
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
Using ____ in a path name will move you upward in the hierarchy.

A) /
B) ..
C) .
D) ^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.