Computer General Science Test Hard Mode With Answers

Computer General Science Test Hard Mode

Sr. # Questions Answers Choice
1 Conditional operators are Unary operator Binary operator Ternary operator None
2 If we write an entire if-else construct within either the body of the if statement or the body of an else statement this is called Dangling else Multiple statement with if-else Nested 1-else Switch statments
3 If we dropped the pair of braces then what would happen? Only one statement to be executed in the if block Only one statement to be executed in the else block Only one statement to be executed in the if block and only one statement to be executed in the else block
4 If block is called The group of if and else statement The group of statements after the if up to and not including the else The group of statements after the else up to and not including the if All the above
5 Which of the following is not a relational operator? == = != <=
Download This Set

Is this page helpful?

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!