Deck 13: Unix Operating Systems

ملء الشاشة (f)
exit full mode
سؤال
Each physical device in UNIX is identified by a minor device number,a major device number,and a contact address.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In UNIX,the process table is set up when the process is created and is deleted when the process terminates.
سؤال
The exec family of commands-execl,execv,execle,execlp and execvp-is used to start execution of a new program from another program.
سؤال
In UNIX,swapping uses a round robin memory-management policy.
سؤال
The system command,split,splits a program into two copies,which are both running from the statement after the command.
سؤال
A strength of UNIX is its true multitasking capabilities.
سؤال
The UNIX process scheduling algorithm picks the process that will run in the shortest amount of time to be run first.
سؤال
The UNIX I/O system is divided into the block I/O system and the interactive I/O system.
سؤال
The UNIX kernel does not reside in memory permanently;that is,it can be swapped out when needed to provide more space for applications.
سؤال
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.
سؤال
UNIX can be mastered by novice programmers in a matter of weeks.
سؤال
The Processor Manager of a UNIX system kernel handles the allocation of the CPU,process scheduling,and the satisfaction of process requests.
سؤال
UNIX is designed to provide device dependence to the applications running under it.
سؤال
Demand paging requires more complicated hardware configurations than swapping in that it increases the system overhead and under heavy loads,might lead to thrashing.
سؤال
UNIX and Linux strongly resemble each other in many ways but are different operating systems.
سؤال
IBM and Hewlett-Packard were among the companies that established The Open Group,which still owns the trademark to the name UNIX.
سؤال
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.
سؤال
The portability of UNIX is attributed to the fact that most of it is written in the high-level language Java.
سؤال
UNIX has grown to become one of the most widely used operating systems in history.
سؤال
UNIX stores files as sequences of bytes and does not impose any structure on them.
سؤال
The command ____ is used to find a specified string of characters in a file.

A) cp
B) mv
C) grep
D) ls
سؤال
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
سؤال
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
سؤال
The ____ command is used to delete a file or directory.

A) rm
B) mv
C) del
D) erase
سؤال
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
سؤال
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
سؤال
When was the first version of UNIX written?

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

A) least recently used
B) round robin
C) priority
D) oldest first
سؤال
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 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.
سؤال
____ 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
سؤال
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
سؤال
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
سؤال
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
سؤال
UNIX uses a ____ to keep track of which processes are using shared program code.

A) pointer
B) text table
C) binary file
D) database
سؤال
There is no return from a successful ____ call.

A) nest
B) exec
C) duplicate
D) fork
سؤال
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) ^
سؤال
____ 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 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 ____ is several programs simultaneously processing the same I/O stream.

A) pipeline
B) pipe
C) filter
D) redirect
سؤال
The command ____ is used to lower the priority of a process.

A) lp
B) set priority
C) nice
D) low
سؤال
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 Deck
1/43
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
5
The system command,split,splits a program into two copies,which are both running from the statement after the command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
6
A strength of UNIX is its true multitasking capabilities.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
8
The UNIX I/O system is divided into the block I/O system and the interactive I/O system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
11
UNIX can be mastered by novice programmers in a matter of weeks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
13
UNIX is designed to provide device dependence to the applications running under it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
15
UNIX and Linux strongly resemble each other in many ways but are different operating systems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
19
UNIX has grown to become one of the most widely used operating systems in history.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
20
UNIX stores files as sequences of bytes and does not impose any structure on them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
24
The ____ command is used to delete a file or directory.

A) rm
B) mv
C) del
D) erase
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
27
When was the first version of UNIX written?

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

A) least recently used
B) round robin
C) priority
D) oldest first
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
37
There is no return from a successful ____ call.

A) nest
B) exec
C) duplicate
D) fork
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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) ^
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
41
A ____ is several programs simultaneously processing the same I/O stream.

A) pipeline
B) pipe
C) filter
D) redirect
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
42
The command ____ is used to lower the priority of a process.

A) lp
B) set priority
C) nice
D) low
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.