MCQOPTIONS
Saved Bookmarks
This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is the output if it replace QUESTION with Display(Y); |
| A. | Col 50 Row 70 |
| B. | Col 50 Row 50 |
| C. | Col 70 Row 70 |
| D. | None of these |
| Answer» B. Col 50 Row 50 | |
| 2. |
What is the output if it replace QUESTION with Display(X); |
| A. | Col 50 Row 70 |
| B. | Col 50 Row 50 |
| C. | Col 70 Row 70 |
| D. | None of these |
| Answer» C. Col 70 Row 70 | |
| 3. |
What is a minimal super key in DBMS? |
| A. | Candidate key |
| B. | Primary key |
| C. | Secondary key |
| D. | None of these |
| Answer» B. Primary key | |
| 4. |
What is output of following code fragment? int val,res,n=1000; val=2000; res=n+val>1750?400:200; cout<< res; |
| A. | 200 |
| B. | 400 |
| C. | 800 |
| D. | 100 |
| Answer» C. 800 | |
| 5. |
Which of the following class access protected and private members of other class? |
| A. | Friend class |
| B. | Virtual class |
| C. | Main class |
| D. | None of these |
| Answer» B. Virtual class | |