【操作系统选择题·五】进程同步 & 死锁 -英-做题

               操作系统选择题·五

  1. Concurrent access to shared data may result in ____________

    A. data consistency

    B.data insecurity

    C.data inconsistency

    D.none of the mentioned


  1. A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called ____________

    A. data consistency

    B.race condition

    C.aging

    D.starvation


  1. Which of the following conditions must be satisfied to solve the critical section problem?

    A. Mutual Exclusion

    B. Progress

    C. Bounded Waiting

    D. All of the mentioned


  1. A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem.

    A. one

    B.two

    C.three

    D.four


  1. An un-interruptible unit is known as ____________

    A. single

    B.atomic

    C.static

    D.none of the mentioned


  1. Semaphore is a/an _______ to solve the critical section problem.

    A. hardware for a system

    B.special program for a system

    C.integer variable

    D.none of the mentioned


  1. What is the main disadvantage of spinlocks?

    A. they are not sufficient for many process

    B. they require busy waiting

    C. they are unreliable sometimes

    D. they are too complex for programmers


  1. If the semaphore value is negative ____________

    A. its magnitude is the number of processes waiting on that semaphore

    B.it is invalid

    C.no operation can be further performed on it until the signal operation is performed on it

    D.none of the mentioned


  1. What are the two kinds of semaphores?

    A. mutex & counting

    B. binary & counting

    C. counting & decimal

    D. decimal & binary


  1. If no process is suspended, the signal operation ____________

    A. puts the sy

剩余60%内容,订阅专栏后可继续查看/也可单篇购买

①【目录在页面最底部or顶部,所有文章可以通过目录进入】 ②【看前言 & 目录 !!!】。 ②【看前言 & 目录 !!!】。 ②【看前言 & 目录 !!!】。 ②【看前言 & 目录 !!!】。 ②【看前言 & 目录 !!!】。 ②【看前言 & 目录 !!!】。 ③鸽了两年之后的【操作系统】系列选择题总结如期而至,hhhh。 ④有问题可以私信问我哦。

全部评论

相关推荐

点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务