Knorr Cubes PDF
Document Details
Uploaded by Deleted User
Tags
Summary
This document contains several questions and concepts about various operating systems topics such as scheduling algorithms, process synchronization, and computer architecture. It also contains some questions relating to JAVA ports, communication links and other computer-related concepts.
Full Transcript
Which of the following are characteristics of a JAVA ports? Connection-Oriented Connectionless Multicast Socket Which of the following includes physical implementation of communication link? direct synchronous explicit buffering network...
Which of the following are characteristics of a JAVA ports? Connection-Oriented Connectionless Multicast Socket Which of the following includes physical implementation of communication link? direct synchronous explicit buffering network shared memory hardware bus In computer orgranization, high speed devices are placed in a single chip called _________________. Northbridge Another term for the preemptive short-job first is _________________. Shortest Remaining Time First Assume you have the following jobs to execute with one processor, with the jobs arriving at the following times and requiring the following amount of CPU. What is the second (2nd) process that will complete if a Round-Robin algorithm using a time quantum equal to 2 millisecond is used? (Type number ONLY) 2 If both transmit and reception are blocking in process synchronization, it is called ___________. Rendezvous Copying information into faster storage system, main memory can be viewed as a last cache for secondary storage. Caching Which of the following schedulers are being used by a process during scheduling? Long-term scheduler Short-term scheduler Medium-term scheduler Dispatch scheduler It pertains to a request for operating system service System Call Which of the following are the areas where the multiple core SPU present challenges to the programmers? Identifying tasks Balance Data splitting Data dependency Testing and debugging Data redundancy Which of the following are operating system services for programming language support? Compilers Linkers Debuggers Assemblers GUI CLI When a user click an application icon on the desktop, it creates a new process. This process is waiting at the _______ for its prior to the CPU execution. Ready Queue Pipelining is an example of which cooperating process component? Information Sharing Modularity Computation Speedup Convenience The basic idea behind a ______ is to remove non-essential services from the kernel and implement them as system applications. micro kernels It pertains to operating system implementation that can allow an OS to execute on a non-native hardware. Emulation Assume you have the following jobs to execute with one processor, with the jobs arriving at the following times and requiring the following amount of CPU. What is the average turnaround time if Non-pre-emptive Shortest Job First algorithm is used? (type numerical value ONLY) 8.25 In a certain system of processes, process A arrived at time 0, process B at time 1, and process C at time 2. Process A needs 5 seconds in the CPU, process B needs 3 seconds, and process C needs 1 second. All processes are totally CPU bound and process-switching time is negligible so that after 9 seconds all processes have completed. At what time does process A complete if the process-scheduling algorithm is priority scheduling, each process has a higher priority than the previous one? (Type the number only) 9 Analogy: Windows OS: Interrupt | Unix: ____ Signal Burst time is the mount of time a process need to complete its process execution. Burst time is also called ______. Response Time It refers to a signal coming from an input/output devices to temporarily halt CPU execution Interrupt The only large storage media that the CPU can access directly. Main Memory Which of the following pertains to communications in a Client-Server network system? Ports RPC Protocols In computer architecture, this is where the results of the operations are being stored. Accumulator In computer organization, when a code is being executed, it is being fetched from the memory and loaded into _______. Instruction register What term best describe when CPU switches to another process, the system must save the state of the old process and load the saved state for the new process. Context Switch Which of the following are considered to be a primary storage? Registers Cache Main memory Non-volatile memory Hard disk drives Optical disk Magnetic tape A program that intermediates to the entire computer system components Operating System This is when an absolute code is generated when it is known where a process will reside in memory Compile time In computer architecture, this is where the results of the operations are being stored Accumulator Assume you have the following jobs to execute with one processor, with the jobs arriving at the following times and requiring the following amount of CPU. What is the average waiting time if FCFS scheduling algorithm is used? (Type numerical value ONLY) 5.5 In a client-server architecture, a _____ system offers an interface for clients to the store and retrieve files. File Server A process retained control of the CPU until the process is blocked or terminated. Non pre-emptive An operation that needs to be executed before a file can be available to processes in a system. Mounting Which of the following are process scheduling queues? Ready queue Device queue Job queue Memory queue Analogy: Windows: Threads | Linux: _______ Tasks It is a number assigned to every peripheral that is being used to communicate with the CPU. Port number Utilizing databases on a client-server architecture is an example of which cooperating process component? Information Sharing Which of the following are unique among multiple threaded processes? Registers Program counter Stack A computer system that pertains to PDAs and Cellular Telephones Handheld Systems To which thread would the signal be given if a multi-threaded process receives signal To the subprocess to which the signal applies To every subprocess in the job To certain subprocess in the job Assign a specific subprocess to receive all signals in a job Extension of main memory that provides large nonvolatile storage capacity Secondary storage Data fetched from the memory and moved into the CPU traverses via _______. Data Bus A rigid metal or glass platters covered with magnetic recording material. Magnetic Disk In UNIX systems, ______ are used to inform a process that an event has happened. Signals Used for high-speed I/O devices able to transmit information at close to memory speeds without CPU intervention. DMA A hardware signal sent to the processor that temporarily stops a running program and allows a special program. Interrupt request A set of all processes residing in main memory, ready and waiting to execute. Ready queue A system that is categorize by hard or soft system. Real-time system