The Operator is an important chapter from Computer Applications. It is under ICSE 2022 Computer Applications syllabus.
In this article, I have shared with you the most important MCQs from the Operators. Please read the questions carefully and try finding their answers and then look for the given answers.
Important MCQ from the Operators :
Read the questions below and look for the answers mentioned just below the options. Give little time to every question and try to solve them wherever needed.
Q1. Unary operator requires ___ operand(s) to operate on?
a. 1
b. 2
c. 3
d. none of them
Answer: a
Q2. Choose the value of y after evaluating the given expression?
y+=++y+y--+--y;
when y=8.
a. 33
b. 24
c. 31
d. 20
Answer: a
Q3. Identify the name of '&&' operator?
a. Increment operator
b. Logical operator
c. Ternary operator
d. Relational operator
Answer: b
Q4. What is the function of the % operator?
a. divides one operand with another
b. used to find percentage
c. gives the remainder of division
d. none of the above
Answer: c
Q5. Choose the output of?
char res= 'F';
int n= res;
n=n+5; System.out.println(n+" "+res);
a. 25F
b. 75 70
c. 75 F
d. 145
Answer: c
Q6. What is the ASCII value of A?
a. 65
b. 64
c. 62
d. 97
Answer: a
Q7. Select the appropriate Java expression for ut+1/2at
a. u*t+1/2at
b. u*t+1/2*a*t
c. ut+1/2at
d. none of them
Answer: b
Q8. Name the casting shown by
int x=(int) b;
a. implicit
b. explicit
c. both of them
d. none of them
Answer: b
Q9. Choose the correct output of the following code:
System. out.println("BEEN");
System. out.print(" VERY ILL");
a. has BEEN VERY ILL
b. BEEN
VERY ILL
c. has BEEN
VERY WELL
d. None of them
Answer: a
Q10. System.out.println("Jelly");
Is an example of?
a. Assignment
b. Method invocation
c. Object creation
d. Increment
Answer: b
Q11. Which one of the following is given the highest preference?
a. &&
b. %
c. >=
d. ++
Answer : d
Q12. If num=500;
int num,sum,n=600;
sum= (n+num)>2000?500:600;
System.out.println(sum);
a. 600
b. 500
c. 200
d. none of these
Answer: a
Q13. 'Type conversion' is also called
a. Type casting
b. Type change
c. Type inversion
d. None of these
Answer: a
Q14. What is the value of a when x=5?
a=5*x++;
a. 30
b. 25
c. 55
d. 50
Answer: b
Q15. What is the ASCII value of b?
a. 66
b. 65
c. 98
d. 97
Answer: c
Q16. Choose the correct value of x, if x=3,y=7
x-=x++-++y;
a. 8
b. 6
c. -8
d. 2
Answer: a
Q17. What is the value of y when a=7?
y=2*++a;
a. 14
b. 16
c. 20
d. 36
Answer: b
Q18. Choose the attributes required for class definition:
a. keyword class
b. name of the class
c. both a and b
d. none of them
Answer: c
Q19. What will be the output of the following program code?
int a;
System.out.println(a);
a. 1
b. 0
c. no output
d. error
Answer: b
So, these were the most important MCQs from the Operator, ICSE Class 10. If you find these questions important, please share them with your friends. If you have any queries, let me know in the comments.
If you want more questions from other chapters or other subjects, let me know in the comment section. Till then, keep studying and keep practicing more and more MCQ questions for the exams.
You must be logged in to post a comment.