Number System
C Programming
ADE
Computer Organization
100

The representation of octal number (532.2)8 in decimal is ________

(346.25)10

100

Which keyword can be used for coming out of recursion?

return

100

What is the major difference between half-adders and full-adders?

Full adders have a carry input capability

100

The addressing mode which makes use of in-direction pointers is ______

Indirect addressing mode

200

An important drawback of binary system is ________

It requires very large string of 1’s and 0’s to represent a decimal number

200

The keyword ‘break’ cannot be simply used within _________

 if-else

200

The binary subtraction of 0 – 0 =?

Difference = 0, borrow = 0

200

In the following indexed addressing mode instruction, MOV 5(R1), LOC the effective address is ______

EA = 5+[R1]

300

The largest two digit hexadecimal number is ________

(FF)16

300

Which keyword is used to come out of a loop only for that iteration?

continue

300

How many basic binary subtraction operations are possible?

4

300

The addressing mode, where you directly specify the operand value is _______  

Immediate

400

The quantity of double word is ________

32 bits

400

What will be the output of the following C code?

  1. #include <stdio.h>

  2.     void main()

  3.     {

  4.         int i = 0;

  5.         int j = 0;

  6.         for (i = 0;i < 5; i++)

  7.         {

  8.             for (j = 0;j < 4; j++)

  9.             {

  10.                 if (i > 1)

  11.                     continue;

  12.                     printf("Hi \n");

  13.             }

  14.         }

  15.     }

Hi is printed 8 times

400

When performing subtraction by addition in the 2’s-complement system ____________

The minuend is left in its original form and the subtrahend is changed to its 2’s-complement

400

_____ addressing mode is most suitable to change the normal sequence of execution of instructions.

Relative