Computer/Operating System MCQ Set 12 Sample Test,Sample questions

Question:
 Linux uses a time-sharing algorithm _______

1. to pair preemptive scheduling between multiple processes

2.for tasks where absolute priorities are more important than fairness

3.all of the mentioned

4. none of the mentioned


Question:
 The time required to create a new thread in an existing process is _____

1.greater than the time required to create a new process

2.less than the time required to create a new process

3.equal to the time required to create a new process

4. none of the mentioned


Question:
 What is Linux?

1.single user, single tasking

2.single user, multitasking

3. multi user, single tasking

4. multi user, multitasking


Question:
 When the event for which a thread is blocked occurs?

1.thread moves to the ready queue

2.thread remains blocked

3. thread completes

4. a new thread is provided


Question:
 Which binary format is supported by linux?

1.a.out

2.elf

3. both a.out and ELF

4.None of the mentioned


Question:
 Which of the following is FALSE?

1.Context switch time is longer for kernel level threads than for user level threads

2.User level threads do not need any hardware support

3.Related kernel level threads can be scheduled on different processors in a multiprocessor system

4.Blocking one kernel level thread blocks all other related threads


Question:
 Which one of the following is not a valid state of a thread?

1.running

2.parsing

3.ready

4.blocked


Question:
 Which one of the following linux file system does not support journaling feature?

1. ext2

2.ext3

3. ext4

4.None of the mentioned


Question:
A fork system call will fail if _______

1.the previously executed statement is also a fork call

2.the limit on the maximum number of processes in the system would be executed

3.the limit on the minimum number of processes that can be under execution by a single user would be executed

4.All of the Mentioned


Question:
A heavy weight process ______

1.has multiple threads of execution

2. has a single thread of execution

3.can have multiple or a single thread for execution

4.None of the mentioned


Question:
A process having multiple threads of control implies ____

1.it can do more than one task at a time

2.it can do only one task at a time, but much faster

3.it has to use only one thread per process

4.none of the mentioned


Question:
A thread is also called _______

1.Light Weight Process(LWP)

2.Light Weight Process(LWP)

3. Process

4.None of the mentioned


Question:
A thread shares its resources(like data section, code section, open files, signals) with ______

1. other process similar to the one that the thread belongs to

2.other threads that belong to similar processes

3.other threads that belong to the same process

4.All of the Mentioned


Question:
Because the kernel thread management is done by the Operating System itself _____

1. kernel threads are faster to create than user threads

2.kernel threads are slower to create than user threads

3.kernel threads are easier to manage as well as create then user threads

4.None of the mentioned


Question:
If a kernel thread performs a blocking system call, _______

1.the kernel can schedule another thread in the application for execution

2.the kernel cannot schedule another thread in the same application for execution

3. the kernel must schedule another thread of a different application for execution

4. the kernel must schedule another thread of the same application on a different processor


Question:
If a process does not call exec after forking ______

1.the program specified in the parameter to exec will replace the entire process

2.all the threads should be duplicated

3.all the threads should not be duplicated

4.None of the mentioned


Question:
If a thread invokes the exec system call _____

1. only the exec executes as a separate process

2.the program specified in the parameter to exec will replace the entire process

3.the exec is ignored as it is invoked by a thread

4.None of the mentioned


Question:
If exec is called immediately after forking ______

1.the program specified in the parameter to exec will replace the entire process

2.all the threads will be duplicated

3.all the threads may be duplicated

4.None of the mentioned


Question:
If one thread opens a file with read privileges then _____

1.other threads in the another process can also read from that file

2.other threads in the same process can also read from that file

3.any other thread can not read from that file

4.All of the Mentioned


Question:
If the kernel is single threaded, then any user level thread performing a blocking system call will _______

1.cause the entire process to run along with the other threads

2.cause the thread to block with the other threads running

3.cause the entire process to block even if the other threads are available to run

4.none of the mentioned


Question:
In the Many to Many model true concurrency cannot be gained because ____

1.the kernel can schedule only one thread at a time

2.there are too many threads to handle

3.t is hard to map threads with each other

4.None of the mentioned


Question:
In the Many to Many models when a thread performs a blocking system call ______

1.other threads are strictly prohibited from running

2.other threads are allowed to run

3.other threads only from other processes are allowed to run

4.None of the mentioned


Question:
In the Many to One model, if a thread makes a blocking system call ______

1. the entire process will be blocked

2. a part of the process will stay blocked, with the rest running

3.the entire process will run

4.None of the mentioned


Question:
In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because of _____

1. only one thread can access the kernel at a time

2.many user threads have access to just one kernel thread

3.there is only one kernel thread

4.None of the mentioned


Question:
In the One to One model when a thread makes a blocking system call ________

1.other threads are strictly prohibited from running

2.other threads are allowed to run

3.other threads only from other processes are allowed to run

4.None of the mentioned


Question:
Multithreading an interactive program will increase responsiveness to the user by _______

1.continuing to run even if a part of it is blocked

2. waiting for one part to finish before the other begins

3.asking the user to decide the order of multithreading

4.None of the mentioned


Question:
Multithreading on a multi – CPU machine ______

1.decreases concurrency

2.increases concurrency

3. doesn’t affect the concurrency

4.can increase or decrease the concurrency


Question:
RAID level 1 refers to ______

1.disk arrays with striping

2.disk mirroring

3.both disk arrays with striping and disk mirroring

4.none of the mentioned


Question:
Resource sharing helps ________

1.share the memory and resources of the process to which the threads belong

2.an application have several different threads of activity all within the same address space

3.reduce the address space that a process could potentially use

4.All of the Mentioned


Question:
Standard set of functions through which interacts with kernel is defined by _______

1. system libraries

2.kernel code

3. compilers

4.utility programs


Question:
Termination of the process terminates ______

1. first thread of the process

2.first two threads of the process

3.all threads within the process

4.no thread within the process


Question:
The first linux kernel which supports the SMP hardware?

1. linux 0.1

2. linux 1.0

3. linux 1.2

4.linux 2.0


Question:
The first process launched by the linux kernel is ______

1. init process

2.Zombie process

3.batch process

4.boot process


Question:
The jacketing technique is used to _______

1.convert a blocking system call into non blocking system call

2.create a new thread

3.communicate between threads

4. terminate a thread


Question:
The kernel is _______ of user threads.

1. a part of

2.the creator of

3. unaware of

4.aware of


Question:
The model in which one kernel thread is mapped to many user-level threads is called ______

1.Many to One model

2.One to Many model

3.Many to Many model

4.One to One model


Question:
The model in which one user-level thread is mapped to many kernel level threads is called ________

1. Many to One model

2.One to Many model

3.Many to Many model

4.One to One model


Question:
The One to One model allows ______

1.increased concurrency

2.decreased concurrency

3.increased or decreased concurrency

4.concurrency equivalent to other models


Question:
The register context and stacks of a thread are deallocated when the thread?

1. terminates

2. blocks

3.unblocks

4.spawns


Question:
The replacement of a bad block generally is not totally automatic because ______

1.data in bad block can not be replaced

2.data in bad block is usually lost

3.bad block does not contain any data

4.none of the mentioned


Question:
Thread synchronization is required because ______

1.all threads of a process share the same address space

2. all threads of a process share the same global variables

3. all threads of a process can share the same files

4.All of the mentioned


Question:
What will happen during the recovery from a failure?

1. each pair of physical block is examined

2. specified pair of physical block is examined

3.first pair of physical block is examined

4.None of the mentioned


Question:
When is the Many to One model at an advantage?

1.When the program does not need multithreading

2.When the program has to be multi-threaded

3. When there is a single processor

4.None of the mentioned


Question:
When we write something on the disk, which one of the following can not happen?

1. successful completion

2.partial failure

3. total failure

4. none of the mentioned


Question:
Which desktop environment is not used in any linux distribution?

1.gnome

2.kde

3. unity

4.None of the mentioned


