MCQOPTIONS
Saved Bookmarks
This section includes 65 Mcqs, each offering curated multiple-choice questions to sharpen your Technology knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The test(s) which can be used to differentiate anthrax bacilli from anthracoid bacilli is/are |
| A. | presence of medusa-head colony |
| B. | presence of capsule |
| C. | susceptibility to gamma phage |
| D. | all of these |
| Answer» E. | |
| 2. |
Food most often associated with emetic type of food poisoning caused by Bacillus cereus, is |
| A. | Meat |
| B. | Rice |
| C. | Milk |
| D. | Eggs |
| Answer» C. Milk | |
| 3. |
Ascoli's thermoprecipition test helps in confirming the laboratory diagnosis of |
| A. | tetanus |
| B. | anthrax |
| C. | typhoid |
| D. | cholera |
| Answer» C. typhoid | |
| 4. |
McFadyean's reaction is employed for the presumptive diagnosis of |
| A. | anthrax |
| B. | tetanus |
| C. | typhoid |
| D. | all of these |
| Answer» B. tetanus | |
| 5. |
Koch's postulates were satisfied for the first time with |
| A. | Clostridium tetani |
| B. | Corynebacterium diphtheriae |
| C. | Bacillus anthracis |
| D. | Salmonella typhi |
| Answer» D. Salmonella typhi | |
| 6. |
Void volume refers to the |
| A. | total volume of eluent in the column the remainder being taken up by the packing material |
| B. | the volume of solvent contained in a liquid chromatographic column |
| C. | the time required for the gradient to reach the column |
| D. | the volume of the column between the point at which solvents are mixed and the beginning of the column |
| Answer» B. the volume of solvent contained in a liquid chromatographic column | |
| 7. |
In normal phase HPLC, there is a |
| A. | non polar solvent/polar column |
| B. | polar solvent/non-polar column |
| C. | non polar solvent/non-polar column |
| D. | any of the above |
| Answer» B. polar solvent/non-polar column | |
| 8. |
Which of the following(s) is/are the advantage of HPLC over traditional LPLC (low-pressure liquid chromatography)? |
| A. | Greater sensitivity and reusable columns |
| B. | Ideal for ionic species and large molecules |
| C. | Sample recovery |
| D. | All of the above |
| Answer» E. | |
| 9. |
Why is it expensive to use objects for exception? |
| A. | Exception object is created only if an error actually happens |
| B. | Because of execution time |
| C. | Memory space involved in creating an exception object |
| D. | None of the mentioned |
| Answer» B. Because of execution time | |
| 10. |
Which operator is used in catch-all handler? |
| A. | ellipses operator |
| B. | ternary operator |
| C. | string operator |
| D. | unary operator |
| Answer» B. ternary operator | |
| 11. |
Which of the following type casts will convert an Integer variable named amount to a Double type ? |
| A. | (int to double) amount |
| B. | int (amount) to double |
| C. | int to double(amount) |
| D. | (double) amount |
| Answer» E. | |
| 12. |
Which of the following methods doesn't use sorting? |
| A. | Insertion |
| B. | Deletion |
| C. | Exchange |
| D. | Selection |
| Answer» B. Deletion | |
| 13. |
Which of the following is a properly defined structure? |
| A. | struct {int a;} |
| B. | struct a_struct {int a;} |
| C. | struct a_struct int a; |
| D. | struct a_struct {int a;}; |
| Answer» E. | |
| 14. |
Which keyword is used to declare the min and max functions? |
| A. | iostream |
| B. | string |
| C. | algorithm |
| D. | None of these |
| Answer» D. None of these | |
| 15. |
which keyword is used to define the macros in c++? |
| A. | macro |
| B. | define |
| C. | #define |
| D. | none of these |
| Answer» D. none of these | |
| 16. |
Which is best for coding the standard libary for c++? |
| A. | no trailing underscores on names |
| B. | complex objects are returned by value |
| C. | have a member-swap() |
| D. | All of the mentioned |
| Answer» E. | |
| 17. |
Which design patterns benefit from the multiple inheritance? |
| A. | Adapter and observer pattern |
| B. | Code pattern |
| C. | Glue pattern |
| D. | None of these |
| Answer» B. Code pattern | |
| 18. |
Which among the following are not access Specifiers in C++? |
| A. | Public |
| B. | Protected |
| C. | Default |
| D. | Private |
| Answer» D. Private | |
| 19. |
Which among the following are not the c++ tokens |
| A. | Identifiers |
| B. | keywords |
| C. | Strings |
| D. | None |
| Answer» E. | |
| 20. |
Where is the reference stored? |
| A. | stack |
| B. | heap |
| C. | queue |
| D. | None |
| Answer» B. heap | |
| 21. |
Where does the standard exception classes are grouped? |
| A. | namespace std |
| B. | error |
| C. | catch |
| D. | none of these |
| Answer» B. error | |
| 22. |
Where does the exceptions are used? |
| A. | Exceptions are used when postconditions of a function cannot be satisfied. |
| B. | Exceptions are used when postconditions of a function can be satisfied. |
| C. | To preserve the program |
| D. | none of these |
| Answer» C. To preserve the program | |
| 23. |
Where does the allocaters are implemented? |
| A. | Template library |
| B. | Standard library |
| C. | C++ code library |
| D. | None of these |
| Answer» C. C++ code library | |
| 24. |
Where does the exception are handled? |
| A. | inside the program |
| B. | outside the regular code |
| C. | both a & b |
| D. | none of these |
| Answer» C. both a & b | |
| 25. |
What of the following describes protected access specifier? |
| A. | The variable is visible only outside inside the block |
| B. | The variable is visible everywhere |
| C. | The variable is visible to its block and to it’s derived class |
| D. | None of these |
| Answer» D. None of these | |
| 26. |
What will happen when introduce the interface of classes in a run-time polymorphic hierarchy? |
| A. | Separation of interface from implementation |
| B. | Merging of interface from implementation |
| C. | Separation of interface from debugging |
| D. | None of the mentioned |
| Answer» B. Merging of interface from implementation | |
| 27. |
What will happen when an exception is not processed? |
| A. | It will eat up lot of memory and program size |
| B. | Terminate the program |
| C. | Crash the compiler |
| D. | None of the mentioned |
| Answer» B. Terminate the program | |
| 28. |
What is the user-defined header file extension in c++? |
| A. | cpp |
| B. | h |
| C. | hf |
| D. | none of these |
| Answer» C. hf | |
| 29. |
What is the use of Namespace? |
| A. | To encapsulate the data |
| B. | To structure a program into logical units. |
| C. | Both a and b |
| D. | none of these |
| Answer» C. Both a and b | |
| 30. |
What is the Run-Time Type Information? |
| A. | Information about an object’s datatype at runtime |
| B. | Information about the variables |
| C. | Information about the given block |
| D. | None of these |
| Answer» B. Information about the variables | |
| 31. |
What is the output of this program?_x005F_x000D_  #include       using namespace std;      int main()      {          int arr[] = {4, 5, 6, 7};          int *p = (arr + 1);          cout |
| A. | 4 |
| B. | 5 |
| C. | address of arr |
| D. | 7 |
| Answer» D. 7 | |
| 32. |
What is the output of this program ?_x005F_x000D_       #include        using namespace std;       int n(char, int);       int (*p) (char, int) = n;       int main()       {           (*p)('d', 9);           p(10, 9);           return 0;       }       int n(char c, int i)       {           cout |
| A. | d99 |
| B. | d9d9 |
| C. | d9 |
| D. | compile time error |
| Answer» B. d9d9 | |
| 33. |
What is the output of this program?_x005F_x000D_ #include        using namespace std;       void fun(int x, int y)       {           x = 20;           y = 10;       }       int main()       {           int x = 10;           fun(x, x);           cout |
| A. | 10 |
| B. | 20 |
| C. | compile time error |
| D. | none of these |
| Answer» B. 20 | |
| 34. |
What is the output of this program?_x005F_x000D_ #include        using namespace std;       struct sec {           int a;           char b;       };       int main()       {           struct sec s ={25,50};           struct sec *ps =(struct sec *)&s;           cout a b;           return 0;       } |
| A. | 252 |
| B. | 253 |
| C. | 254 |
| D. | 262 |
| Answer» B. 253 | |
| 35. |
What is the kind of execution does sequence point allow? |
| A. | Non-overlap |
| B. | Overlap |
| C. | Concurrent |
| D. | None of these |
| Answer» B. Overlap | |
| 36. |
What is the general syntax for accessing the namespace variable? |
| A. | namespaceid::operator |
| B. | namespace,operator |
| C. | namespace#operator |
| D. | none of the mentioned |
| Answer» B. namespace,operator | |
| 37. |
What is the default return type of a function ? |
| A. | int |
| B. | void |
| C. | float |
| D. | char |
| Answer» C. float | |
| 38. |
What is meant by pure virtual function? |
| A. | Function which does not have definition of its own. |
| B. | Function which does have definition of its own. |
| C. | Function which does not have any return type. |
| D. | None of the mentioned |
| Answer» B. Function which does have definition of its own. | |
| 39. |
What is meant by template specialization? |
| A. | It will have certain data types to be fixed. |
| B. | It will make certain data types to be dynamic. |
| C. | Certain data types are invalid |
| D. | None of the mentioned |
| Answer» B. It will make certain data types to be dynamic. | |
| 40. |
What is meant by heap? |
| A. | Used for fast reterival of elements |
| B. | Used for organising the elements |
| C. | Both a & b |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 41. |
What is meant by exception specification? |
| A. | A function is limited to throwing only a specified list of exceptions. |
| B. | A catch can catch all types of exceptions. |
| C. | A function can throw any type of exceptions. |
| D. | none of the mentioned |
| Answer» B. A catch can catch all types of exceptions. | |
| 42. |
What is meaning of following declaration? int(*p[5])(); |
| A. | p is pointer to function. |
| B. | p is array of pointer to function. |
| C. | p is pointer to such function which return type is array. |
| D. | p is pointer to array of function. |
| Answer» C. p is pointer to such function which return type is array. | |
| 43. |
What is a template? |
| A. | A template is a formula for creating a generic class |
| B. | A template is used to manipulate the class |
| C. | A template is used for creating the attributes |
| D. | none of the mentioned |
| Answer» B. A template is used to manipulate the class | |
| 44. |
What does inheriatance allows you to do? |
| A. | create a class |
| B. | access methods |
| C. | create a hierarchy of classes |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 45. |
What do vectors represent? |
| A. | Static arrays |
| B. | Dynamic arrays |
| C. | Stack |
| D. | Queue |
| Answer» C. Stack | |
| 46. |
What could be the bucket size if collision and overlapping occur at same time? |
| A. | 2 |
| B. | |
| C. | 1 |
| D. | 4 |
| Answer» D. 4 | |
| 47. |
What are the mandatory part to present in function pointers? |
| A. | & |
| B. | retrun values |
| C. | data types |
| D. | none of these |
| Answer» D. none of these | |
| 48. |
What are the operators available in dynamic memory allocation? |
| A. | new |
| B. | delete |
| C. | compare |
| D. | both a & b |
| Answer» E. | |
| 49. |
What are the methods are available in storing sequential files? |
| A. | Natural merging |
| B. | Polyphase sort |
| C. | Distribution of Initial runs |
| D. | All the above |
| Answer» E. | |
| 50. |
Values that are used to end loops are referred to as _____ values. |
| A. | stop |
| B. | sentinel |
| C. | end |
| D. | finish |
| Answer» C. end | |