Section 1

Preview this deck

D

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (40)

Section 1

(40 cards)

D

Front

QN=9 (6903) Which of the following is a task of process management of OS? a. Process creation and deletion. b. Process suspension and resume c. Provision of mechanisms for process synchronization, Interprocess communication, Prevent or avoid deadlock d. All of the other choices

Back

B

Front

QN=25 (7036) Consider a swapping system in which the memory consists of the following hole sizes: 10 K, 4 K, 20 K, 15 K, 9 K. Assume first fit algorithm is used. Which holes are taken for successive segment requests of 8 K, 12 K, 10 K? a. 9 K, 15 K, 10 K b. 10 K, 20 K, 15 K c. 20 K, 15 K, 4 K d. None of the other choices

Back

C

Front

QN=38 (7437) Disk can be divided up into one or more partitions. The first block of every partition is called: a. Free block b. MBR c. Boot block d. Super block

Back

C

Front

QN=6 (6871) What is not a main function of an operating system? a. Provide the users with an extended (virtual) machine b. Manage the I/O devices c. Provide user interfaces d. Support virtual memory

Back

C

Front

QN=39 (7442) The Linking technique that allows the file to appear in more than one directory are: a. Hard link b. Symbolic link c. Both hard link and symbolic link d. Soft link

Back

C

Front

QN=29 (7065) A system with 32 bit virtual address. If the page size is 4 KB and each table entry occupies 4 bytes, what is the size of the page table? a. 1 MB b. 2 MB c. 4 MB d. 8 MB

Back

B

Front

QN=5 (6863) Information that must be saved prior to the processor transferring control to the interrupt handler routine includes: a. PSW b. PSW and PC c. PSW and Contents of processor registers d. None of the other choices

Back

D

Front

QN=17 (6978) Which of the following is true about Atomic action on semaphores? a. Checking the value b. Changing the value c. Possibly going to sleep d. All of the other choices

Back

D

Front

QN=28 (7057) If there are 64 pages and the page size is 2048 words, what is the length of logical address? a. 14 bits b. 15 bits c. 16 bits d. 17 bits

Back

C

Front

QN=4 (6858) As one proceeds down the memory hierarchy(phân cấp bộ nhớ) (from inboard memory to offline storage), which of the following conditions is correct? a. Increasing cost per bit b. Decreasing capacity c. Increasing access time(thời gian truy xuất tăng) d. None of the other choices f.

Back

D

Front

QN=37 (7428) Which are allocation methods of disk blocks for files? a. Contiguous allocation b. Linked allocation c. Indexed allocation d. All of the other choices

Back

C

Front

QN=32 (7086) Which is not true about the method of backing store: "Paging to a static swap area"? a. The swap area on the disk is as large as the process virtual address space b. Calculating the address in swap area requires knowing only where the process' paging area begins c. Requires a disk map in memory d. A page that is in memory always have shadow copy on disk

Back

C

Front

QN=14 (6956) How many ways is Thread implemented? a. 1 b. 2 c. 3 d. None of the other choices

Back

B

Front

QN=13 (6948) How many percent of the CPU time is wasted, when a computer system has enough room to hold two program and these programs are idle waiting for I/O half the time? a. 50% b. 25% c. 75% d. None of the other choices

Back

A

Front

QN=27 (7048) Which of these statements about the Inverted Page Table are true? a. An entry contains the pair (process, virtual page) mapped into the corresponding page frame b. An entry contains the pair (process, offset) mapped into the corresponding page frame c. An entry contains the pair (segment, virtual page) mapped into the corresponding page frame d. An entry contains the pair (segment, offset) mapped into the corresponding page frame

Back

C

Front

QN=8 (6898) What is not correct about system calls? a. A system call allows a user process to assess and execute operating system functions inside the kernel. b. User programs use system calls to invoke operating system services c. In terms of performance, using system calls is better than using procedure calls d. Every system call involves overhead due to context switch

Back

A

Front

QN=15 (6963) Critical Region (Section) concept used in interprocess communication is: a. A part of the program where the shared memory is accessed b. A part of shared data c. A part of shared memory d. None of the other choices

Back

A

Front

QN=23 (7021) Which of following is true about cache in the memory hierarchy? a. Small amount of fast expensive memory b. Some medium-speed medium price c. Gigabytes of slow cheap memory d. None of the other choices

Back

D

Front

QN=33 (7092) Which of the following statements about segmentation is false? a. There are several linear address spaces b. The total address space can be more than the size of physical memory c. Sharing of procedures between different users can be facilitated d. None of the other choices

Back

C

Front

