Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Quiz

Operating system ch 1-6 from textbook

Duncan Levings 88 perguntas

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (88)

  1. 1What are the three main purposes of an operating system?
    1. ATo provide an environment for a computer user to execute programs on computer hardware in a convenient and efficient manner.
    2. BTo allocate the separate resources of the computer as needed to
      solve the problem given
    3. CAs a control program it serves two major functions: (1) supervision of the execution of user programs to prevent errors and improper use of the computer, and (2) management of the operation and control of I/O devices
    4. DTo supervise the allocation of system CPU resources to the needed programs
  2. 2List the four steps that are necessary to run a program on a completely
    dedicated machine—a computer that is running only that program.
    1. AReserve machine time.
    2. BManually load program into memory
    3. CLoad starting address and begin execution.
    4. DMonitor and control execution of program from console
    5. EBegin execution of the program from memory
  3. 3When is it appropriate for the operating system to forsake this principle and to “waste” resources? Why is such a system not really wasteful?

    Single-user systems should maximize use of the system for the user. A GUI might “waste” CPU cycles, but it optimizes the user’s interaction with the system.
    1. AVerdadeiro
    2. BFalso
  4. 4Which of the following instructions should be privileged?
    1. ASet value of timer.
    2. BRead the clock.
    3. CClear memory.
    4. DIssue a trap instruction.
    5. ETurn off interrupts.
    6. FModify entries in device-status table.
    7. GSwitch from user to kernel mode.
    8. HAccess I/O device.
  5. 5Timers could be used to compute the current time. Provide a short de- scription of how this could be accomplished:

    The program could set a timer for some time in the future and go to sleep. When it is awakened by the interrupt, it could update its local state, which it is using to keep track of the number of interrupts it has received thus far
    1. AVerdadeiro
    2. BFalso
  6. 6The internet is LAN
    1. AVerdadeiro
    2. BFalso
  7. 7 explain what the output will be at Line AImagem da pergunta 7
    1. A5
  8. 8how many processes are created?

    main counts as 1
    Imagem da pergunta 8
    1. A8
  9. 9When a process creates a new process using the fork() operation, which of the following state is shared between the parent process and the child process?
    1. AStack
    2. BHeap
    3. CShared memory segments
  10. 10Provide three programming examples in which multithreading provides better performance than a single-threaded solution
    1. AA Web server that services each request in a separate thread
    2. BA parallelized application such as matrix multiplication where different parts of the matrix may be worked on in parallel
    3. CAn interactive GUI program such as a debugger where a thread is used to monitor user input, another thread represents the running application, and a third thread monitors performance
    4. DAn resource heavy program execution that uses two multithreads to complete processing

Informações

Descrição
Computer Science Quiz sobre Operating system ch 1-6 from textbook, criado por Duncan Levings em 29-10-2019.
Idioma
English
Visualizações
7
Etiquetas
computer science
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?