The document contains a summary of operating systems concepts and questions related to operating systems. It discusses topics like:
1. The different types of languages computers use and what causes a page fault.
2. The definition of an operating system with multiprogramming capability and where swap space is located.
3. File management concepts like spooling and system calls, as well as memory management techniques like paging, segmentation, and addressing schemes.
4. Interrupts in operating systems and how they are used to handle communication between hardware and software.
The document contains a summary of operating systems concepts and questions related to operating systems. It discusses topics like:
1. The different types of languages computers use and what causes a page fault.
2. The definition of an operating system with multiprogramming capability and where swap space is located.
3. File management concepts like spooling and system calls, as well as memory management techniques like paging, segmentation, and addressing schemes.
4. Interrupts in operating systems and how they are used to handle communication between hardware and software.
The document contains a summary of operating systems concepts and questions related to operating systems. It discusses topics like:
1. The different types of languages computers use and what causes a page fault.
2. The definition of an operating system with multiprogramming capability and where swap space is located.
3. File management concepts like spooling and system calls, as well as memory management techniques like paging, segmentation, and addressing schemes.
4. Interrupts in operating systems and how they are used to handle communication between hardware and software.
The document contains a summary of operating systems concepts and questions related to operating systems. It discusses topics like:
1. The different types of languages computers use and what causes a page fault.
2. The definition of an operating system with multiprogramming capability and where swap space is located.
3. File management concepts like spooling and system calls, as well as memory management techniques like paging, segmentation, and addressing schemes.
4. Interrupts in operating systems and how they are used to handle communication between hardware and software.
NSG IT Park, Sarja Hotel Lane, Aundh Pune 411 007 Date: January 21, 2012 10. Page fault occurs when ___________. Operating Systems Concepts (60 Minutes) 1. The page is corrupted by application software 1. The computer itself uses __________ language. 2. The page is in main memory 1. High level 3. The page is not in main memory 2. Natural 4. One tries to divide a number by 0 3. Assembly 11. An operating system with multiprogramming 4. Machine capability is one that__________. 2. Which of the following is not an operating system? 1. allows several users to use the same program 1. SuSE at once by giving each a slice of time 2. Unix 2. loads several independent processes into 3. OSD memory and switches the CPU from one job 4. DOS to another as required 3. Object modules generated by assemblers may 3. runs programs over more than one processor contain unresolved references. These are resolved 4. None of the above using other object modules by the __________. 12. Where does swap space reside? 1. linker 1. Disk 2. loader 2. RAM 3. debugger 3. ROM 4. compiler 4. On-chip cache 4. Which of the following is not a necessary condition 13. A 1000 MB hard disk has 512-byte sectors. Each for a deadlock? track on the disk has 1000 sectors. The number of 1. Mutual Exclusion tracks on the disk is ___________. 2. Circular wait 1. 1024 3. No preemption of resources 2. 2048 4. None of the above 3. 512 5. An operating system is ____________. 4. 1000 1. Integrated software 14. Which of the following is not an advantage provided 2. CD-ROM software by shared libraries? 3. System software 1. They save disk space 4. Application software 2. They save space in main memory 6. Match the operating system abstractions in the left 3. Multiple versions of the same library can be column to the hardware components in the right loaded into main memory column 4. None of the above a. Thread 1. Interrupt 15. Spooling is ___________. b. Virtual Address Space 2. Memory 1. The rewinding of tapes after processing c. File System 3. CPU 2. The temporary storage and management of d. Signal 4. Disk output to printers and other output devices 1. a-2, b-4, c-3, d-1 until they can cope with it 2. a-3, b-2, c-4, d-1 3. The recording of all user activities in a log file 3. a-1, b-2, c-3, d-4 4. None of the above 4. a-4, b-2, c-2, d-1 16. One function of an operating system is to handle 7. Which of the following file streams is not opened interrupts. Interrupts are_________. automatically in a UNIX program? 1. a delay in processing due to operating 1. Standard terminal system overload 2. Standard input 2. messages received from other computers 3. Standard output 3. signals from hardware or software requesting 4. Standard error attention from the operating system 8. Transfer of information to and from main memory 4. None of the above takes place in terms of _________. 17. Which of the following is not a solution for the 1. Bytes critical section problem? 2. Words 1. Monitor 3. Bits 2. Semaphore 4. Nibbles 3. Critical Region construct 9. Virtual Memory __________. 4. Segmentation 1. is an extremely large main memory 18. System calls are invoked by using __________. 2. is an extremely large secondary memory 1. Software interrupt 3. is a type of memory used in supercomputers 2. Polling 4. allows execution of processes that may not 3. Indirect jump be completely in memory 4. A privileged instruction
DAC 0811 OS Re-Examination Page 1 of 1
C-DAC’s Advanced Computing Training School, Pune 19. Paging is the transfer of pages between main 28. Which of the following memory management memory and the ___________. schemes does not allow multiprogramming? 1. Kernel 1. Fixed partition 2. Computer system 2. Dynamic partition 3. Auxiliary store 3. Single-user contiguous scheme 4. Output device 4. Relocatable dynamic partitions 20. Which of the following commands is used to count 29. Which of the following is the correct way of the total number of lines, words and characters calculating the address of the page frame? contained in a file? 1. Multiply the page frame number by the page 1. count p frame size 2. wc 2. Divide the page frame size by the page 3. wcount frame number 4. countw 3. Add the page frame number and the page 21. The size of the virtual memory depends on the size frame size of the ___________. 4. Multiply the page frame number by the 1. Address bus displacement 2. Data bus 30. Which of the following concept is best at 3. Memory bus preventing page faults? 4. None of the above 1. Paging 22. Computers use the ___________ language to 2. Hit ratios process data. 3. The working set 1. Processing 4. Address location resolution 2. kilobyte 31. The total effect of all CPU cycles, from both I/O- 3. Binary bound and CPU-bound jobs, approximates which 4. Representational of the following distribution curves? 23. What do you mean by computer interrupt? 1. Gaussian distribution 1. When a device has data to transfer it makes 2. Poisson distribution an interrupt. that means it needs your 3. Lorentzian Distribution attention, the processor then stops what it is 4. Random Distribution doing and deals with the device 32. Which of the following storage allocation scheme 2. The computer is interrupted by a signal from results in the problem of fragmentation? space saying it needs to close down the 1. Contiguous storage illegal application 2. Non-contiguous storage 3. when on word processor, if you type to much 3. Indexed storage the computer makes an interrupt to let you 4. Direct storage there is no more room to type 33. Which of the following commands in UNIX gives 4. When someone tries to add to your the user the capability of executing one program conversation from another program? 24. Multiprogramming systems___________. 1. nice 1. Are easier to develop than single 2. fork programming systems 3. exexv 2. Execute each job faster 4. nohup 3. Execute more jobs in the same time period 34. What does a cycle in a wait-for graph indicate? 4. Are used only one large mainframe 1. Deadlock computers 2. Preemptive 25. The components that take data are located in the 3. Non-Preemptive __________. 4. None of the above 1. Input devices 35. What kind of CPU burst an I/O-bound program 2. output devices would typically have? 3. system unit 1. Long 4. storage component 2. Short 26. What is one of the advantages of Paging? 3. Average 1. It does not suffer from internal fragmentation 4. All of the above 2. It does not suffer from spooling 36. UNIX uses the _____ page replacement algorithm. 3. It does not suffer from external 1. LRU fragmentation 2. MRU 4. All of the above 3. FCFS 27. The heart of any computer is processing the input 4. FIFO in order to provide useful ______________. 37. The ___________ command will display the 1. Information absolute pathname for the directory that you are 2. Output working in. 3. Kernel 1. dir 4. Communication 2. pwd 3. ls 4. whereami
DAC 0811 OS Re-Examination Page 2 of 2
C-DAC’s Advanced Computing Training School, Pune 38. Which command would you use to create a sub- 2. fast memory present on the processor chip directory in your home directory? that is used to store recently accessed data 1. mkdir 3. a reserved portion of main memory used to 2. dir save important data 3. cp 4. a special area of memory on the chip that is 4. rm used to save frequently used constants 39. Round-robin scheduling is __________. 49. A memory management technique used to improve 1. Non- preemptive computer performance is___________. 2. It depends 1. Selecting memory chips based on their cost 3. Preemptive 2. Storing as much data as possible on disk 4. None of the above 3. Using the cache to store data that will most 40. Which command can be used to display the likely be needed soon contents of a file on the screen? 4. Preventing data from being moved from the 1. ls cache to primary memory 2. cat 50. What do you mean by defragmentation? 3. dog 1. keyboard that allows for a more natural 4. grep positioning of your arms and hands. 41. What is the Process Input Queue? 2. The time it takes to read/write head to move 1. A collection of processes to a specific data track; one of the delays 2. A collection of processes on the disk that associated with reading or writing data on a have already executed computer disk drive. 3. A collection of processes on the disk that are 3. Pointing device you can use instead of a mouse. waiting to be brought into memory for These devices sense the position of your finger execution and then move the pointer accordingly. 4. Both 1 and 2 4. A utility that reduces the amount of 42. What is Swapping? fragmentation by physically organizing the 1. The process of moving a process within contents of the disk to store the pieces of memory to and from the backing store each file contiguously. 2. The process of moving a process within memory to backing store 3. The process of moving a process to memory 4. All of the above 43. Using the SJF algorithm, which process is allocated the CPU first? 1. The process that requests the CPU first 2. The process that requests the CPU last 3. The process with the smallest CPU execution time 4. None of the above 44. Which of the following is not a scheduling algorithm? 1. First-Come First-Serve 2. Round Bear 3. Shortest Job First 4. None of the above 45. Which process is allocated the CPU first in FCFS algorithm? 1. The process that requests the CPU first 2. The process that requests the CPU last 3. Processes are allocated the CPU randomly 4. None of the above 46. What will be the order when information is processed with direct access? 1. Any order 2. Sequential order 3. Non-sequential order 4. None of the above 47. What will be the order when information is processed with sequential access? 1. Any order 2. Sequential order 3. Non-sequential order 4. None of the above 48. Cache memory refers to ___________. 1. cheap memory that can be plugged into the mother board to expand main memory