Sorting Program MCQs Quiz Online PDF Download

Learn sorting program MCQs, computer architecture test for learning online courses and test prep to practice. Computer language and instructions quiz has multiple choice questions (MCQ), sorting program quiz questions and answers, mips fields, computer architecture, ia 32 instructions, computer instructions representations, sorting program tutorials for online information systems courses distance learning.

Computer organization and architecture practice test MCQ: given lines of code temp = v[k]; v[k] = v[k+1]; v[k+1] = temp represents function of with choices factorial, multiplication, sorting and swapping with online global exams' preparation for online competitions like ETS GRE prep for good GRE scores. Free study guide is for online learning sorting program quiz with MCQs to practice test questions with answers.

MCQs on Sorting Program Quiz PDF Download

MCQ. Given lines of code temp = v[k]; v[k] = v[k+1]; v[k+1] = temp represents function of

  1. Factorial
  2. Multiplication
  3. Sorting
  4. Swapping

D

MCQ. Coping parameter $a0 into $s2 will be written in assembly instruction as

  1. add $s2, $a0
  2. move $s2, $a0
  3. add $s3, $a1
  4. move $s3, $a1

B

MCQ. Initialization in For Loop for (i = 0; i < n; i += 1) can be written in assembly language as

  1. move $s0, $zero
  2. move $s0, $1
  3. add $s0, $zero
  4. add $s0, $1

A

MCQ. Given expression addi $sp,$sp,?20 will make room in stack of

  1. 2 registers
  2. 3 registers
  3. 5 registers
  4. 6 registers

C