MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Mcafee knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following is the search key containing more than one attribute ? |
| A. | Simple |
| B. | Composite |
| C. | Collective |
| D. | pCompound |
| Answer» C. Collective | |
| 2. |
What is used to store movie and image files in SQL? |
| A. | Clob |
| B. | Blob |
| C. | digital |
| D. | Image |
| Answer» C. digital | |
| 3. |
What are the disadvantages in File Processing System? |
| A. | Data redundancy |
| B. | Difficulty in accessing data. |
| C. | Data isolation |
| D. | All of these. |
| Answer» E. | |
| 4. |
Which of the following function declaration is illegal? |
| A. | double func(); int main(){} double func(){} |
| B. | double func(){}; int main(){} |
| C. | intmain() { doublefunc(); } doublefunc() {//statements} |
| D. | None of these |
| Answer» E. | |
| 5. |
Follow the code snippet and chose the correct statement(s) intx; void f2() { intx=1; // line1 ::x=2; // line2 x=2; //line3 } |
| A. | The statement in line1 throws a compilation error |
| B. | In line2,x=2 is assigned to the globalx |
| C. | In line3,x=2 isassigned to the globalx and line2 throws compilation error |
| D. | Both A and B |
| Answer» C. In line3,x=2 isassigned to the globalx and line2 throws compilation error | |
| 6. |
# define two(x) 2*x # define double(x) x+x main ( ) { intnum, sum, product; num = 1; sum = --two(num); --sum; product = --double(num); printf("%d %d\n",sum, product); } |
| A. | 0 0 |
| B. | 0 1 |
| C. | 1 0 |
| D. | Compilation error |
| Answer» E. | |