GoConqr has a new look! Let us know what you think.

Quiz

SDP10_Final_part1

Good Guy Beket 200 questions

Take the quiz

Questions in this quiz (200)

  1. 1A branch instruction is:
    1. ASets the program counter to one of two possible values
    2. BIncreases the program counter by a fixed amount
    3. CSets the program counter to one of many possible values
    4. DUnconditionally sets the program counter to its operand
  2. 2A callee-saved register should be saved before it is written to in a procedure

    1. ATrue
    2. BFalse
  3. 3A CPU register file is a small storage device that
    1. AConsists of a collection of word size registers
    2. BHouses a critical variable for the duration of the execution of a program
    3. CRecords the results of periodic CPU diagnostics
    4. DIs automatically loaded when CPU instruction refers to a word of normal memory
  4. 44. A memory leak is caused by a
    1. AFailure to free allocated memory
    2. BFunction that allocates a large amount of memory from the heap
    3. CNone of these
    4. DBug in the memory allocator that fails to free memory
  5. 55. A 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. A1
    2. B1 and 2
    3. C2
    4. D1,2,3
  6. 66. A program written directly in machine language (binary) would run faster than the same program written in assembly code and then assembled.
    1. AA. False
    2. BB. True
  7. 77. Adding local variables is usually used to reduce what source of inefficiency?

    1. Aunnecessary memory references
    2. Bcondition checking overhead
    3. Cdata dependencies
    4. Dpoor branch prediction
  8. 88. Asserting 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.
    Image for question 9
    1. AAll of above
    2. B1 and 2
    3. C2 and 3
    4. D1
  10. 1010. Assume x is the most positive signed integer. What is x + 1?
    1. Anone of the above
    2. B+∞
    3. C-1
    4. D-x

Information

Description
Fucking shit
Language
English
Views
994
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?