ICSE X/ICSE X Computer Applications [ MCQ Question Answer ] Sample Test,Sample questions

Question:
 An operator 1s a symbol to process the data
 

1.char

2.int

3.char and int both


Question:
 int i-6
int d-6
do
d-d*2
System.out.println (d),
How many times the loop is executed and what is the output?

1.Loop is not executed any time and the output is 6.

2.Loop is executed once and the output is 12.

3.Loop is executed 2 times and the output is 24.


Question:
 The number of bytes occupied by char data type is __________ byte/s

1.4

2.8

3.2

4.None of these


Question:
 Which one of the following is not an operator?

1.new

2.calloc

3.malloc


Question:
!(2>3&&40>6)

1.True

2.False


Question:
(c)_______________:

1.k<=n

2.k<=4;4

3.k+n


Question:
(d)____________________)
{ 
System.Out.PrintIn.(k)
}

1.k+=2

2.k+=5

3.k++


Question:
A function calling itself

1.Calling function

2.Recurring function

3.Recursive function


Question:
A parent class of a class

1.sub class

2.super class

3.parent


Question:
All the functions of a package can be imported by using the __________
character with import statement.

1..

2.*

3./

4.@


Question:
Among the following, which method does not have a body.

1.A class

2.An interface

3.An abstract method

4.None of the above


Question:
Byte code is generated by

1.Javac

2.DVV

3.JVM


Question:
Choose the odd one

1.>

2.! =

3.%

4.<


Question:
Choose the odd one

1.return

2.break

3.continue

4.System.exit(0)


Question:
Choose the odd one

1.CLR

2.JVM

3.JDK

4.AWT


Question:
Choose the odd one

1.++

2.%

3.--

4.! =


Question:
Choose the odd one

1.Int

2.Char

3.New

4.Double


Question:
class (a) ______________
{
int noc; double bill :

1.Power

2.Class

3.Object


Question:
class (a)______________

1.Number

2.Character

3.class


Question:
double is a non- primitive data type:

1.True

2.False


Question:
else bill = (e)______________
void print()
System.out.println("Name = "+n);
System.out.println("Amount to be paid-"+bill);

1.bill=(n-100)*2.50

2.bill=(n-100)*3.50

3.bill=n*2.50


Question:
if (()
System.out.print In("Number is even");
else
System.out.print In("Number is odd");
}
}

1.if(n%2 == 0)

2.if(n%n == 0)

3.if(n/2 == 0)


Question:
if (a!=b)
System.out.println(a*b);
else
System.out.printin (a-b);
when a = 6 and b = 5

1.11, 30

2. 30

3. 30, 11


Question:
Multiple branches is used by ___________statement.

1.Break

2.Switch

3.Continue

4.Loop


Question:
n-n/10;
}
System.out.println("Norm = " + (d)___________);
}

1.Maths.sqrt(s)

2.Maths.SQRT(s)

3.Math.sqrt(n)


Question:
Name of = operator is

1.Relational

2.Assignment

3.Bitwise


Question:
Name the type of error in the statement given below
int t-0;
int r-100/t

1.Syntax

2.Runtime

3.Logical

4.Warning


Question:
Operators with higher precedence are evaluated before operators with relatively lower precedence.
Arrange the operators given below in order of higher precedence to lower precedence.

(i) -  (ii)  %   (iii)  *   (iv)  +

1.(iv),(i),(iii),(ii)

2.(iv),(i),(ii),(iii)

3.(ii),(iii),(iv),(i)

4.(i)(ii)(iii)(iv)


Question:
print( (e) _____________)

1.Int n

2.Double n

3.Char n


Question:
S

1.True

2.False


Question:
String n;
Scanner ob = (b) ___________________Scanner(System.in);
void input()

1.old

2.new

3.void


Question:
switch ( x )
case 'a System.out.printin("Honest")
case 'bSystem.out.printin ("Punctual")
break;
case 'c':System.out.println("Committed")
default System.out.println("Average");
when x=A

1.Average

2.Punctual

3.Committed

4.Honest


