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. |
When the type conversion is required? |
| A. | the value to be stored is in the form not supported by data type |
| B. | the value supported is beyond the max limit |
| C. | to reduce the memory in use associated with that value |
| D. | all of these |
| Answer» E. | |
| 2. |
Identify the built-in data type__________________. |
| A. | struct |
| B. | class |
| C. | int |
| D. | enum |
| Answer» D. enum | |
| 3. |
What will happen if null pointer is converted to boolean___________. |
| A. | the boolean value is evaluated to true |
| B. | the boolean value is evaluated to false |
| C. | errror is raised |
| D. | none of these |
| Answer» C. errror is raised | |
| 4. |
What is strong type system? |
| A. | the type system in which only built-in data types are allowed. |
| B. | the type system in which only user defined data types are allowed. |
| C. | a type system that guarantees not to generate type errors. |
| D. | none of these |
| Answer» D. none of these | |
| 5. |
A mathematical model with a collection of operations defined on that model is called__________. |
| A. | data structure |
| B. | abstract data type |
| C. | built in data type |
| D. | none of these |
| Answer» C. built in data type | |
| 6. |
What is the role of compiler by templates? |
| A. | probability |
| B. | type-safe |
| C. | code elimination |
| D. | allof these |
| Answer» C. code elimination | |
| 7. |
Explicit type conversion is known as_____. |
| A. | conversion |
| B. | casting |
| C. | separation |
| D. | none of these |
| Answer» C. separation | |
| 8. |
Which size should be used when double precision is required? |
| A. | float |
| B. | double |
| C. | long double |
| D. | none of these |
| Answer» C. long double | |
| 9. |
What will be the output of the follwing code? #include using namespace std; int main() { float a=22.22; double b= 22.22; if(a==b) cout |
| A. | matching |
| B. | non matching |
| C. | syntax error |
| D. | none of these |
| Answer» C. syntax error | |
| 10. |
What is the output of following code? #include using namespace std; int main() { int I; enum test{a=1,b,c,d,e,f,g,h}; for(i=c;i |
| A. | syntax error |
| B. | 3 4 5 6 7 |
| C. | 1 2 3 4 5 |
| D. | none of these |
| Answer» C. 1 2 3 4 5 | |
| 11. |
Class is _______. |
| A. | template which associates code and data |
| B. | data abstraction |
| C. | implementation of abstract data type |
| D. | object oriented |
| Answer» E. | |
| 12. |
When variable used in the program is a whole number,then variable is stored as ___________. |
| A. | string data type |
| B. | integer data type |
| C. | negative whole number |
| D. | positive whole number |
| Answer» C. negative whole number | |
| 13. |
What will be the output of following code? #include using namespace std; int main() { enum color{blue,orange,green}; enum fruit{apple,guava,orange}; int i=0; for(i=blue;i |
| A. | 0 1 2 |
| B. | 1 2 3 |
| C. | syntax error |
| D. | none of these |
| Answer» D. none of these | |
| 14. |
During execution of a program the compiler demands for block of memory to operating system.This block is called as _____________. |
| A. | code memory |
| B. | data memory |
| C. | runtime storage |
| D. | none of these |
| Answer» D. none of these | |
| 15. |
Which of the following represents correct syntax for function declaration? |
| A. | int sum(int,int); |
| B. | int sum(int,int){} |
| C. | int sum; |
| D. | both a and c |
| Answer» B. int sum(int,int){} | |
| 16. |
What is the output of the following code? Int main(void) { char name='P'; 'P'=10;return 0; } |
| A. | name will contain value 10 |
| B. | p will contain 10 |
| C. | syntax error |
| D. | none of these |
| Answer» D. none of these | |
| 17. |
The full form of BNF is_____________. |
| A. | beginning normal form |
| B. | backus naur form |
| C. | best normal form |
| D. | none of these |
| Answer» C. best normal form | |
| 18. |
Programming language FOTRAN stands for: |
| A. | free translator |
| B. | formula translator |
| C. | formula translation |
| D. | free translation |
| Answer» C. formula translation | |
| 19. |
Language efficiency can be achieved by ___________. |
| A. | maximum speed |
| B. | less memory consumption |
| C. | reusability |
| D. | all of these |
| Answer» E. | |
| 20. |
Semantic of a program means- |
| A. | format of a program |
| B. | meaning of a program |
| C. | simply content of a program |
| D. | none of these |
| Answer» C. simply content of a program | |
| 21. |
What is relationship between reliability and failure? |
| A. | direct relation |
| B. | inverse relation |
| C. | no relation |
| D. | varying relationdepending upon the situation |
| Answer» C. no relation | |
| 22. |
The difference between memory and storage is that memory is __________________ and storage is __________. |
| A. | temporary, permanent |
| B. | permanent,temporary |
| C. | slow,fast |
| D. | all of above |
| Answer» B. permanent,temporary | |
| 23. |
Which is the longest scope in the following code? #include int x; int main() { int y; fun(); return 0; } void fun(){ int z; } |
| A. | x |
| B. | y |
| C. | z |
| D. | both a and b |
| Answer» B. y | |
| 24. |
The default parameter passing method used in C++ is ____________. |
| A. | call by reference |
| B. | call by value |
| C. | call by name |
| D. | none of these |
| Answer» C. call by name | |
| 25. |
The value of an automatic variable that is declared but not initialized will be |
| A. | 0 |
| B. | -1 |
| C. | unpredictable |
| D. | none of these |
| Answer» D. none of these | |
| 26. |
Progarmming Language FORTRAN stands for: |
| A. | free translator |
| B. | formula translator |
| C. | formula translation |
| D. | free translation |
| Answer» C. formula translation | |
| 27. |
#include #define count 10; void main() { printf("%d",count); } |
| A. | 10 |
| B. | syntax error |
| C. | none of these |
| Answer» C. none of these | |
| 28. |
In C, reference is declared using the symbol |
| A. | * |
| B. | & |
| C. | && |
| D. | ! |
| Answer» C. && | |
| 29. |
Which one of the following is not the stage of software development? |
| A. | requirement analysis and gathering |
| B. | problem identification |
| C. | software design |
| D. | maintenance |
| Answer» C. software design | |
| 30. |
The Linker __________________. |
| A. | is similar to interpreter |
| B. | uses source code as its input |
| C. | it is required to create a load module |
| D. | none of these |
| Answer» D. none of these | |
| 31. |
The graphical representation of syntax is represented by ___________. |
| A. | finite diagram |
| B. | er diagram |
| C. | syntax diagram |
| D. | none of these |
| Answer» D. none of these | |
| 32. |
Semantic of aprogram means |
| A. | format of a program |
| B. | meaning of a program |
| C. | simply content of a program |
| D. | none of these |
| Answer» B. meaning of a program | |
| 33. |
Which of the following is machine independence program? |
| A. | high level language |
| B. | low level language |
| C. | assembly language |
| D. | machine language |
| Answer» B. low level language | |
| 34. |
For specifying the syntax of a language _____________ is used. |
| A. | context free language |
| B. | regular expression |
| C. | finite automata |
| D. | none of these |
| Answer» B. regular expression | |
| 35. |
Which programming languages are classified as low level languages? |
| A. | cobol,fortran,pascal |
| B. | prolog 2,expert systems |
| C. | assembly languages |
| D. | knowledge based systems |
| Answer» D. knowledge based systems | |
| 36. |
The difference between memory and storage is that memory is _________ and storage is _________. |
| A. | temporary,permanent |
| B. | permanent,temporary |
| C. | slow,fast |
| D. | all of above |
| Answer» B. permanent,temporary | |
| 37. |
ALU stands for: |
| A. | array logic unit |
| B. | application logic unit |
| C. | arithmetic logic unit |
| D. | none of these |
| Answer» D. none of these | |
| 38. |
The Logic programming technique is implemented in : |
| A. | declarative programming |
| B. | object oriented programming |
| C. | functional programming |
| D. | generic programming |
| Answer» B. object oriented programming | |
| 39. |
What is a prototype |
| A. | mini-model of existing system |
| B. | mini-model of proposed system |
| C. | working model of existing system |
| D. | none of these |
| Answer» B. mini-model of proposed system | |
| 40. |
Prototyping aims at |
| A. | end user understanding and approval |
| B. | program logic |
| C. | planning of dataflow organization |
| D. | none of these |
| Answer» B. program logic | |
| 41. |
The detailed study of existing system is referred to as |
| A. | system planning |
| B. | system analysis |
| C. | feasibility study |
| D. | design dfd |
| Answer» C. feasibility study | |
| 42. |
Which step of SDLC performs cost/benefit analysis? |
| A. | feasibility study |
| B. | analysis |
| C. | design |
| D. | none of these |
| Answer» C. design | |
| 43. |
Which of the following is secondary memory device? |
| A. | keyboard |
| B. | disk |
| C. | alu |
| D. | all of the above |
| Answer» C. alu | |
| 44. |
Which of the following is a true statement regarding the SDLC phases. |
| A. | the sdlc is not iterative. |
| B. | the life cycle is always a sequentially ordered sets of phases. |
| C. | it is not possible to completed some activities in one phase in parallel with those of another phase. |
| D. | the life cycle may be thought of as a circular process. |
| Answer» B. the life cycle is always a sequentially ordered sets of phases. | |
| 45. |
Which of the following is an object oriented programming language? |
| A. | c |
| B. | c++ |
| C. | ml |
| D. | ada |
| Answer» C. ml | |
| 46. |
_________ is a module based programming language |
| A. | c |
| B. | c++ |
| C. | ml |
| D. | ada |
| Answer» E. | |
| 47. |
Which of the following phase of software development is associated with creation of test data ? |
| A. | system analysis |
| B. | design |
| C. | coding |
| D. | system acceptance |
| Answer» E. | |
| 48. |
Which of the following is a functional programming language? |
| A. | c |
| B. | c++ |
| C. | ml |
| D. | ada |
| Answer» D. ada | |
| 49. |
Which of the following is not the part of software development phases? |
| A. | software designing |
| B. | software validation |
| C. | software dependent |
| D. | software implementation |
| Answer» D. software implementation | |