Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

COP 4610 Midterm Rev

Review of Midterm for Operating systems and Multithreaded programming

QuestionAnswer
Name an operating system that is not open source: Windows XP
In what way is an operating system like a government? It creates an environment within which other programs can do useful work
Embedded computers typically run on a _______ operating system. real-time
a clustered system _______ . gathers together multiple CPUs to accomplish computational work.
A ____ is an example of systems program. command interpreter.
Microkernels use _____ for communication. message passing
______ is/are not a technique for passing parameters from an application to a system call. Cache memory.
When communicating with sockets, a client process initiates a request for a connection and is assigned a port by the host computer. Which of the following would be a valid port assignment for the host computer? 1625
State the priority relationship of messages in a Mach OS. All messages have the same priority.
A process control block _________ . includes information on the process's state
The list of processes waiting for a particular I/O devices is called a(n) ________ . device queue
Which of the following statements regarding threads is false? Sharing is automatically provided in Java threads.
Signals can be emulated in windows through _________. asynchronous procedure calls
Pthreads refers to _______ . a specification for thread behavior.
A _____ provides an API for creating and managing threads. thread library.
The default scheduling class for a process in Solaris is ________ . time sharing
What is the numeric priority of a Windows XP thread in the BELOW_NORMAL PRIORITY_CLASS with NORMAL relative priority? 6
The _____ scheduling algorithm is designed especially for the time-sharing systems. RR
What is the numeric priority of a Windows XP thread in the NORMAL_PRIORITY_CLASS with HIGHEST relative priority? 10
A spinlock ________ . does not require a context switch when a process must wait on a lock
What is the purpose of the mutex semaphore in the implementation of the bounded-buffer problem using semaphores? it ensures mutual exclusion.
_______ is not a technique for handling critical sections in operating systems on modern architectures. Peterson's solution
The first readers-writers problem ______. requires that no reader will be kept waiting unless a writer has already obtained permission to use the shared database.
(TRUE/FALSE):Processors for most handheld devices run at a fraction of the speed of a processor in a PC True.
(TRUE/FALSE):A dual-core system requires each core has its own cache memory. False.
(TRUE/FALSE):The operating system kernel consists of all system and applications programs in a computer. False.
(TRUE/FALSE):Many operating systems merge I/O devices and files into a combined file because of the similarity of system calls for each True.
(TRUE/FALSE):The virtual-machine[VM] concept is designed to insulate various system resources from processes running on the VM. True.
(TRUE/FALSE):In general, Windows system calls have longer, more descriptive names and UNIX system calls use shorter less descriptive names. True.
(TRUE/FALSE):A socket is identified by an IP address concatenated with a port number. True.
The difference between a program and a process is that a program is an active entity while a process is a passive entity. False.
(TRUE/FALSE):Named pipes continue to exist in the system after the creating process has termined. True.
A thread is composed of a thread ID, program counter, register set, and heap. False.
(TRUE/FALSE):A tradition(or heavyweight) process has a single thread of control. True.
(TRUE/FALSE):It is possible to create a thread library without an kernel-level support True.
(TRUE/FALSE):The most complex scheduling algorithm is the multilevel feedback-queue algorithm. True.
(TRUE/FALSE):In preemptive scheduling, the sections of code affected by interrupts must be guarded from simultaneous use. True.
(TRUE/FALSE):SMP systems that use multicore processors typically run faster than SMP systems that place each processor on separate cores. True.
(TRUE/FALSE):Monitors are a theoretical concept and are not practiced in modern programming languages. False
(TRUE/FALSE):Every object in Java has associated with it a single lock. True.
(TRUE/FALSE):The local variables of a monitor can be accessed by only the local procedures. True.
What code implements correctly the simple semaphore operations wait(S) and signal(S) on a global variable S? wait(S){ while (S <= 0); --S} signal(S) {++S;}
What is the context switch time associated with swapping if a disk drive with a transfer rate of 2 MB/s is used to swap out part of a program that is 200 KB in size? Assume that no seeks are necessary and that average latency is 15ms 133ms
Describe the differences between physical, virtual, and logical memory. PhyMem defines hardware used for memory: Vmem is created by the system when p requires more memory than available. Substitutes hard disk memory, using as main memory. LogM Abstracts pMem allowing programmer to work without dealing with memory limits.
Desicribe three general methods used to pass parameters to the operating system during system calls. 1. Registers 2. table / block o' memory 3. Stack
Created by: feariarann
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards