¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

CS1550 Final Prep

Court Kowaluk 199 preguntas

Hacer el test

Este test tiene tipos de pregunta que se abren en el reproductor de siempre.

Preguntas del test (199)

  1. 1
    Given the following page reference string, count the number of page faults for a memory capacity of 3 frames using LRU page replacement.

    Reference string: 0, 1, 2*, 3*, 0, 1*, 4, 0*, 1, 2*, 3*, 4, 5, 6, 3*, 2, 1*, 0. The starred numbers represent write accesses.
    1. A10
    2. B17
    3. C16
    4. D15
  2. 2Given the following page reference string, count the number of disk writes for a memory capacity of 3 frames using LRU page replacement.

    Reference string: 0, 1, 2*, 3*, 0, 1*, 4, 0*, 1, 2*, 3*, 4, 5, 6, 3*, 2, 1*, 0. The starred numbers represent write accesses.
    1. A6
    2. B7
    3. C8
    4. D0
  3. 3Given the following page reference string, count the number of page faults for a memory capacity of 4 frames using the CLOCK page replacement algorithm.

    Reference string: 0, 1, 2*, 3, 0*, 1*, 4, 0, 1, 2, 3*, 4, 5, 6, 3*, 2*, 1, 0. The starred numbers represent write accesses.
    1. A12
    2. B14
    3. C15
    4. D13
  4. 4Given the following page reference string, count the number of disk writes for a memory capacity of 4 frames using the CLOCK page replacement algorithm.

    Reference string: 0, 1, 2*, 3, 0*, 1*, 4, 0, 1, 2, 3*, 4, 5, 6, 3*, 2*, 1, 0. The starred numbers represent write accesses.
    1. A1
    2. B3
    3. C2
    4. D6
    5. E0
  5. 5Given the following page reference string, count the number of page faults for a memory capacity of 2 frames using the FIFO page replacement algorithm.

    Reference string: 0, 1, 2*, 3, 0*, 1*, 4, 0, 1, 2, 3*, 4, 5, 6, 3*, 2*, 1, 0. The starred numbers represent write accesses.
    1. A17
    2. B10
    3. C18
    4. D15
  6. 6Given the following page reference string, count the number of disk writes for a memory capacity of 2 frames using the FIFO page replacement algorithm.

    Reference string: 0, 1, 2*, 3, 0*, 1*, 4, 0, 1, 2, 3*, 4, 5, 6, 3*, 2*, 1, 0.
    The starred numbers represent write accesses.
    1. A3
    2. B6
    3. C5
    4. D4
    5. E0
  7. 7Given the following page reference string, count the number of page faults for a memory capacity of 5 frames using the OPT page replacement algorithm.

    Reference string: 0, 1, 2*, 3, 0*, 1*, 4, 0, 1, 2, 3*, 4, 5, 6, 3*, 2*, 1, 0. The starred numbers represent write accesses.
    1. A5
    2. B6
    3. C7
    4. D8
  8. 8Given the following page reference string, count the number of disk writes for a memory capacity of 5 frames using the OPT page replacement algorithm.

    Reference string:0, 1, 2*, 3, 0*, 1*, 4, 0, 1, 2, 3*, 4, 5, 6, 3*, 2*, 1, 0. The starred numbers represent write accesses.
    1. A0
    2. B5
    3. C2
    4. D1
  9. 9

    If the working set is defined as the set of pages used by the 3 most recent memory access(es), what is the working set size right after the last reference in the following reference string?

    Reference string: 0, 1, 2, 3, 0, 1, 4, 0, 1, 2, 3, 4, 5, 6, 3, 2, 1, 0.
    1. A2
    2. B3
    3. C0
    4. D1
  10. 10Imagine a virtual memory system with page size equal to 256 bytes. Only the first 5 entries in the conventional page table of a process are valid, and they contain the following frame numbers (in hexadecimal): 358, 284, 579, 48, 688. The numbering of virtual pages and physical frames both start at 0. What is the corresponding physical address (in hexadecimal) to the virtual address 0x121? If the access causes a page fault, write -1.
    [blank_start]_____________[blank_end]
    1. A28421

Información

Descripción
Questions from homework, tophat, and finals prep material to help study for Khattab's 1550 final.
Idioma
English
Visitas
1
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?