Computer Code MCQs Quiz Online PDF Download

Learn computer code MCQs, computer architecture test for learning online courses and test prep to practice. Instruction set principles quiz has multiple choice questions (MCQ), computer code quiz questions and answers, memory addressing, computer architecture, computer code tutorials for online software engineering courses distance learning.

Computer organization and architecture practice test MCQ: pc-relative addressing permitting code for running independently, where it has been loaded, stated technology is known as with choices position independence, position dependence, data independence and data dependence for online classes in distance learning, online education for undergraduate and postgraduate degree programs. Free study guide is for online learning computer code quiz with MCQs to practice test questions with answers.

MCQs on Computer Code Quiz PDF Download

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

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

A

MCQ. Code for writing byte from 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 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. 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