2nd Year Computer Science Chapter 11 Online MCQ Test

1. Which programming structure executes program statements in order?

Question 1 of 10

2. The first line in a switch block contains:

Question 2 of 10

3. A key in a relation

Question 3 of 10

4. If x=10 and y=5, what will be the output of the following expression?

Question 4 of 10

5. An if statement inside the true block of another if statement is called:

Question 5 of 10

6. ______ is a functional dependency in a relation between two or more non-key attributes

Question 6 of 10

7. The three programming structures are:

Question 7 of 10

8. How many times is the test expression of a switch statement evaluated?

Question 8 of 10

9. The operators to compare operands and decide if the relation is true or false are:

Question 9 of 10

10. Which of the following are valid case statements in a switch?

Question 10 of 10


 

Leave a Reply

Your email address will not be published. Required fields are marked *