Deck 2: Operating-System Structures
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/42
العب
ملء الشاشة (f)
Deck 2: Operating-System Structures
1
Which of the following is a user interface where human fingers slide across the screen or press buttons to select choices?
A) touch screen
B) graphical user interface
C) command line
D) voice control
A) touch screen
B) graphical user interface
C) command line
D) voice control
A
2
What is the relationship between library call open() and open() system call?
A) open() system call is part of open()
B) open() system call in an alternate version of open()
C) open() is a predecessor version of open() system call
D) open() invokes open() system call to get service from operating system
A) open() system call is part of open()
B) open() system call in an alternate version of open()
C) open() is a predecessor version of open() system call
D) open() invokes open() system call to get service from operating system
D
3
The Windows CreateFile() system call is used to create a file. What is the equivalent system call in UNIX?
A) ioctl()
B) open()
C) fork()
D) createfile()
A) ioctl()
B) open()
C) fork()
D) createfile()
B
4
_____ provide(s) an interface to the services provided by an operating system.
A) Shared memory
B) System calls
C) Simulators
D) Communication
A) Shared memory
B) System calls
C) Simulators
D) Communication
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
5
Microkernels use _____ for communication.
A) message passing
B) shared memory
C) system calls
D) virtualization
A) message passing
B) shared memory
C) system calls
D) virtualization
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
6
A message-passing model is ____.
A) easier to implement than a shared memory model for intercomputer communication
B) faster than the shared memory model
C) a network protocol, and does not apply to operating systems
D) only useful for small simple operating systems
A) easier to implement than a shared memory model for intercomputer communication
B) faster than the shared memory model
C) a network protocol, and does not apply to operating systems
D) only useful for small simple operating systems
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following operating system structure is the one for MS-DOS?
A) monolithic structure
B) layered structure
C) microkernel
D) modular approach
A) monolithic structure
B) layered structure
C) microkernel
D) modular approach
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following defines the view of the operating system seen by most users?
A) application and system programs
B) system calls
C) device drivers
D) library calls
A) application and system programs
B) system calls
C) device drivers
D) library calls
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
9
The ________ provides a portion of the system call interface for UNIX and Linux.
A) POSIX
B) Java
C) Standard C library
D) Standard API
A) POSIX
B) Java
C) Standard C library
D) Standard API
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
10
Android runs Java programs _____________
A) in the Android RunTime (ART) virtual machine.
B) natively.
C) in the Java virtual machine.
D) Android does not run Java programs.
A) in the Android RunTime (ART) virtual machine.
B) natively.
C) in the Java virtual machine.
D) Android does not run Java programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following inter-process communication is used in microkernel?
A) message passing
B) shared memory
C) socket communication
D) all of the above
A) message passing
B) shared memory
C) socket communication
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
12
What category of system call includes the ones for process creation of and termination?
A) process control
B) file management
C) device management
D) protection
A) process control
B) file management
C) device management
D) protection
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
13
The close() system call in UNIX is used to close a file. What is the equivalent system call in Windows?
A) CloseHandle()
B) close()
C) CloseFile()
D) Exit()
A) CloseHandle()
B) close()
C) CloseFile()
D) Exit()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
14
______ is a mobile operating system designed for the iPhone and iPad.
A) Mac OS X
B) Android
C) UNIX
D) iOS
A) Mac OS X
B) Android
C) UNIX
D) iOS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following statements is incorrect?
A) An operating system provides an environment for the execution of programs.
B) An operating system manages system resources.
C) Operating systems provide both command line as well as graphical user interfaces.
D) Operating systems must provide both protection and security.
A) An operating system provides an environment for the execution of programs.
B) An operating system manages system resources.
C) Operating systems provide both command line as well as graphical user interfaces.
D) Operating systems must provide both protection and security.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
16
The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX?
A) NTCreateProcess()
B) process()
C) fork()
D) getpid()
A) NTCreateProcess()
B) process()
C) fork()
D) getpid()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which of the following is not a type of command interpreter?
A) Bourne shell
B) C shell
C) Korn shell
D) KDE or GNOME
A) Bourne shell
B) C shell
C) Korn shell
D) KDE or GNOME
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following is the only gateway between user space and kernel space?
A) user interface
B) system call
C) operating system
D) hardware drivers
A) user interface
B) system call
C) operating system
D) hardware drivers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following is an inter-process communication that requires two processes share memory?
A) message passing
B) shared memory
C) socket communication
D) all of the above
A) message passing
B) shared memory
C) socket communication
D) all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following is not an operating system service?
A) program execution
B) I/O operation
C) protection and security
D) graphical user interface
A) program execution
B) I/O operation
C) protection and security
D) graphical user interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
21
Describe three general methods used to pass parameters to the operating system during system calls.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
22
What are the advantages of using a higher-level language to implement an operating system?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which of the following operating system structure is the one for Mach OS?
A) monolithic structure
B) layered structure
C) microkernel
D) modular approach
A) monolithic structure
B) layered structure
C) microkernel
D) modular approach
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
24
Mac OS X is a hybrid system consisting of both the Mach microkernel and BSD UNIX.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
25
Many operating system merge I/O devices and files into a combined file because of the similarity of system calls for each.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
26
Explain why a modular kernel may be the best of the current operating system design techniques.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
27
In general, Windows system calls have longer, more descriptive names and UNIX system calls use shorter, less descriptive names.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
28
There are two different ways that commands can be processed by a command interpreter. One way is to allow the command interpreter to contain the code needed to execute the command. The other way is to implement the commands through system programs. Compare and contrast the two approaches.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
29
One important principle is the separation of policy from mechanism.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
30
Applications compiled on one operating system can be directly executable on other operating systems due to common structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following is the correct program type for GRUB in Linux and Unix systems?
A) bootstrap program
B) compiler program
C) binder program
D) system utility
A) bootstrap program
B) compiler program
C) binder program
D) system utility
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
32
Describe the relationship between an API, the system-call interface, and the operating system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
33
Describe some requirements, or goals, when designing an operating system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
34
What are the advantages and disadvantages of using a microkernel approach?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
35
Describe how Android uses a unique virtual machine for running Java programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
36
Application programmers typically use an API rather than directory invoking system calls.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
37
Describe how Mac OS X is considered a hybrid system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
38
When a process fails, the operating system takes a ________ which can then be probed by a debugger for failure analysis?
A) core dump
B) crash dump
C) capture of network statistic information
D) capture of CPU usage information
A) core dump
B) crash dump
C) capture of network statistic information
D) capture of CPU usage information
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following operating system structure involves using loadable kernel module in design?
A) monolithic structure
B) layered structure
C) microkernel
D) modular approach
A) monolithic structure
B) layered structure
C) microkernel
D) modular approach
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
40
Which of the following is a much more restricted, or even closed, system to developers than others?
A) Linux
B) Mac OS X
C) iOS
D) Android
A) Linux
B) Mac OS X
C) iOS
D) Android
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
41
iOS and Android combine different structures, resulting in hybrid systems that address performance, security, and usability issues.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
42
iOS is open source, Android is closed source.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck