ICSE X/ICSE Class 10th Computer Applications MCQ Question Answers Sample Test,Sample questions

Question:
 An array is assed by____________ to a user defined function.

1.Reference

2.Value

3.Address

4.Index


Question:
(2<3&cde40>6)

1.True

2.False


Question:
(c)______________;

1.k<=n;

2.k<=n;

3.k+n;


Question:
(d)_______________)
{System.out.printin(k);
}

1.k+=2

2.k+=5

3.k++


Question:
A loop statement within another looping statement is termed as

1.Nested loop

2.Nested

3.Nested if


Question:
An interface with no fields or method Is known as___________.

1.Runnable interface

2.Market interface

3.Abstract interface

4.Charsequence interface


Question:
An OOPs program can contain______________ no. of classes.

1.only 999

2.Only 100

3.only 1

4.Any number


Question:
Billingtnew BillingO
t.input();
(f)_______________________
tprint0
()

1.t.input()

2.t.calculate()

3.t.print()


Question:
Choose the odd one

1.Inheritance

2.Data abstraction

3.Portable

4.Data hiding


Question:
Choose the odd one

1.>=

2.==

3.&&

4.<=


Question:
Choose the odd one

1.code reusability

2.Efficient code

3.Duplicate/redundant data

4.Modularity


Question:
Choose the odd one

1.Inheritance

2.Reusability

3.Base class and sub class

4.Private


Question:
Choose the odd one

1.int var

2.int VAR

3.int Lvar

4.tnt vart


Question:
class (a)____________

1.POLIMORPH

2.polimarph

3.class


Question:
class (a)_____________
int noc; double bill;
String n ;

1.Billing

2.class

3.object


Question:
Do loop executes at least once.

1.True

2.False


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

1.bill=0(n-100)*2.50

2.bill=0(n-100)*3.50

3.bill=n*2.50


Question:
Give the output of the following
 a+= a++    + ++a+-- a+a-- ; [ a=7 ]

1.37

2.40

3.39

4.38


Question:
if ( (f)____________________)
return true;
else
return false;

1.if(n%m == 0)

2.if(m%n == 0)

3.if(m/n == 0) [1]


Question:
if (a>b)

{
System.out. println(a+b)
}
else
{
System.out.println (a*b);
}
when a=5 and b=7

1.12, 35

2.35

3.35, 12


Question:
import java.io."
public class (a)________________

1.mul

2.multiply

3.multi


Question:
n-100
while (n> 10)
n-T/10;
System.out.printin(n);

How many time the loop is executed and what is the output?

1.Loop is executed 2 times and the output is 100

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

3.Loop is executed 1 times and the output is 10.


Question:
Name given for sequence breaking of flow either forward or backward is

1.Looping

2.Decision Control

3.Jump statement


Question:
Name the type of error in the statement given below:
int a; b; c;

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)(iii)(ii)(ii)

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

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


Question:
Package containing the Random class?

1.java.util.package 2

2.java.langpackage

3.java.awt package

4.java.io.package


Question:
public static void main(String args|) throws IOException
int n, t;
BufferedReader br new BufferedReader(new InputStreamReader(System.in));
String s br.readLine0:
n Integer.parselnt(s):
for(int k=1; (b)______________k++)

1.k<10

2.k>0

3.k<=10


Question:
Scanner ob = (b)_________________Scanner(System.in);
void input()
{

1.old

2.new

3.void


Question:
Scope of local variable is with in a class.

1.True

2.False


Question:
Software package providing Java class libraries.

1.JDK

2.JRE

3.JVM

4.None of these


Question:
State True Or False
(a) string is a non primitive data type

1.True

2.False


Question:
System.out.println("Enter Number of units"
noc =(c) ________________
System.out.println("Enter name ")
n=ob.next();

1.ob.nextDouble()

2.ob.nextLine()

3.ob.nextInt()


Question:
System.out.println(n+"(d)______________" +k+ "+" + t);

1.*

2.+

3.=


Question:
t=(c)_____________*n;

1.k

2.t

3.n


Question:
The comparison operator( == ) is left associative

1.True

2.False


Question:
The keyword that represents the corent object is:

1.Now

2.This

3.Corrent

4.None


Question:
The method with the same name as of the class and which does not have a return data type is called
as

1.Constructor

2.Function

3.Method

4.Class


Question:
The number of bytes occupied by int data type is___________byte/s

1.4

2.8

3.2

4.None of these


Question:
The _______________ allows to combine the methods with its data where they are defined to work.

1.Inheritance

2.Polymorphism

3.Encapsulation

4.None of the above


Question:
The ________________ is called the factory of the object.

1.Class

2.Attributes

3.State

4.None of these


Question:
void calculate()
{
if ( (d)__________________bill =0;

1.noc< = 100

2.noc=0

3.noc>100


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

1.k=1

2.k=n

3.k=0


Question:
What are the looping statements in java ?

1.if and switch

2.for, do and while

3.ternary and logical


Question:
What is the final value stored in variable x ?
double x = Math.pow ("345". index of (5), 3);

1.8.0

2.7.0

3.16

4.4


Question:
Where can a function in Java be written?

1. Inside a class

2.Outside a class

3.Inside main () function

4.None


Question:
Which of the following are valid KEYWORD?
(i) class
(ii) object
(iii) extends
(iv) instance

1.(i) & (iii)

2.(i) & (ii)

3.all of these

4.None of these


Question:
Which of the following does not executive once ?

1.for (k = 1; k<=10;k++)

2.for (k = 1; k==10;k++)

3.for (k = 1; k<10;k++)


Question:
{
Case A: System.out.print in ("Honest")
Case B:System.out.print In ("Hardwork")
Case C:System.out.print In ("Success")
default :System.outprint in ("Failure")
when x='d'

1.Honest

2.Hardwork

3.Failure


Question:
{
print ( int m, (e)______________)
}

1.int n

2.double n

3.char n


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
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite 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!