it383 midtemr1

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/42

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

43 Terms

1
New cards
. is not one of the major categories of system calls

Process Control

Communications

Security
Security
2
New cards
is/are not a technique for passing parameters from an application to a system call

Cache memory

Registers

Stack
Cache memory
3
New cards
Which of the following is not considered a form of a system utility?

Application programs

Programming language support

Background services
application programs
4
New cards
The one program running at all times on the computer is the kernel
is loaded at power-up or reboot
bootstrap program
5
New cards
A ____________is a software-generated interrupt caused either by an error or a user request.
trap
6
New cards
Interrupt transfers control to the interrupt service routine generally
through the ____________________
7
New cards
What are the two major functions of operating systems? (You don't have to explain the functions in detail. Just present the names of the major functions) The two major functions of operating systems are:
Resource Management
Process Management

To turn an ugly interface into one that is pleasing .

To preform tasks based on the systems request.
8
New cards
If there is no job to do (i.e.
there is no running process and no interrupting being handled)
9
New cards
is/are not a technique for passing parameters from an application to a system call
Cache memory
10
New cards
Which of the following is an inter-process communication that requires two processes share memory?
shared memory
11
New cards
Which of the following statements is incorrect?
Operating systems provide both command line as well as graphical user interfaces.
12
New cards
Which of the following is not considered a form of a system utility?
Application Programs
13
New cards
Which of the following is a user interface where human fingers slide across the screen or press buttons to select choices?
touch screen
14
New cards
Which of the following is not a type of command interpreter?
KDE or GNOME
15
New cards
Which of the following is the only gateway between user space and kernel space?
system call
16
New cards
Which of the following defines the view of the operating system seen by most users?
application and system programs
17
New cards
A message passing model is
easier to implement than a shared memory model for intercomputer communication
18
New cards
Microkernels use ............ for communication.
message passing
19
New cards
is a mobile operating system designed for the iPhone and iPad.
iOS
20
New cards
Which of the following operating system structure is the one for Mach OS?
microkernel
21
New cards
Which of the following contains dynamically allocated data during program run time?
heap section
22
New cards
Which of the following process state will be switched from "running" state when an I/O event occurs?
waiting
23
New cards
Child processes inherit UNIX ordinary pipes from their parent process because:
A pipe is treated as a file descriptor and child processes inherit open file descriptors from their parents.
24
New cards
Which of the following is true in a Mach operating system?
All messages have the same priority

Multiple messages from the same sender are guaranteed an absolute ordering.

The sending thread must return immediately if a mailbox is full.

It is not designed for distributed systems All messages have the same priority
25
New cards
The ________ application is the application appearing on the display screen of a mobile device. foreground
saves the state of the currently running process and restores the state of the next process to run.
Context switch
26
New cards
When a process creates a new process using the fork() operation
which of the following states is shared between the parent process and the child process?
27
New cards
Which of the following system calls is used to have a new program loaded into the new process's memory space?
exec()
28
New cards
If process P0 is switched to process P1
state for P0 will be saved into ____
29
New cards
system allows more than one task to run simultaneously.
Parallel
30
New cards
involves distributing tasks across multiple computing cores.
Task Parallelism
31
New cards
The _______ multithreading model multiplexes many user-level threads to a smaller or equal number of kernel threads.
many to many
32
New cards
The _______ multithreading model is used by both Linux and Windows.
one to one

Both Linux and Windows use the one-to-one model. Although this model may create a large number of kernel threads
33
New cards
In Pthreads and Windows threads any data declared _____ are shared by all threads belonging to the same process.
globally
34
New cards
A ............. uses an existing thread - rather than creating a new one - to complete a task.
thread pool
35
New cards
Grand Central Dispatch handles blocks by
placing them on a dispatch queue
36
New cards
Terminating a running application using a keystroke sequence causes a(n) __________ exception.
asynchronous
37
New cards
Cancellation points are associated with ........... cancellation
deferred
38
New cards
Thread local storage is .............. Correct answer:
data that is unique to each thread.
39
New cards
Which of the following types of operating system kernel is free from race conditions?
Non Preemptive Kernel
40
New cards
Why is kernel-mode synchronization often preferred for managing shared resources between processes?
Kernel mode provides direct access to hardware resources and can enforce stricter control over access.
41
New cards
Where should process synchronization typically take place in order to ensure safe and efficient access to shared resources?
Both user mode and kernel mode
42
New cards
Which of the following is true about context switching in an operating system?
ntext switching occurs when the CPU switches from executing one process or thread to another
43
New cards
Which of the following correctly describes what threads share within the same process and where their data/code is stored?
Threads share the same address space