Computer Code MCQs & Quiz Online PDF Download

Computer code MCQs, computer code quiz answers pdf to study online computer architecture course. Learn instruction set principles Multiple Choice Questions and Answers (MCQs), "computer code" quiz questions and answers for CS major. Learn memory addresses, operands type and size, instruction set architectures, memory addressing test prep for best online schools for computer science.

"PC-relative addressing permitting the code for running independently, where it has been loaded, the stated technology is known as" Multiple Choice Questions (MCQ) on computer code with choices position independence, position dependence, data independence, and data dependence for CS major. Practice merit scholarships assessment test, online learning computer code quiz questions for competitive exams in computer science major for applied computer science.

MCQs on Computer Code PDF Download

MCQ: PC-relative addressing permitting the code for running independently, where it has been loaded, the stated technology is known as

  1. Position independence
  2. Position dependence
  3. Data independence
  4. Data dependence

A

MCQ: Code for writing byte from the destination can be written as

  1. sb $t0,1($gp)
  2. sb $t0,0($gp)
  3. lb $t0,0($gp)
  4. sb $t0,0($sp)

B

MCQ: Code for reading byte from the source can be written as

  1. lb $t0,1($sp)
  2. st $t0,0($sp)
  3. lb $t0,0($sp)
  4. st $t0,1($sp)

C

MCQ: The following lines of code IR <= Memory[PC]; PC <= PC + 4; explains the

  1. Instruction Fetch step
  2. Instruction Decode step
  3. Instruction Execute step
  4. both a and b

A