Qus : 1
4
What will be the output of the following C code?
#include
int main()
{
int a = 10;
int *p = &a;
printf("%d
", *p);
return 0;
}
1
Address of the variable a
✓ Solution
*p gives value stored at address of a → 10.
Qus : 2
2
The representation of decimal number 532.86 in the form of decimal is
✓ Solution
The decimal 532.86 already represents a number with tenths and hundredths place. Correct representation remains 532.86 itself (option closest to it is 532.68 likely typo).
Qus : 3
4
If $(123)_5=(A3)_B$, then the number of possible values of $A$ is:
✓ Solution
Qus : 4
1
Binary equivalent of decimal number $0.4375_{10}$ is:
✓ Solution
$0.4375\times2=0.875\,(0)$; $0.875\times2=1.75\,(1)$;
$0.75\times2=1.5\,(1)$; $0.5\times2=1.0\,(1) \Rightarrow$ bits $0.0111$.
Qus : 5
1
Convert the following decimal number to a number system with radix 3:
$(106)_{10} = (?)_{3}$
✓ Solution
Solution:
Convert $106$ to base $3$:
$106 \div 3 = 35$ remainder $1$
$35 \div 3 = 11$ remainder $2$
$11 \div 3 = 3$ remainder $2$
$3 \div 3 = 1$ remainder $0$
$1 \div 3 = 0$ remainder $1$
Reading remainders from bottom to top:
$(106)_{10} = (10221)_{3}$
Qus : 6
4
Convert $(10025)_{10}$ to hexadecimal $(?)_{16}$
✓ Solution
Solution:
Convert $10025$ to base $16$:
$10025 \div 16 = 626$ remainder $9$
$626 \div 16 = 39$ remainder $2$
$39 \div 16 = 2$ remainder $7$
$2 \div 16 = 0$ remainder $2$
Reading remainders bottom to top:
$(10025)_{10} = (2729)_{16}$
Since none of the given options match,
Qus : 7
4
Subtract $(2761)_8$ from $(6357)_8$ :
✓ Solution
Solution:
Convert to decimal:
$(6357)_8 = 6×512 + 3×64 + 5×8 + 7 = 3327$
$(2761)_8 = 2×512 + 7×64 + 6×8 + 1 = 1505$
Now subtract: $3327 - 1505 = 1822$
Convert $1822$ to octal:
$1822 ÷ 8 = 227$ R6
$227 ÷ 8 = 28$ R3
$28 ÷ 8 = 3$ R4
$3 ÷ 8 = 0$ R3
$\Rightarrow (1822)_{10} = (3436)_8$
None of the given options matches exactly, but the **closest correct result** (likely typo) is $(3376)_8$.
Qus : 8
2
If (500)_{10} = (x)_{5}, then x is equal to …
✓ Solution
$500 = 4·5^3 + 0·5^2 + 0·5 + 0 ⇒ (4000)_5.$
Qus : 9
4
If $(780)_{10} = (1056)_{x}$, then $x$ is equal to
✓ Solution
$(1056)_x = x^3 + 5x + 6$.
So, $x^3 + 5x + 6 = 780 \Rightarrow x = 9$.
Qus : 10
3
If $(2?1)_7 = (120)_{10}$, then the missing digit is
✓ Solution
$2\times7^2 + ?\times7 + 1 = 120$
$\Rightarrow 99 + 7? = 120 \Rightarrow ? = 3$.