Question:
Which of the following calls never returns an error?

1. getpid

2.fork

3.ioctl

4.Open


Question:
Which of the following is the drawback of the One to One Model?

1. increased concurrency provided by this model

2.decreased concurrency provided by this model

3.creating so many threads at once can crash the system

4.creating a user thread requires creating the corresponding kernel thread


Question:
Which of the following system calls does not return control to the calling point, on termination?

1.fork

2.exec

3.ioctl

4.longjmp


Question:
Which of the following system calls transforms executable binary file into a process?

1.fork

2.exec

3.ioctl

4.longjmp


Question:
Which one of the following bootloader is not used by linux?

1.GRUB

2. LILO

3.NTLDR

4.None of the mentioned


Question:
Which one of the following is not a linux distribution?

1.debian

2.gentoo

3.open SUSE

4. multics


Question:
Which one of the following is not shared by threads?

1.program counter

2.stack

3.both program counter and stack

4.None of the mentioned


More MCQS

  1. Computer fundamentals
  2. Computer Basic MCQS
  3. CCC MCQ Sample Paper 1
  4. CCC Exams MCQS Sample Paper Test 2
  5. Computer Basics MCQS Paper 1
  6. Computer Basics MCQS Paper 2
  7. FUNDAMENTALS OF COMPUTERS MCQs PART 2
  8. FUNDAMENTALS OF COMPUTERS MCQs PART 1
  9. FUNDAMENTALS OF COMPUTERS MCQs PART 3
  10. Computer mcqs smaple paper 1
  11. Computer mcqs smaple paper 2
  12. Computer mcqs smaple paper 3
  13. Fundamentals of Computers
  14. Fundamentals of Computers (New) Part 1
  15. Fundamentals of Computers (New) Part 2
  16. Computer Networks MCQ Questions
  17. Computer Networks Transition from IPV4 to IPV6
  18. Computer Fundamentals (New) Part 1
  19. Computer Fundamentals (New) Part 2
  20. Computer Fundamentals (New) Part 3
  21. Computer Fundamentals (New) Part 4
  22. Computer Fundamentals (New) Part 5
  23. Computer Fundamentals (New) Part 6
  24. Computer Fundamentals (New) Part 7
  25. Computer Fundamentals (New) Part 8
  26. Operating Systems MCQs Part 1
  27. Operating Systems MCQs Part 2
  28. OS(Computer Operating Systems) Part 1
  29. OS(Computer Operating Systems) Part 2
  30. OS(Computer Operating Systems) Part 3
  31. OS(Computer Operating Systems) Part 4
  32. OS - Computer Operating Systems Part 5
  33. OS - Computer Operating Systems Part 6
  34. OS - Computer Operating Systems Part 7
  35. MS Word MCQ Questions Part 1
  36. MS Word MCQ Questions Part 2
  37. MS Word MCQ Questions Part 3
  38. MS Word MCQ Questions Part 4
  39. MS Word MCQ Questions Part 5
  40. MS Word MCQ Questions Part 7
  41. MS Word MCQ Questions Part 6
  42. Microsoft Excel MCQ Questions Part 1
  43. Microsoft Excel MCQ Questions Part 2
  44. Microsoft Excel MCQ Questions Part 3
  45. Microsoft Excel MCQ Questions Part 4
  46. Microsoft Excel MCQ Questions Part 5
  47. Microsoft Excel MCQ Questions Part 6
  48. Microsoft Excel MCQ Questions Part 7
  49. MS PowerPoint MCQ Questions PART 1
  50. MS PowerPoint MCQ Questions PART 2
  51. MS PowerPoint MCQ Questions PART 3
  52. MS PowerPoint MCQ Questions PART 4
  53. MS PowerPoint MCQ Questions PART 5
  54. MS PowerPoint MCQ Questions PART 6
  55. MS PowerPoint MCQ Questions PART 7
  56. MS Access MCQ Questions Part 1
  57. MS Access MCQ Questions Part 2
  58. MS Access MCQ Questions Part 3
  59. MS Access MCQ Questions Part 4
  60. MS Access MCQ Questions Part 5
  61. MS Access MCQ Questions Part 6
  62. MS Access MCQ Questions Part 7
  63. MS Access MCQ Questions Part 8
  64. Query of MS Access MCQS Part 1
  65. Query of MS Access MCQS Part 2
  66. Computer Communication and Networking Quiz
  67. Computer Graphics MCQ Quiz Questions and Answers
  68. Computer Basics Quiz Questions
  69. Computer Quiz Questions with Answers
  70. Computer Hardware MCQS Quiz
  71. MCQ Computer Organization & Architecture
  72. MCQ Computer Organisation - Input & output Organisation SET1
  73. MCQ Computer Organisation - Input & output Organisation SET2
  74. MCQ Computer Organisation - Input & output Organisation SET3
  75. MCQS on addressing modes SET 1
  76. MCQS on addressing modes SET 2
  77. Software Engineering MCQs SET 1
  78. Software Engineering MCQs SET 2
  79. Software Engineering MCQs Set 3
  80. Software Engineering MCQs Set 4
  81. Software Engineering MCQs Set 5
  82. Software Engineering MCQs Set 6
  83. Software Engineering MCQs Set 7
  84. mcqs data structures
  85. CCC Exam Sample MCQ Paper
  86. Computer MCQ Questions set-1
  87. Computer MCQ Questions set-2
  88. Computer MCQ Questions set-3
  89. Current affairs mcq Database management
  90. Programming arcitecture
  91. Computer Graphics MCQ Questions part 1
  92. Computer Graphics MCQ Questions part 2
  93. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 1
  94. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 2
  95. Computer Science MCQs
  96. Computer Mcq Question
  97. MCQs based on Fundamentals of Computer 1 set
  98. Computer Mcq Question set 2
  99. MCQ Encoding Schemes
  100. Data Entry and Keyboarding Skills MCQ
  101. Computer Science Number System
  102. Computer Network MCQ
  103. MCQ Questions on Tally
  104. MCQ Questions on Tally Set 2
  105. MCQ Questions on Tally Set 3
  106. MCQ Questions on Tally Set 4
  107. Internet Technology MCQ Questions for Competitive Exams
  108. Computer Software MCQ GK Questions
  109. Computer Organization and Architecture MCQs
  110. Basic Computer GK Questions
  111. Computer Graphics MCQ Set 1
  112. Operating System MCQ Set 1
  113. Operating System MCQ Set 2
  114. Operating System MCQ Set 3
  115. Operating System MCQ Set 4
  116. Operating System MCQ Set 5
  117. Operating System MCQ Set 6
  118. Operating System MCQ Set 7
  119. Operating System MCQ Set 8
  120. Operating System MCQ Set 9
  121. Operating System MCQ Set 10
  122. Operating System MCQ Set 11
  123. Operating System MCQ Set 12
  124. Operating System MCQ Set 13
  125. Operating System MCQ Set 14
  126. Operating System MCQ Set 15
  127. Operating System MCQ Set 16
  128. Operating System MCQ Set 17
  129. Operating System MCQ Set 18
  130. Operating System MCQ Set 19
  131. Operating System MCQ Set 20
  132. Operating System MCQ Set 21
  133. Computer Graphics MCQ Question Set 1
  134. Computer Networks MCQs
  135. Computer Networks MCQs Set-2
  136. Computer Networks MCQs Set-3
  137. Computer Networks MCQs Set-4
  138. Bachelor of Computer Applications MCQs set-1
  139. Bachelor of Computer Applications MCQs set-2
  140. NET Programming MCQ
  141. Artificial Intelligence and Robotics (AIR) Set 1
  142. Artificial Intelligence and Robotics (AIR) Set 2
  143. Computer Engineering Soft Computing Set 1
  144. Computer Engineering Soft Computing Set 2
  145. COMPUTERS AND IT MCQs QUESTIONS
  146. Ancient Indian History MCQ
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!