McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Mechanical Engineering , Programming Languages .
101. |
What happens when rows are found using a FETCH statement |
A. | it causes the cursor to close |
B. | it causes cursor to open |
C. | it loads the current row values into variables |
D. | none of the above |
Answer» B. it causes cursor to open |
102. |
For which trigger timing can you reference the NEW and OLD qulaifires? |
A. | statement and row |
B. | statement only |
C. | row only |
D. | oracle forms trigger |
Answer» D. oracle forms trigger |
103. |
What is the maximum number of handlers processed before the PL/SQL block is exited when an exception occure? |
A. | only one |
B. | all that apply |
C. | all referanced |
D. | none |
Answer» A. only one |
104. |
The stepsqlite product is a PL/SQL compiler for the small database------- |
A. | javascript |
B. | java |
C. | mozilla firefox |
D. | sqlite |
Answer» D. sqlite |
105. |
What is the maximum number of ELSE clauses that can be included in an IF clause that is not nested? |
A. | 0 |
B. | 1 |
C. | 15 |
D. | any number |
Answer» B. 1 |
106. |
Subprograms and anonymous blocks can be called by other applications. |
A. | true |
B. | false |
Answer» A. true |
107. |
A nested subprogram can be called from the main procedure or from the calling environment. True or False? |
A. | true |
B. | false |
Answer» B. false |
108. |
When modifying procedure code, the procedure must be re-executed to validate and store it in the database. |
A. | true |
B. | false |
Answer» A. true |
109. |
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» D. all of the above. |
110. |
If you don’t specify a mode for a parameter, what is the default mode? |
A. | out |
B. | in |
C. | copy |
D. | none |
Answer» B. in |
111. |
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» A. in,out,in out |
112. |
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» C. a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment. |
113. |
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» C. object pascal |
114. |
…………………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» B. syntax |
115. |
………………….hints at characteristics of language , which are related to language user. |
A. | syntax |
B. | semantics |
C. | pragmatic |
D. | rules |
Answer» B. semantics |
116. |
…………………..defines the meaning of the program. |
A. | algebric semantic |
B. | axiomatic semantics |
C. | denotational semantic |
D. | translation semantics |
Answer» B. axiomatic semantics |
117. |
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» D. translation semantics |
118. |
Which of the following is not the built in data types of Pascal? |
A. | integer |
B. | real |
C. | char |
D. | float |
Answer» D. float |
119. |
Which is the subtypes of Pascal and Ada Data Types |
A. | unstucture |
B. | pointers |
C. | structure |
D. | all of these |
Answer» D. all of these |
120. |
Which is the subtypes of unstructured types of Pascal Data Types |
A. | built –in |
B. | enumeration |
C. | subrange |
D. | all of these |
Answer» D. all of these |
121. |
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» D. all of these |
122. |
Which is the subtypes of fundamental data type of C++ |
A. | integral |
B. | floating |
C. | both a and b |
Answer» C. both a and b |
123. |
Which is the subtypes of derived data type of C++ |
A. | array |
B. | class |
C. | structure and function |
D. | all of these |
Answer» D. all of these |
124. |
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» D. all of these |
125. |
Which of the following subtypes of scalar data types of Ada |
A. | discrete |
B. | real |
C. | both a and b |
Answer» C. both a and b |
126. |
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» D. all of these |
127. |
In which language ADT is not implemented by using class |
A. | c++ |
B. | java |
C. | vb |
D. | ada |
Answer» D. ada |
128. |
illegal operation that manipluate the data object is called |
A. | type system |
B. | type error |
C. | type safety |
D. | all of these |
Answer» B. type error |
129. |
which type of error occure in program |
A. | language error |
B. | applicaton error |
C. | all of these |
D. | syntax error |
Answer» C. all of these |
130. |
In intensional mapping range type values are directly associated with domain type values |
A. | true |
B. | false |
Answer» A. true |
131. |
Extensional mapping is a routine in which the range type values are associated as data aggregates |
A. | true |
B. | false |
Answer» A. true |
132. |
What is the output of the folloeing code?
|
A. | 2.2 |
B. | 2 |
C. | 2 |
D. | conversion from double to int is not possible |
Answer» B. 2 |
133. |
The software development process originally consisted only of the ------------phase. |
A. | impletation |
B. | design |
C. | testing |
D. | none of above |
Answer» A. impletation |
134. |
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» A. historical perspective |
135. |
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» C. scientific applications. |
136. |
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» B. sophisticated environments. |
137. |
_________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» B. economic |
138. |
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» A. system reliability |
139. |
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» B. two |
140. |
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» A. computer background |
141. |
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» A. reliability |
142. |
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» A. computer |
143. |
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» D. all of these |
144. |
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» C. runtime |
145. |
Data memory is divided into_________________. |
A. | static data area |
B. | stack area |
C. | heap area |
D. | all of these |
Answer» D. all of these |
146. |
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» D. all of these |
147. |
which field is not present in the activation record? |
A. | actual parameter |
B. | register allocation |
C. | saved machine status |
D. | access link |
Answer» B. register allocation |
148. |
In activation record the control link is basically a____________. |
A. | static link |
B. | dynamic link |
C. | null pointer |
D. | none of these |
Answer» B. dynamic link |
149. |
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» C. subprogram |
150. |
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» B. static nesting tree(snt) |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.