Principles Of Programming Languages Set 5
On This Page
This set of Principles of Programming Languages Multiple Choice Questions & Answers (MCQs) focuses on Principles Of Programming Languages Set 5
Q1 | What happens when rows are found using a FETCH statement
- it causes the cursor to close
- it causes cursor to open
- it loads the current row values into variables
- none of the above
Q2 | For which trigger timing can you reference the NEW and OLD qulaifires?
- statement and row
- statement only
- row only
- oracle forms trigger
Q3 | What is the maximum number of handlers processed before the PL/SQL block is exited when an exception occure?
- only one
- all that apply
- all referanced
- none
Q4 | The stepsqlite product is a PL/SQL compiler for the small database-------
- javascript
- java
- mozilla firefox
- sqlite
Q5 | What is the maximum number of ELSE clauses that can be included in an IF clause that is not nested?
- 0
- 1
- 15
- any number
Q6 | Subprograms and anonymous blocks can be called by other applications.
- true
- false
Q7 | A nested subprogram can be called from the main procedure or from the calling environment. True or False?
- true
- false
Q8 | When modifying procedure code, the procedure must be re-executed to validate and store it in the database.
- true
- false
Q9 | Which of the following can be used as an argument for a procedure parameter?
- the name of a variable
- .a literal value
- an expression.
- all of the above.
Q10 | If you don’t specify a mode for a parameter, what is the default mode?
- out
- in
- copy
- none
Q11 | Which kind of parameters cannot have a DEFAULT value?
- in,out,in out
- read,write, append
- constant,variable,default
- copy, nocopy,ref
Q12 | Which one of the following statements about formal and actual parameters is true?
- formal and actual parameters must have the same name
- formal and actual parameters must have different names.
- a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment.
- an actual parameter is declared within the called procedure
Q13 | This resembles usages in object-oriented programming languages like________, C++ and Java.
- pascal (programming language)
- free pascal
- object pascal
- embarcadero delphi
Q14 | …………………means combine available symbol to create well formed sentences in the language
- semantics
- syntax
- both a & b
- none of above
Q15 | ………………….hints at characteristics of language , which are related to language user.
- syntax
- semantics
- pragmatic
- rules
Q16 | …………………..defines the meaning of the program.
- algebric semantic
- axiomatic semantics
- denotational semantic
- translation semantics
Q17 | Which semantics are used in compiler i.e. convert program into machine language
- algebric semantic
- axiomatic semantics
- denotational semantic
- translation semantics
Q18 | Which of the following is not the built in data types of Pascal?
- integer
- real
- char
- float
Q19 | Which is the subtypes of Pascal and Ada Data Types
- unstucture
- pointers
- structure
- all of these
Q20 | Which is the subtypes of unstructured types of Pascal Data Types
- built –in
- enumeration
- subrange
- all of these
Q21 | Which is the subtypes of structured type of Pascal Data Types
- cartesian product(record, variant record and discriminated union
- array (finite mapping)
- set (power set)
- all of these
Q22 | Which is the subtypes of fundamental data type of C++
- integral
- floating
- both a and b
Q23 | Which is the subtypes of derived data type of C++
- array
- class
- structure and function
- all of these
Q24 | Which of the following are structured dta types in Ada?
- cartesian product(record, variant record and discriminated union
- array(finite mapping,sequence(string))
- tagged
- all of these
Q25 | Which of the following subtypes of scalar data types of Ada
- discrete
- real
- both a and b