Question:
System.out.printin("Enter name ");
n-ob.next():
void calculate)
bill -0;
if ( (d)________________bill =0;
 

1.noc<=100

2.noc = 0

3.noc >100


Question:
System.out.printin("Enter Number of calls"
noc (c)______________.

1.ob.nextDouble()

2.ob.nextLine()

3.ob.nextInt()


Question:
The Comparisonoperator(==) is left associative.

1.True

2.False


Question:
The function call in which the data in actual parameters get changed is called

1. Call by value

2.Formal call

3.Call by reference


Question:
The mandatory statement to each block of the switch loop is

1.System.exit(0)

2.break

3.default


Question:
The ________________ is called the basic blue print of the object

1.Class

2.Attributes

3.State

4.None of these


Question:
the___________are those pre-defined words in Java which meaning is already declared by Javac.

1.Keywords

2.Identifier

3.Methods

4.Package


Question:
void norm (i
Void norm ( int n)
{ int d, s =(a)___________.

1.0

2.0.0

3.1


Question:
void print (int n)
int k;
( (b) ___________;

1.k = 1

2.k = n

3.k = 0


Question:
What are the bitwise operators?

1.+,-,++,--

2.==,<=,!=

3.<<,>>


Question:
What is the final value stored in variable x ?
double a =- 2.25;
double x = Math.sqrt (Math.abs(a));

1.1.5

2.2.5

3.6.25

4.0.25


Question:
Which of the following is invalid access modifier ?
(i) class  (ii)  public  (iii)  private   (iv)  protected

1.(i)

2.(ii)

3.(iii)

4.(iv)


Question:
While ( (b)____________)

1.n>0

2.n=0


Question:
While loop executes at least once.

1.True

2.False


Question:
x+ x+ ++x+ -x+ X; [x= 1]

1.9

2.8

3.6

4.5


Question:
{ d=n%10; s=(C) __________________.
n=n/10;

1.s+d*d

2.s*d+d

3.s*s+d


More MCQS

  1. ICSE Class 10th Hindi MCQ question answer
  2. ICSE Class 10th Hindi Sahitya Sagar Short Stories MCQ Question Answers
  3. ICSE Class 10th-Hindi MCQ question & answer
  4. ICSE Class 10th Hindi Sahitya Sagar Poem MCQ Question Answers
  5. ICSE Class 10th Hindi Naya Rasta MCQ Question Answers
  6. ICSE Class 10th Hindi Ekanki Sanchay MCQ Question Answers
  7. ICSE Board Class 10th Hindi MCQ Question Answers
  8. ICSE Board Class 10th Hindi Sahitya Sagar Short Stories MCQ Question Answers
  9. ICSE Board Class 10th Hindi Sahitya Sagar Poem MCQ Question Answers
  10. ICSE Board Class 10th Hindi [ Naya Rasta ] MCQ Question Answers
  11. ICSE Board Class 10th Hindi [ Ekanki Sanchay ] MCQ Question Answers
  12. ICSE Board Class 10th Hindi Sample Paper 2 MCQ Question Answers
  13. ICSE Board Class 10th Hindi Sample Paper 2 [ Sahitya Sagar Short Stories ] MCQ Question Answers
  14. ICSE Board Class 10th Hindi Sample Paper 2 [ Sahitya Sagar Poems ] MCQ Question Answers
  15. ICSE Board Class 10th Hindi Sample Paper 2 [ Naya Rasta ] MCQ Question Answers
  16. ICSE Board Class 10th Hindi Sample Paper 2 [ Ekanki Sanchay ] MCQ Question Answers
  17. ICSE Board Class 10th Hindi Sample Paper 3 MCQ Question Answers
  18. ICSE Board Class 10th Hindi Sample Paper 3 [ Sahita Sagar-Short Stories ] MCQ Question Answers
  19. ICSE Board Hindi sample paper of class 10th [ Naya Rasta ] MCQ
  20. ICSE Board Class 10th Hindi Sample Paper 3 Sahitya Sagar Poem MCQ Question Answers
  21. ICSE 10th Class MCQ Question Answers [ Sahitya Sagar- Short Stories]
  22. ICSE Board Hindi 10th class MCQ Question Answers [ Ekanki Sanchay ]
  23. ICSE Class 10th Hindi MCQ Question answers
  24. ICSE Class 10 Hindi MCQ Question Answers
  25. ICSE 10th Class [ Sathiya Sagar poem ] MCQ Question Answer
  26. ICSE 10th class MCQ Question answers (Naya Rasta)
  27. ICSE 10th class MCQ Question Answers Ekanki Sanchay
  28. ICSE 10th Class English 1st MCQ Question Answers
  29. ICSE 10th class English Fill in the blanks
  30. ICSE 10th class English MCQs With Answers
  31. ICSE 10th class English 1st Fill in the blanks
  32. ICSE class 10th English MCQ Questions Answers
  33. ICSE 10th class English Language MCQ Question Answer
  34. ICSE 10th Class English Language Fill in the blanks
  35. ICSE 10th class English Language [ Choose the correct option ]
  36. ICSE class 10th English 1st [ Choose the correct answer ]
  37. ICSE Board 10th class English Language MCQ Question Answers
  38. ICSE 10th class English 1st [ Fill in the blanks ]
  39. ICSE class 10th English Language [ Choose the correct option ]
  40. ICSE 10th class English Language [ Choose the correct Answers ]
  41. English Language MCQ Question Answers [ ICSE 10th Class ]
  42. English Language Fill in the blanks [ ICSE Board Class 10th ]
  43. ICSE 10th class [ Choose the correct option ] English Language
  44. ICSE 10th class [ Choose the correct answer ] English Language
  45. ICSE 10th Class English Literature MCQ
  46. ICSE 10th class English Literature MCQ Questions Answers
  47. ICSE 10th class English Literature MCQ Question Answers
  48. ICSE Board class 10th MCQ Question Answers [ English Literature ]
  49. ICSE 10th class English Literature Questions Answers
  50. ICSE 10th class English Literature [ MCQ Question Answers ]
  51. ICSE Class 10 MCQ Question Answer English Literature
  52. ICSE X English Literature MCQ Question Answer
  53. ICSE X English Literature [ Choose the correct Answers ]
  54. ICSE X English Literature [ Choose the correct Answers ]
  55. ICSE X English 2nd MCQ Question Answers
  56. ICSE X English 2nd [Choose the correct Answers]
  57. ICSE X English 2nd [Choose the correct Answers]
  58. ICSE 10th English 2nd MCQ Question Answers
  59. ICSE 10th English 2nd [ Choose the correct Answers ]
  60. ICSE 10th class English 2nd [ Choose the correct Answers ]
  61. ICSE 10th class History and Civics MCQ Question Answers
  62. ICSE X History and Civics MCQ Question Answers
  63. ICSE X History and Civics [ MCQ Question Answers ]
  64. ICSE 10th History and Civics MCQ Question Answers
  65. ICSE class 10th History and Civics Question Answers
  66. ICSE class 10th History and Civics [ MCQ Question Answers ]
  67. ICSE 10th Class History and Civics [ MCQ Question Answers ]
  68. ICSE 10th Class History and Civics ( MCQ Question Answers )
  69. ICSE 10th History and Civics ( MCQ Question Answers )
  70. ICSE 10th History and Civics MCQ Question Answers with Images
  71. ICSE 10th History and Civics MCQs with Answers
  72. ICSE 10th History and Civics (MCQs with Answers)
  73. ICSE 10th Geography ( MCQ Question Answers )
  74. ICSE 10th Geography (Choose the correct Answer)
  75. ICSE 10th class Geography ( MCQ Question Answers )
  76. ICSE X Geography MCQ Question Answers
  77. ICSE X Geography MCQ Question Answers with Map
  78. ICSE X class Geography MCQ Question Answers
  79. ICSE X Geography [ MCQ Question Answers with Map ]
  80. ICSE 10th class Geography MCQ Question Answers
  81. ICSE X Geography [ MCQ Question Answer with Map ]
  82. ICSE 10th class Geography [ MCQ Question Answer ]
  83. ICSE X Geography MCQ Question Answer with Map
  84. ICSE 10th class Geography MCQ Question Answer
  85. ICSE X mathematics [ MCQ Question Answer ]
  86. ICSE X mathematics MCQ Question Answer
  87. ICSE 10th Class mathematics MCQ Question Answer
  88. ICSE 10th Class Mathematics ( MCQ Question Answer )
  89. ICSE X Class Mathematics ( MCQ Question Answer )
  90. ICSE X Class mathematics [ MCQ Question Answer ]
  91. ICSE X Physics MCQ Question Answer
  92. ICSE X Physics [ MCQ Question Answer ]
  93. ICSE 10th class Physics [ MCQ Question Answer ]
  94. ICSE 10th Physics [ MCQ Question Answer ]
  95. ICSE X Chemistry [ MCQ Question Answer ]
  96. ICSE X Chemistry MCQ Question Answer
  97. ICSE 10th Class Chemistry MCQ Question Answer
  98. ICSE X Chemistry [ MCQ Question Answer ]
  99. ICSE 10th class Chemistry [ MCQ Question Answer ]
  100. ICSE X Biology [ MCQ Question Answer ]
  101. ICSE 10th class Biology [ MCQ Question Answer ]
  102. ICSE X Biology MCQ Question Answer
  103. ICSE 10th Class Biology MCQ Question Answer
  104. ICSE 10th Class Biology [ MCQ Question Answer ]
  105. ICSE Class 10th Computer Applications MCQ Question Answers
  106. ICSE Class 10th Computer Applications [ MCQ Question Answers ]
  107. ICSE X Computer Applications [ MCQ Question Answer ]
  108. ICSE X Computer Applications MCQ Question Answer
  109. ICSE Class 10th Computer Applications (MCQ Question Answer)
  110. ICSE Class 10th Physical Education (MCQ Question Answer)
  111. ICSE X Physical Education MCQ Question Answer
  112. ICSE Class 10th Economics (MCQ Question Answer)
  113. ICSE Class 10th Economics MCQ Question Answer
  114. ICSE Class 10th Commercial Studies (MCQ Question Answer)
  115. ICSE Class 10th Commercial Studies [MCQ Question Answer]
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!