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

Quiz

SDP10 Final - Part I

Csse 1502 200 Fragen

Quiz starten

Fragen in diesem Quiz (200)

  1. 1In given two C modules which rule will Unix linker use to resolve multiple symbol definition?Bild zu Frage 1
    1. AMultiple strong symbols are not allowed
    2. BNone of these
    3. CGiven multiple weak symbols, chose any of the weak symbols
    4. DGiven a strong symbol and multiple weak symbols, choose the strong symbol.
  2. 2Suppose we attempt to compile and link the following two C modules. Linker will generate an error?Bild zu Frage 2
    1. Atrue
    2. Bfalse
  3. 3Suppose we attempt to compile and link the following two C modules. Linker will generate an error?Bild zu Frage 3
    1. Atrue
    2. Bfalse
  4. 4A branch instruction
    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
  5. 5In binary, the number 1/3 is 0.01010101 . . .. In the following, assume that x is an int and y is a short. (short)((0x5555 * (int)y)>>16) and y/3 could differ even when neither computation overflows
    1. ATrue
    2. BFalse
  6. 6A callee-saved register should be saved before it is written to in a procedure
    1. ATrue
    2. BFalse
  7. 7In binary, the number 1/3 is 0.01010101 . . .. In the following, assume that x is an int and y is a short. For each x there exists some integer w (which may be different for different xs) such that abs(x/3 - q) < 10, where q = (((0x55555555>>w)*x)>>(32-w)).
    1. Afalse
    2. Btrue
  8. 8In the FDEMW five-stage pipeline we analyzed in class, if we want to stall memory how many pipeline registers should be given the "stall" signal?
    1. A4
    2. B0
    3. C5
    4. D3
  9. 9A 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
  10. 10In the FDEMW five-stage pipeline we analyzed in class, if we want to stall decode how many pipeline registers should be given the “normal operation” signal?
    1. A3
    2. B0
    3. C4
    4. D5
    5. E2
    6. F1

Informationen

Beschreibung
SDP10 Quiz am SDP10 Final - Part I, erstellt von Csse 1502 am 12/05/2018.
Sprache
English
Aufrufe
400
Schlagwörter
sdp10
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck