

MCQOPTIONS
Saved Bookmarks
This section includes 199 Mcqs, each offering curated multiple-choice questions to sharpen your Mechanical Engineering knowledge and support exam preparation. Choose a topic below to get started.
51. |
This sort of intercommunication between the modules is accomplished by_________. |
A. | parameter passing |
B. | fully dynamic data allocation |
C. | call by value |
D. | call by reference |
Answer» B. fully dynamic data allocation | |
52. |
Any manipulation on the formal parameters doesn’t have effect on values in activation of the_____. |
A. | caller |
B. | callee |
C. | call |
D. | value |
Answer» B. callee | |
53. |
________is a second usuage demonstrate for in-out parameter. |
A. | call by value |
B. | pass by reference |
C. | call by address |
D. | none of these |
Answer» C. call by address | |
54. |
_________are generally passed by reference. |
A. | program |
B. | array |
C. | procedure |
D. | none of these |
Answer» C. procedure | |
55. |
Types of parameter passing techniques______. |
A. | call by value |
B. | call by name |
C. | call by reference |
D. | all of these |
Answer» E. | |
56. |
A strict substitution is called ‘in-line expansion’or_________. |
A. | macro extension |
B. | local function |
C. | both a & b |
D. | none of these |
Answer» B. local function | |
57. |
The address of actual parameter is passed to the formal parameter, “______â€can happen. |
A. | overloading |
B. | aliasing |
C. | caller |
D. | none of these |
Answer» C. caller | |
58. |
A block representation can be portrayed by ________,which demonstrates how blocks are nested into one another. |
A. | current instruction pointer(cip) |
B. | static nesting tree(snt) |
C. | current environment pointer(cep) |
D. | all of these |
Answer» C. current environment pointer(cep) | |
59. |
The assigned a pointer to the first instruction of the code segment for the_____. |
A. | code memory |
B. | variable |
C. | subprogram |
D. | none of these |
Answer» D. none of these | |
60. |
In activation record the control link is basically a____________. |
A. | static link |
B. | dynamic link |
C. | null pointer |
D. | none of these |
Answer» C. null pointer | |
61. |
which field is not present in the activation record? |
A. | actual parameter |
B. | register allocation |
C. | saved machine status |
D. | access link |
Answer» C. saved machine status | |
62. |
following are the limitations of static allocation strategy |
A. | size of data objects should be known at compile time |
B. | data structure can not be created dynamically this allocation strategy |
C. | recursion procedure are not supported by this allocation strategy |
D. | all of these |
Answer» E. | |
63. |
Data memory is divided into_________________. |
A. | static data area |
B. | stack area |
C. | heap area |
D. | all of these |
Answer» E. | |
64. |
During exection of a program the compiler clemandy for block of memory to operahng system This block is called as______________. |
A. | code memory |
B. | data memory |
C. | runtime |
D. | none of these |
Answer» D. none of these | |
65. |
The runtime storage might be subdivided of hold___________. |
A. | generated target code |
B. | data objects |
C. | control stack for procedure activation |
D. | all of these |
Answer» E. | |
66. |
In the early days of computing, the ------------- was used mainly in scientific applications |
A. | computer |
B. | printer |
C. | none of the above |
D. | allof theabove |
Answer» B. printer | |
67. |
The second factor of system reliability is that systemsare now being applied in critical areas such as chemical or nuclear plants andpatient monitoring, where system failures can be disastrous. In order toensure ----------, verification and validation became vital.. |
A. | reliability |
B. | maintainability |
C. | none of the above |
D. | allof theabove |
Answer» B. maintainability | |
68. |
One factor of system Reliability isthat systems are being developedfor users with little or no --------- |
A. | computer background |
B. | image background |
C. | none of the above |
D. | allof theabove |
Answer» B. image background | |
69. |
System reliability is another issue that has gained importance gradually,because of --------------major factors. |
A. | one |
B. | two |
C. | none of the above |
D. | three |
Answer» C. none of the above | |
70. |
is another issue that has gained importance gradually,because of two major factors. |
A. | system reliability |
B. | language and maintainability |
C. | none of the above |
D. | allof theabove |
Answer» B. language and maintainability | |
71. |
_________considerations forced people to enhancean existing system to meet the newly recognized needs. |
A. | social |
B. | economic |
C. | none of the above |
D. | allof theabove |
Answer» C. none of the above | |
72. |
What is the output of the folloeing code? int main() { double x=1.2; int sum=(int)x + 1; printf("sum=%d",sum); return 0; } |
A. | 2.2 |
B. | 2 |
C. | 2 |
D. | conversion from double to int is not possible |
Answer» C. 2 | |
73. |
In the early days of computing, the computer was used mainly in__________ |
A. | historical perspective |
B. | language and maintainability |
C. | scientific applications. |
D. | allof theabove |
Answer» D. allof theabove | |
74. |
The desire to apply the computerin more and more applications led to its being used in increasingly less under-stood and more ----------------- |
A. | historical perspective |
B. | sophisticated environments. |
C. | none of the above |
D. | allof theabove |
Answer» C. none of the above | |
75. |
The section examines briefly the developments in language design by following the evolution of ideas and concepts from a ----------------. |
A. | historical perspective |
B. | language and maintainability |
C. | none of the above |
D. | allof theabove |
Answer» B. language and maintainability | |
76. |
1)The software development process originally consisted only of the ------------phase. |
A. | impletation |
B. | design |
C. | testing |
D. | none of above |
Answer» B. design | |
77. |
Extensional mapping is a routine in which the range type values are associated as data aggregates |
A. | true |
B. | false |
Answer» B. false | |
78. |
In intensional mapping range type values are directly associated with domain type values |
A. | true |
B. | false |
Answer» B. false | |
79. |
which type of error occure in program |
A. | language error |
B. | applicaton error |
C. | all of these |
D. | syntax error |
Answer» D. syntax error | |
80. |
illegal operation that manipluate the data object is called |
A. | type system |
B. | type error |
C. | type safety |
D. | all of these |
Answer» C. type safety | |
81. |
In which language ADT is not implemented by using class |
A. | c++ |
B. | java |
C. | vb |
D. | ada |
Answer» E. | |
82. |
Which of the following are subtypes of discrete and real data types of Ada? |
A. | enumeration (char,boolean other enum) |
B. | integer (signed integer, modular integer) |
C. | floating point |
D. | all of these |
Answer» E. | |
83. |
Which of the following subtypes of scalar data types of Ada |
A. | discrete |
B. | real |
C. | both a and b |
Answer» D. | |
84. |
Which of the following are structured dta types in Ada? |
A. | cartesian product(record, variant record and discriminated union |
B. | array(finite mapping,sequence(string)) |
C. | tagged |
D. | all of these |
Answer» E. | |
85. |
Which is the subtypes of derived data type of C++ |
A. | array |
B. | class |
C. | structure and function |
D. | all of these |
Answer» E. | |
86. |
Which is the subtypes of structured type of Pascal Data Types |
A. | cartesian product(record, variant record and discriminated union |
B. | array (finite mapping) |
C. | set (power set) |
D. | all of these |
Answer» E. | |
87. |
Which is the subtypes of fundamental data type of C++ |
A. | integral |
B. | floating |
C. | both a and b |
Answer» D. | |
88. |
Which is the subtypes of Pascal and Ada Data Types |
A. | unstucture |
B. | pointers |
C. | structure |
D. | all of these |
Answer» E. | |
89. |
Which is the subtypes of unstructured types of Pascal Data Types |
A. | built –in |
B. | enumeration |
C. | subrange |
D. | all of these |
Answer» E. | |
90. |
Which of the following is not the built in data types of Pascal? |
A. | integer |
B. | real |
C. | char |
D. | float |
Answer» E. | |
91. |
Which semantics are used in compiler i.e. convert program into machine language |
A. | algebric semantic |
B. | axiomatic semantics |
C. | denotational semantic |
D. | translation semantics |
Answer» E. | |
92. |
…………………..defines the meaning of the program. |
A. | algebric semantic |
B. | axiomatic semantics |
C. | denotational semantic |
D. | translation semantics |
Answer» C. denotational semantic | |
93. |
………………….hints at characteristics of language , which are related to language user. |
A. | syntax |
B. | semantics |
C. | pragmatic |
D. | rules |
Answer» C. pragmatic | |
94. |
…………………means combine available symbol to create well formed sentences in the language |
A. | semantics |
B. | syntax |
C. | both a & b |
D. | none of above |
Answer» C. both a & b | |
95. |
This resembles usages in object-oriented programming languages like________, C++ and Java. |
A. | pascal (programming language) |
B. | free pascal |
C. | object pascal |
D. | embarcadero delphi |
Answer» D. embarcadero delphi | |
96. |
Which one of the following statements about formal and actual parameters is true? |
A. | formal and actual parameters must have the same name |
B. | formal and actual parameters must have different names. |
C. | a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment. |
D. | an actual parameter is declared within the called procedure |
Answer» D. an actual parameter is declared within the called procedure | |
97. |
Which kind of parameters cannot have a DEFAULT value? |
A. | in,out,in out |
B. | read,write, append |
C. | constant,variable,default |
D. | copy, nocopy,ref |
Answer» B. read,write, append | |
98. |
If you don’t specify a mode for a parameter, what is the default mode? |
A. | out |
B. | in |
C. | copy |
D. | none |
Answer» C. copy | |
99. |
Which of the following can be used as an argument for a procedure parameter? |
A. | the name of a variable |
B. | .a literal value |
C. | an expression. |
D. | all of the above. |
Answer» E. | |
100. |
When modifying procedure code, the procedure must be re-executed to validate and store it in the database. |
A. | true |
B. | false |
Answer» B. false | |