aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Introduction to Java
  • Match the following: | | | |----------|------------| | 1....
Multiple choice

Match the following:

1. int A. 2 bytes
2. short B. 1 byte
3. long C. 4 bytes
4. byte D. 8 bytes

  1. 1 - C, 2 - A, 3 - B, 4 - D

  2. 1 - C, 2 - A, 3 - D, 4 - B

  3. 1 - A, 2 - C, 3 - D, 4 - B

  4. 1 - C, 2 - D, 3 - A, 4 - B

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The storage capacity of different data types is int - 4 bytes short - 2 bytes byte - 1 byte long - 8 bytes

Keep practicing — related questions

  • Match the following:
  • Let $A$ be the centre of the circle ${ x }^{ 2 }+{ y }^{ 2 }-2x-4y-20=0$. Let $B(1,7)$ and $D(4,-2)$ be two...
  • Four fair dice $D_{1},\ D_{2},\ D_{3}$ and $D_{4}$, each having six faces numbered $1, 2, 3, 4, 5$ and $6,$...
  • If the centroid of tetrahedron $OABC$ where $A,B,C$ are given by $(a,2,3), (1,b,2)$ and $(2,1,c)$ respectiv...
  • If m and n are the roots of the equation $x^2+ax+b=0$ and $m^2$, $n^2$ are the roots of the equation $x^2-c...
  • Solve the following pair of equations : $\displaystyle \frac{3}{5}x-\displaystyle \frac{2}{3}y+1= 0$ $\disp...
  • If 2 men and 3 boys can do a piece of work in 10 days and 3 men and 2 boys can do it 8 days, how long will ...
  • $x^{2}+x+1$ is a factor of $ax^{3}+bx^{2}+cx+d=0$ where $(a,b,c,d, \in \ R)$, then the real root of above e...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy