Daily IT Quiz Mcq – 7

information technology
 Dear Aspirants,

Daily IT Quiz is the basic part of the Himachal GK. It is helpful to increase your knowledge based on information technology. It is a series of Himachal Gk MCQs. You can also play our weekly quiz and download all quizzes PDF as well.

 

1. Which of the following constructs has a testing statement at the bottom of the iterative set of statements? 
(A) If…else….endif
(B) Do…while
(C) While….do
(D) For…next

2. Which of the following operator is used to check if two numbers are not equal? 
(A) !=
(B) #
(C) <>
(D) NOT

3.If you start writing a pseudocode for finding the factorial of a number. Which of the following keyword will use to give additional information about each step in pseudocode? 
(A) Display
(B) Accept
(C) Compute
(D) //

4.Which of the following statements is used to exit from the case after the condition is met and the case statements are executed? 
(A) Switch Statement
(B) Break Statement
(C) Default Statement
(D) Execute Statement

5.Which of the following statements is optional in a switch case construct? 
(A) Switch statement
(B) Case Statement
(C) Break Statement
(D) Default Statement

6.Which of the following is the invalid variable name? 
(A) My.name
(B) My_name
(C) MyName
(D) My1Name

7.Following pseudocode is to accept and diaply two number:
Character num1, num2
Begin
Accept num1
Accept num2
Display num1
Display num2


End
Which of the following statements is incorrect?
(A) Accept num1
(B) Begin
(C) Display
(D) Character num1, num2

8.Which of the following operators evaluates to true even if one of the individual conditions is true?
(A) AND
(B) ==
(C) OR
(D) >=

9.Which of the following operators is used to combine two or more relational operators?
(A) + operator
(B) < operator
(C) = operator
(D) AND operator

10. What will be the output of the following expression? 12+3*(5+100/2)
(A) 125
(B) 177
(C) 825
(D) 168


About pankaj 837 Articles
Pankaj is passionate about his work. Because he loves what he does. He is a full time blogger and also has experience in Computer as well as in Teaching Field. DHGK is the dream Project of his own Mind to help aspirants.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.