Operating Systems Midterm
1 / 112
Term:
Definition:
Show example sentence
Show hint
Keyboard Shortcuts
  • Previous
  • Next
  • F Flip card

Complete list of Terms and Definitions for Operating Systems Midterm

Terms Definitions
NTOSKRNL.EXE The Windows OS kernel
Hierarchical page tables are appropriate for 64-bit architectures. (T/F) False
The deadlock detection algorithm searches for a cycle in the graph True
802.11n Wireless networking standard that operates in the 2.4GHz and 5.6GHz band and uses MIMO for a theoretical output of 100+ Mbps
hierarchical Folders that are saved with folders
Windows XP implements virtual memory using demand paging with clustering. (T/F) True
context a process's progress info which includes the value of the CPU registers, the process state and memory-management information.
Deadlock avoidance works by ensuring that the system will never enter an unsafe state. True
adware type of malicious program that downloads ads to a user's computer, generating undesirable network traffic
Threads Lightweight Process--a single path of instruction that shares the processes' resources
Should an instruction to modify entries in a device status table be privileged? Yes.
x64 a phrase commonly used to denote operating systems that can run on 64-bit processors
A Workgroup Loosely associated computers, each of which is its own security authority.
Virtual memory decreases the degree of multiprogramming in a system. (T/F) False
compaction to relocate programs to join holes together into bigger holes
microkernel structures the OS by removing all nonessential components from the kernel and implementing them as system and user-level programs.
remote procedure call abstracts out the send/await-reply paradigm into a 'procedure call'. This can be done by providing a stub that hides the details of remote communication
Programmed I/O Uses a general-purposed processor to watch status bits and to feed data into a controller register one byte at a time.
readers/writers system writers write to shared memory, readers take from there. multiple reader may be reading simultaneously. Only one writer may be active at a time. Reading and writing cannot proceed simultaneously. Make sure readers don't starve writers and vice versa.
SCAN type of disk head scheduling. Moves the head in one direction until all requests have been serviced in that direction, then reverse the direction.
What controls the file system hardware? Device driver
True or false: COW allows more efficient process creation as only modified pages are copied. True
Logical addresses are referred to as virtual addresses. True
Disk Management snap-in available with the Microsoft Management Console that enables techs to configure the various disks installed in a system; available in the Computer Management Administrative Tool
Virtualization Helps us to share resources (ex: spooling)
Should the instruction to switch to kernel mode be privileged? Yes.
Review Test and Set on page 232. Continue.
F8 If you are starting your computer and wish to load the computer in safe mode, you will have to bring up a menu by hitting a key before Windows Boots..and then select Safe Mode What is the key you will have to press to get this menu?
Version A particular revision of a piece of software , normally described as a number, which tells you how new a product is in relation to other versions of the product.
DXDIAG What tool allows you to test DirectX functionality?
A relocation register is used to check for invalid memory addresses generated by a CPU. (T/F) True
dispatch taking a process from the ready queue into running.
static partitioning when the memory is partitioned into parts whose size cannot change
multi-level page table add additional levels of indirection to the page table by sub-diving the page number into k parts, thus creating a hiearchy of page table.
swapping swapping refers to the removal of an entire process from memory when contention for memory becomes too high. It is a form of medium-term scheduling
Main memory only takes one cycle to complete False
BOOT.INI text file used during the boot process that provides a list of all OSs currently installed and available for NTLDR. Tells where each OS is located on the system. Windows XP and earlier
attributes values in a file that determine the hidden, read-only, system and archive status of the file
applet generic term for a program in the Windows Control Panel
Job (task) AN activity submitted to an operating system TO be done
user interface refers to tool and commands through which user interacts with OS
What is nonpreemptive scheduling? Under nonpreemptive scheduling, when the CPU is given to a process, it keeps it until it either terminates or switches to the waiting state.
Should an instruction to access an IO device be privileged? Yes.
Windows Catalog With the Release of Windows XP Microsoft expanded the idea of the "Hardware Compatibility List" to include software as well as hardware compatible with Windows .. What is this List now referred as?
If several jobs are ready to be brought into memory and there is not enough memory for all of them, what is used? job-scheduling code
What does the extension .dll stand for? Dynamic Link Library
optimal processor scheduling no other scheduling policy is better than this one, but it is not the best at keeping the processor running at all points.
dual-mode operation when user programs and the OS share memory, the OS must be protected from user programs. This means that there is 'user mode' and a 'system/protected/supervisor mode'
address space the domain of memory accessible to a process
time sharing systems the CPU executes multiple jobs by switching among them, but the switches occur so frequently that the users can interact with each program while its running.
buffering when a block is read into memory, it is stored in the buffer.
page trace the list of pages referenced as time goes by
What is paging? Paging is a memory management scheme that permits the physical address space of a process to be non-contiguous.
Backup or Restore Wizard Utility contained within Windows that allows users to create system backups and set system restore points
APIPA(Automatic Private IP Addressing) Feature of windows that automatically assigns and IP address to the system when the client cannot obtain an IP address automatically
systems software and eg. all programs related to coordinating computer operationseg OS, language translators, Utility programs
What is deferred cancellation? The target thread periodically checks whether it should terminate, allowing it an opportunity to terminate itself in an orderly fashion.
Shell A program that runs on top of the OS and allows the user to issue commands through a set of menus or some other graphical interface.
Hidden,Read only, Archive, System What are the attributes available to files on a FAT32 partition?
What is a process? A program loaded into memory and executing
virtual address space same as logical address space: the set of all logical addresses generated by a program
What is an MMU? memory management unit is the hardware device that maps the virtual to physical addresses. In this scheme, the value in the relocation register is added to every address generated by a user process at the time it is sent to memory.
What is response time? – Time from submission until first output/input – Approximate by time from submission until first access to CPU
command-line interface user interface for an OS devoid of all graphical trappings
You would like to use third party drive image utility to clone a Windows XP Professional OS to 10 newly purchase systems. Which of the following commands should you run on the Windows XP system first?A SID commandB SYSPREP command B SYSPREP command
What is a Pthread? Pthreads refers to the POSIX standard for defining an API for thread creation and synchronization.
What is the dispatcher? The dispatcher is the module that gives control of the CPU to the process selected by the short term scheduler.
How do we keep race conditions from happening? With process synchronization.
What is asynchronous thread cancellation? One thread immediately terminates the target thread.
Why is the command interpreter generally separate from the kernel? It is subject to change.
Which of these is information maintenance related? get/set time or date get/set system data get/set process, file, or device attributes
shortest seek time first type of disk head scheduling, moves to the closest requested track from the current head position.
What is an instance-based synchronization? each separate instance of an object, when used with its corresponding synchronized methods, have separate locks
While booting you receive the following message when booting Windows NT 4.0 Workstation “Boot could not find NTLDR. Please insert another disk” What should you do to fix the disk?A Run the emergency repair processB Extract the file A Run the emergency repair process
What's a critical section? Each process has a segment of code called a critical section, in which the process may be changing common variables, updating a table, writing a file, and so on. The important feature of using a critical section is that when one process is executing in its critical section, no other process is allowed to execute in its critical section. No two processes are executing in their critical sections at the same time.
What is waiting time? The sum of all periods a process spends waiting for CPU time.
What are the advantages and disadvantages of automatic buffering? Automatic buffering means that the programmer doesn't have to worry about how many messages can be stored. The down side is that an arbitrarily large pile of messages may gather, eating memory.
Describe shortest job first scheduling. The shortest job in the readyqueue gets assigned to the CPU. This has very little waiting time, but starvation can occur for longer jobs.
what is an .inf file? an .inf file is a file holds configuration settings for operating systems and applications
What is hold and wait? This happens when a process holding at least one resource is waiting to acquire additional resources held by other processes.
What the File Location? This is a pointer to the location on the device.
When a process "looses" the CPU, what needs to be saved so that the process can be resumed later? CPU registers, memory management info
A client calls and tells you that while he was installing Windows 98 the system files could not be updated and the system hung. What should be disabled in order to upgrade the operating system?A Drive compression.B Antivirus in the BIOS B Antivirus in the BIOS.
Characterize the CPU activity of a CPU bound process. A few long CPU bursts.
What's the critical section problem? To design a system that processes can use to cooperate.
Characterize the CPU activity of an IO bound process. Lots of short CPU bursts.
What are the differences between a trap and an interrupt? A trap is a software-generated interrupt. It's the kind of thing you do on purpose.
What does Virtual memory allow? a job to run while not completely in memory and to run programs that are larger than physical memory.
How it the Unix Operating System Structured and designed? All Unix operating systems share a shell/kernel architecture, with the kernel providing the core functionality and the interchangeable shells providing the user interface.  
True or false: Compaction is possible with static relocation. False, relocation must be dynamic and done at execution time.
What is a busy wait? When a process has to wait for another process before it can continue to execute
Which statement is correct?A Anything in CONFIG.SYS can be run from a command prompt.B Anything in AUTOEXEC.BAT can be run from a command prompt.C Nothing in CONFIG.SYS or AUTOEXEC.BAT can be run from a command prompt.D Anything i B Anything in AUTOEXEC.BAT can be run from a command prompt.
What are the five challenges of multicore programming? Dividing activities: What tasks can be run concurrently? Balance: Are the things running on the various cores of equal worth? Data Splitting: The data accessed by tasks has to be split up. Data Dependency: The data accessed by tasks have to be examined for dependencies. Testing and Debugging: More execution paths means more harder to debug!
Why does the dispatcher need to be fast? Because it's invoked during EVERY process switch. The time it takes for the dispatcher to stop one process and start another is called dispatch latency.
d) Select start, Shutdown, choose shut down and turn off computer To turn off a Windows 2000 machine, you should ________.a) run the shut down (turn off) command at a command promptb)Turn off the switch and unplug the machinec)Press CTRL+ALT+DELd) Select start, Shutdown, choose shut down and turn off computer
what is the "system" attribute for? Indicates that a file is used by the operating system. Some system files are not accessible by a user
When does/can scheduling occur and which cases are examples of Non-preemptive scheduling and which of Preemptive scheduling? 1. When a process terminates 2. When a process switches from a running to waiting state 3. When a process switches from a running to ready state 4. When a process switches from a waiting state to a ready state   1 and 2 are non-preemptive and everything is or can be preemptive
Give an example of some threads. A word processor may have a thread for getting input from the user, another for spellchecking, and another for displaying graphics.
Timers can be used to compute the current time. How? A sleeping program can update its status and sort out the current time based on a timer interrupt. If you had it sleep for ten seconds, when it awakens it is ten seconds later than it was when it went to sleep.
What are two differences between user level threads and kernel level threads? User level threads are not known to the kernel. The kernel is aware of kernel threads. On many to 1 or many to many systems, user threads are scheduled by the thread library and the kernel threads are scheduled by the kernel library.
Describe the many to one model of threads. There's one kernel thread with many user level threads mapped to it. Management is done by the thread library in user space, which is efficient, but if one thread blocks, the whole process blocks. Since only one thread can access the kernel at once, it can't make use of multiprocessing.
Why can't we use Peterson's solution these days? Because it's not guaranteed to work on modern computer architecture.
What does the extension .chm stand for? it is a help file used by various applications
What is starvation and how is it solved? it is the indefinite waiting for CPU access and it can be solved using aging
How could a system be designed to allow a choice of operating system from which to boot? Consider a system that would like to run both Windows XP and three different distributions of Linux (e.g., RedHat, Debian, and Mandrake). Each operating system will be stored on disk. During system boot-up, a special program (which we will call the boot manager) will determine which operating system to boot into. This means that rather initially booting to an operating system, the boot manager will first run during systemstartup. It is this bootmanager that is responsible for determining which system to boot into. Typically boot managers must be stored at certain locations of the hard disk to be recognized during systemstartup. Bootmanagers often provide the userwith a selection of systems to boot into; boot managers are also typically designed to boot into a default operating system if no choice is selected by the user.
How are a multilevel feedback queue and a FCFS queue related? The lowest level of MLFQ is a FCFS queue.
Review Dekker's algorithm on page 269 and prove that it is a valid solution to the critical section problem. Will do this in live review. Please pre-review.
What can occur if a process is in the ready state? It can get scheduled and dispatched into a running state.
Why use a thread instead of creating a new process? It is more efficient to use one process with multiple threads. If the new process is going to do mostly the same thing as another process, why incur all that overhead? Just use a thread.
What are the three major activities of an operating system with regard to memory management? Keep track of what memory is in use and by whom, decide which processes are to be loaded into memory when it becomes available, allocate and deallocate as necessary
Describe the one to one model of threads. Each user thread is mapped to a kernel thread. This causes a kernel thread to have to be generated for new user threads, so a limit has to be placed on the number of threads. Good for multiprocessing, good for letting a thread run while another thread is blocking. Linux and Windows both use this.
What does it mean that the system is in a safe state? the system is safe if there exists a sequence of all processes such that for each process, the resources that can it can request can be satisfied by the currently available resources plus the resources held by all other processes.