QN=11 (6925) What is the "sequential processes" concept? a. There are both many CPU and many PC b. All process is executed in concurrency c. No concurrency inside a process; everything happens sequentially d. None of the other choices

Back

A

Front

QN=16 (6969) Which of the following statements is a hardware solution to the critical region problem? a. TSL b. Shared memory c. Semaphore d. None of the other choices

Back

B

Front

QN=1 (6836) A CPU may have multiple execution units, so that can carry out multiple instructions in the same time is called: a. Pipeline b. Superscalar(siêu vô hướng) c. Multicore d. None of the other choices

Back

C

Front

QN=30 (7072) Which of the following statements is incorrect about Translation Look-aside Buffer (TLB)? a. A TLB is sometimes known as an associative memory b. Each entry of a TLB contains the information about one page, including the virtual page number and the corresponding page frame c. A TLB miss implies a disk operation will follow d. None of the other choices

Back

A

Front

QN=36 (7421) ____ is a specialized WRITE command for existing data files that allows for adding records to end of the file. a. APPEND b. UPDATE c. REWRITE d. MODIFY

Back

C

Front

QN=34 (7406) A ____ is a group of related records that contains information to be used by specific application programs to generate reports. a. Field b. Record group c. File d. Directory

Back

D

Front

QN=35 (7413) File Structure can be: a. Byte sequence b. Record sequence c. Tree d. All of the other choices

Back

D

Front

QN=10 (6909) A simple structuring model for monolithic system includes: a. A main program that invokes the requested service procedure b. A set of service procedures that carry out the system calls c. A set of utility procedures that help the service procedures d. All of the other choices

Back

B

Front

QN=3 (6849) Which of the following instructions should be allowed in user mode? a. Disable all interrupts b. Read the time-of-day clock c. Set the time-of-day clock d. Change the memory map

Back

C

Front

QN=7 (6883) What is the main characteristic of real-time operating system? a. Multiple CPU b. Time-sharing c. Time is key parameter d. Many I/O devices

Back

A

Front

QN=31 (7080) Working set model is used for: a. Finding the minimum number of frames necessary for a job so that jobs can be run without "thrashing" b. Finding the average number of frames a job will need to run smoothly c. Determining whether page replacement is needed d. All of the other choices

Back

C

Front

QN=2 (6843) The four main structural elements of a computer system are: a. Processor, Registers, I/O Modules, Main Memory b. Processor, Registers, Main Memory, System Bus c. Processor, Main Memory, I/O Modules, System Bus d. None of the other choices

Back

A

Front

QN=18 (6987) Which of the following statements is true about hardware solution to the critical region problem? a. Disable Interrupts b. Monitors c. Semaphore d. None of the other choices

Back

C

Front

QN=24 (7029) Which of the following is a method to keep track of memory usages? a. Memory Management with Bit Maps b. Memory Management with Linked Lists c. Both Memory Management with Bit Maps and Memory Management with Linked Lists d. None of the other choices

Back

B

Front

QN=21 (7007) Five batch jobs A through E, arrive at a computer center at almost the same time. They have estimated running times of 8, 6, 2, 10, and 4 minutes. Determine the average waiting time for SJF (Shortest job first) scheduling. Ignore process switching overhead. a. 14 minutes b. 8 minutes c. 6 minutes d. 18.8 minutes

Back

A

Front

QN=19 (6991) What is the purpose of CPU scheduling algorithms? a. Pick one of the ready processes to run next b. Put to sleep and wake up processes in an efficient manner c. Allocate memory to the processes in a fair and efficient way d. None of the other choices

Back

D

Front

QN=26 (7042) One of the most important innovations of demand paging was that it made ____ feasible a. Memory demand b. Virtual demand c. Virtual paging d. Virtual memory.

Back

C

Front

QN=12 (6941) Which of the following process state transitions is correct, when the external event for which a process was waiting happens? a. Running -> Blocked (waiting) b. Running -> ready c. Blocked (waiting) -> ready d. Ready -> running

Back

C

Front

QN=22 (7015) Assume jobs A-D arrive in quick succession in the READY queue. Using round robin scheduling (quantum=4), the turnaround time for job D is ____. Arrival time: 0 1 2 3 Job: A B C D CPU cycle: 8 4 9 5 a. 7 b. 20 c. 22 d. 24

Back

B

Front

QN=20 (6999) The first-come, first-served (FCFS) algorithm is fine for most ____ systems a. Interactive b. Batch c. Real time d. Multiuser

Back

A

Front

QN=40 (7449) Which mechanism is implemented by writing to the log file with the purpose of file system management and optimization? a. Journaling File Systems b. Log-Structured File Systems c. Virtual File Systems d. None of the other choices

Back