MCQOPTIONS
Saved Bookmarks
This section includes 44 Mcqs, each offering curated multiple-choice questions to sharpen your DE-Shaw knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What will the function rewind() do? |
| A. | Reposition the file pointer to a character reverse. |
| B. | Reposition the file pointer stream to end of file. |
| C. | Reposition the file pointer to begining of that line. |
| D. | Reposition the file pointer to begining of file. |
| Answer» E. | |
| 2. |
A steel rod of length L and diameter D, fixed at both ends, is uniformly heated to a temperature rise of ΔT. The Young's modulus is E and the coefficient of linear expansion is a. The thermal stress in the rod is(Mechnical Engg.) |
| A. | Zero |
| B. | αΔT |
| C. | EαΔT |
| D. | EαΔTL |
| Answer» E. | |
| 3. |
The effect of stray magnetic fields on the actuating torque of a potable instrument is maximum when the operating field of the instrument and the stray fields are |
| A. | Perpendicular |
| B. | Parallel |
| C. | Inclined at 600 |
| D. | Inclined at 300 |
| Answer» C. Inclined at 600 | |
| 4. |
Feedback control systems are |
| A. | Insensitive to both forward and feedback path parameter changes |
| B. | Less sensitive to feedback path parameter changes than to forward path parameter changes |
| C. | Less sensitive to forward path parameter changes than to feedback path parameter changes |
| D. | Equally sensitive to forward and feedback path parameter changes. |
| Answer» D. Equally sensitive to forward and feedback path parameter changes. | |
| 5. |
Keeping in view the cost and overall effectiveness, which of the following circuit breakers is best suited for capacitor bank switching? |
| A. | Vacuum |
| B. | Air blast |
| C. | SF6 |
| D. | Oil |
| Answer» B. Air blast | |
| 6. |
The concept of an electrically short, medium , and long line is primarily based on the |
| A. | Nominal voltage of the line |
| B. | Physical length of the line |
| C. | Wavelength of the line |
| D. | Power transmitted over the line |
| Answer» C. Wavelength of the line | |
| 7. |
The DC motor, which can provide zero speed regulation at full load without any controller is : |
| A. | Series |
| B. | Shunt |
| C. | Cumulative compound |
| D. | Differential compound |
| Answer» C. Cumulative compound | |
| 8. |
In a transformer, zero voltage regulation at full load is: |
| A. | Not possible |
| B. | Possible at unity power factor load |
| C. | Possible at leading power factor load |
| D. | Possible at lagging power factor load |
| Answer» D. Possible at lagging power factor load | |
| 9. |
How is the expression evaluated in case of precedence of set operators? |
| A. | Left to left |
| B. | Right to left |
| C. | Left to right |
| D. | System dependent |
| Answer» D. System dependent | |
| 10. |
Which SQL Query is use to remove a table and all its data from the database? |
| A. | Create Table |
| B. | Alter Table. |
| C. | Drop Table |
| D. | None of these. |
| Answer» D. None of these. | |
| 11. |
Which of the following is feature of constructors? |
| A. | It does not have any return type at all, not even void |
| B. | It does not have any return type at all, not even void. |
| C. | They are very useful for setting initial values to certain member variables. |
| D. | All of these. |
| Answer» E. | |
| 12. |
Which of this is not a network edge device? |
| A. | PC |
| B. | Smartphones |
| C. | Servers |
| D. | Switch |
| Answer» E. | |
| 13. |
What is the structure or format of data called? |
| A. | Syntax |
| B. | Semantics |
| C. | Struct |
| D. | None of the mentioned |
| Answer» B. Semantics | |
| 14. |
Which of the following is the memory management supported in C++? |
| A. | Static storage duration objects |
| B. | Automatic storage duration objects |
| C. | Thread storage duration objects |
| D. | All of these |
| Answer» E. | |
| 15. |
The C declaration int A[5][7] Contains x elements, each of these elements is itself an array containing y integers. What is the value of 2x+y |
| A. | 17 |
| B. | 24 |
| C. | 35 |
| D. | None of these |
| Answer» B. 24 | |
| 16. |
Which of the following is correct declaration for a pointer to a function that returns a float? |
| A. | float f( ); |
| B. | float *f( ); |
| C. | float (*f) ( ); |
| D. | float* (*f)( ); |
| Answer» D. float* (*f)( ); | |
| 17. |
To access the services of operating system, the interface is provided by the |
| A. | On |
| B. | Using |
| C. | Set |
| D. | None of these |
| Answer» B. Using | |
| 18. |
The____condition allows a general predicate over the relations being joined. |
| A. | On |
| B. | Using |
| C. | Set |
| D. | None of these |
| Answer» B. Using | |
| 19. |
The DBMS acts as an interface between what two components of an enterprise-class database system? |
| A. | Database application and the database |
| B. | Data and the database |
| C. | The user and the database application |
| D. | Database application and SQL |
| Answer» B. Data and the database | |
| 20. |
Evaluate following expression: a=3, b=6,c=4,d=2 a=b>c && b-c= a+c |
| A. | 0 |
| B. | 1 |
| C. | Error |
| D. | None of these |
| Answer» C. Error | |
| 21. |
If you pass an array as an argument to a function, what actually gets passed? |
| A. | Base address of the array |
| B. | First element of the array |
| C. | Address of the last element of array |
| D. | Value of elements in array |
| Answer» B. First element of the array | |
| 22. |
What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array? |
| A. | The program may crash if some important data gets overwritten. |
| B. | The element will be set to 0 |
| C. | The compiler would report an error |
| D. | The array size would appropriately grow |
| Answer» B. The element will be set to 0 | |
| 23. |
A Pointer to a block of memory is considered same as an array. |
| A. | Yes |
| B. | No |
| Answer» B. No | |
| 24. |
Size of an array is known at ________. |
| A. | Compile Time |
| B. | Run Time |
| Answer» B. Run Time | |
| 25. |
In order to access any element of an array if the position of element is known , Time complexity will be equal to _________. |
| A. | O(n2) |
| B. | O(n) |
| C. | O(n-1) |
| D. | O(1) |
| Answer» E. | |
| 26. |
Array is ______ data type in C Programming language. |
| A. | Derived Data Type |
| B. | Primitive Data Type |
| C. | Custom Data Type |
| D. | None of these |
| Answer» B. Primitive Data Type | |
| 27. |
Array is an example of _______ type memory allocation. |
| A. | Run Time |
| B. | Compile Time |
| Answer» C. | |
| 28. |
Array with last element 'n' will always have array size equal to _______. |
| A. | n+1 |
| B. | n |
| C. | n-1 |
| D. | n+n |
| Answer» B. n | |
| 29. |
What is maximum dimension that array can have in c programming ? |
| A. | Theoretically No Limit but practically limit depends on memory |
| B. | 2 |
| C. | 4 |
| D. | 3 |
| Answer» B. 2 | |
| 30. |
Array which is having ____ dimensions is called as 2-D array. |
| A. | 5 |
| B. | 3 |
| C. | 2 |
| D. | 4 |
| Answer» D. 4 | |
| 31. |
If we have declared an array described below - int arr[6]; then which of the following array element is considered as last array element ? |
| A. | arr[6] |
| B. | arr[5] |
| C. | arr[0] |
| D. | arr[4] |
| Answer» C. arr[0] | |
| 32. |
Smallest element of an array is called as _______. |
| A. | Range |
| B. | Upper Bound |
| C. | Middle Bound |
| D. | Lower Bound |
| Answer» E. | |
| 33. |
In Array, There is one to one correspondence between set of ________ and set of values. |
| A. | Memory Locations |
| B. | Constants |
| C. | Indices |
| D. | Variables |
| Answer» D. Variables | |
| 34. |
Array can be considered as set of elements stored in consecutive memory locations but having __________. |
| A. | Same Data Type |
| B. | Different Data Type |
| C. | Same Scope |
| D. | None of these |
| Answer» B. Different Data Type | |
| 35. |
Set of consecutive memory locations is called as ________. |
| A. | Pointer |
| B. | Loop |
| C. | Function |
| D. | Array |
| Answer» E. | |
| 36. |
In which header file is the NULL macro defined ? |
| A. | math.h |
| B. | stddef.h |
| C. | stdio.h and stddef.h |
| D. | stdio.h |
| Answer» D. stdio.h | |
| 37. |
"*" is called as ___________. |
| A. | None of these |
| B. | Scope Resolution Operator |
| C. | Value at Operator |
| D. | Address Operator |
| Answer» D. Address Operator | |
| 38. |
"&" is called as ___________ in pointer concept. |
| A. | Address Operator |
| B. | Logical Operator |
| C. | None of these |
| D. | Conditional Operator |
| Answer» B. Logical Operator | |
| 39. |
A pointer is |
| A. | A keyword used to create variables |
| B. | A variable that stores address of an instruction |
| C. | None of these |
| D. | A variable that stores address of other variable |
| Answer» E. | |
| 40. |
In order to fetch the address of the variable we write preceding _________ sign before variable name. |
| A. | Comma |
| B. | Percent |
| C. | Asteriks |
| D. | Ampersand |
| Answer» E. | |
| 41. |
Consider the 32 bit compiler. We need to store address of integer variable to integer pointer. What will be the size of integer pointer ? |
| A. | 6 Bytes |
| B. | 4 Bytes |
| C. | 10 Bytes |
| D. | 2 Bytes |
| Answer» E. | |
| 42. |
Address stored in the pointer variable is of type __________. |
| A. | Integer |
| B. | Floating |
| C. | Array |
| D. | Character |
| Answer» B. Floating | |
| 43. |
Pointer variable is declared using preceding _________ sign. |
| A. | & |
| B. | * |
| C. | % |
| D. | ^ |
| Answer» C. % | |
| 44. |
Pointer is special kind of variable which is used to stored __________ of the variable. |
| A. | Value |
| B. | Address |
| C. | Variable Name |
| D. | Data Type |
| Answer» C. Variable Name | |