GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Ohne Titel

Axakalov Beksultan 20 Fragen

Quiz starten

Fragen in diesem Quiz (20)

  1. 1A callee-saved register should be saved before it is written to in a procedure

    1. ATrue
    2. BFalse
  2. 2A branch instruction
    1. AA. Sets the program counter to one of two possible values
    2. BB. Increases the program counter by a fixed amount
    3. CC. Sets the program counter to one of many possible values
    4. DD. Unconditionally sets the program counter to its operand
  3. 3A CPU register file is a small storage device that
    1. AA. Consists of a collection of word size registers
    2. BB. Houses a critical variable for the duration of the execution of a program
    3. CC. Records the results of periodic CPU diagnostics
    4. DD. Is automatically loaded when CPU instruction refers to a word of normal memory
  4. 4A memory leak is caused by a
    1. AC. None of these
    2. BB. Function that allocates a large amount of memory from the heap
    3. CD. Bug in the memory allocator that fails to free memory
    4. DA. Failure to free allocated memory
  5. 5A program cannot accidentally use another program's memory space and "crash" a computer that uses (see the img)

    1- virtual memory address

    2- program relocation

    3- separate instruction and data caches
    1. AB. 1 and 2
    2. BA. 1 only
    3. CC. 2
    4. DD. 1,2,3
  6. 6A program written directly in machine language (binary) would run faster than the same program written in assembly code and then assembled.
    1. AB. True
    2. BA. False
  7. 7Adding local variables is usually used to reduce what source of inefficiency?
    1. AA. unnecessary memory references
    2. BB. condition checking overhead
    3. CC. data dependencies
    4. DD. poor branch prediction
  8. 8Asserting a word line and asserting (to "high" voltage) a bit line writes a 1 to a DRAM cell)
    1. AA. False
    2. BB. True
  9. 9Assume a set-associative and a direct-mapped cache both have the same address size, same data capacity, and same number of index bits. This means
    1. The direct-mapped cache has more tag bits
    2. The direct-mapped cache has fewer tag bits
    3. The direct-mapped cache has more block offset bits
    4. The direct-mapped cache has fewer block offset bits
    1. A1. The direct-mapped cache has more tag bits
    2. B2. The direct-mapped cache has fewer tag bits
    3. C3. The direct-mapped cache has more block offset bits
    4. D4. The direct-mapped cache has fewer block offset bits
  10. 10Assume x is the most positive signed integer. What is x + 1?
    1. AA. none of the above
    2. BB. +∞
    3. CC. -1
    4. DD. -x

Informationen

Beschreibung
Quiz am Ohne Titel, erstellt von Axakalov Beksultan am 12/05/2018.
Sprache
English
Aufrufe
3
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck