You are on page 1of 20

Sr. No.

Question

1
1)The software development process originally consisted only of the ------------phase.
2 The section examines briefly the developments in language design by following the
evolution of ideas and concepts from a ----------------.
3
In the early days of computing, the computer was used mainly in__________
4 The desire to apply the computerin more and more applications led to its being used
in increasingly less under-stood and more -----------------
5 _________considerations forced people to enhancean existing system to meet the
newly recognized needs.
6 is another issue that has gained importance gradually,because of two major factors.

7 System reliability is another issue that has gained importance gradually,because of


--------------major factors.
8 One factor of system Reliability isthat systems are being developedfor users with little
or no ---------

9 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..
10 In the early days of computing, the ------------- was used mainly in scientific
applications
option1 option 2 option 3 option 4 Correct Answer Marks

Impletation Design Testing None of above 1 1

historical Language and None of the


allof theabove 1 1
perspective Maintainability above
historical Language and scientific allof theabove 3 1
perspective Maintainability applications.
historical sophisticated None of the allof theabove 2 1
perspective environments. above
None of the
Social Economic allof theabove 2 1
above
Language and None of the
System reliability Maintainability allof theabove 1 1
above
None of the
one two above three 2 1

computer Image Background None of the allof theabove 1 1


background above

None of the
Reliability Maintainability allof theabove 1 1
above

computer printer None of the allof theabove 1 1


above
Sr. No. Question

1 FORTRAN uses______________.

2 Execution time languages can be classified are__________.

3 call by name parameter passing method is used in___________.


4 copy restore parameter passing method is used in___________.
Grammars are capable to describe the structure of ........and independent
5 ........models.

6 The language syntax is characterized by two arrangements of rules: ....... and.........

7 The distinctin among ......and......standards is to same degree Subjective.

8 ........give another method for characterizing structure of Programming language.

9 Representation of Non-terminals is done by.... and....by boxes.

10 The non-terminals symbol is defined with a transition diagram having......................

.........tell what is processed by giving a numerical question (function) which is the


11
significance of the program.
.....semantics are utilized when taking in a programming language and by compiler
12 journalists.
13 Translation semantics are used in.......

14 A program is viewed as a state machine by...........

15 In a compiler.....checks every character of the source text.

..... Syntax can only represent a rule in one line, whereas in.....a terminating
16
character, the semicolon, marks and end of a rule.

17 The full form of EBNF....

18 The syntax of language id define by two sets…

19 Syntax of ALGOL 60 was defined with

20 Meta-language is
21 EBNF is metalanguage

22 Postcondition is

23 Predicate Q can be return as

24 Predicate W is called as

25 Axiomatic semantics specifies each statement of a language in terms of asemis

26 Function mem from the set of program identifiers ID to values

27 I is invariant predicate that satisfies condtion

28 Which of the following is true about implicit cursor?

29 Which of the following is not a feature of a cursor FOR loop

30 Which of the following are implicit cursor attributes?

31 In left out,which of the following would be cuase an infinite loop occure in a simple
loop?

32 Which of the following statement will produce an error?

33 The command used to open a CURSOR FOR loop is

34 What happens when rows are found using a FETCH statement

35 For which trigger timing can you reference the NEW and OLD qulaifires?

What is the maximum number of handlers processed before the PL/SQL block is
36
exited when an exception occure?
37 The stepsqlite product is a PL/SQL compiler for the small database-------
What is the maximum number of ELSE clauses that can be included in an IF clause that
38
is not nested?
39 Subprograms and anonymous blocks can be called by other applications.
A nested subprogram can be called from the main procedure or from the calling
40
environment. True or False?
When modifying procedure code, the procedure must be re-executed to validate and
41
store it in the database.

42 Which of the following can be used as an argument for a procedure parameter?

43 If you don’t specify a mode for a parameter, what is the default mode?

44 Which kind of parameters cannot have a DEFAULT value?

45 Which one of the following statements about formal and actual parameters is true?

This resembles usages in object-oriented programming languages like________, C++


46
and Java.

…………………means combine available symbol to create well formed sentences in the


47 language

48 ………………….hints at characteristics of language , which are related to language user.

49 …………………..defines the meaning of the program.

50 Which semantics are used in compiler i.e. convert program into machine language
option1 option 2 option 3 option 4 Correct Answer Marks

static allocation stack allocation


strategy strategy heap allocation none of these 1 1
strategy
stack-based fully dynamic 4 1
static languages languages languages all of these
c pascal ALGOL none of these 3 1
c pascal ADA none of these 3 1
Language and Language and
computational Language and lexical syntactic None of above. 1 1
Logical and Lexical and
syantax
Lexical and syntactic symmetric None of these 2 1
Logical and Lexical and
syantax symmetric
Lexical and syntactic None of these 3 1
Axiomatic and
Context free
Syntax diagrams. denotational
grammar
All of these. 1 1
approach.
Circles and
terminate
Line and terminate Circle and terminal Line and terminal 3 1
One entry and two entry and one One entry and one One entry and no
two exit edge exit edge exit edge exit edge 3 1
Algebraic Denotational Operational Axiomatic
semantics. semantics. semantics. semantics. 2 1
Algebraic Denotational Operational Axiomatic
semantics. semantics. semantics. semantics. 3 1
Interpreters Compilers Errors. Both a and b 2 1
Algebraic Denotational Operational Axiomatic
semantics. semantics. semantics. semantics. 4 1
The lexical
The syntax analyzer. The code generator. The code 1 1
analyzer. optimizer.

EBNF, BNF BNF,EBNF All of above None of these 2 1

Extended Backus Extended Beginning Extended Best


Naur Form normal form normal form None of above 1 1

Lexical rules Syntactic rules Both A & B None of this 3 1


Simply stating
Context-free
some rules in Simple language No syntax 2 1
grammar
English

Used to
described other Simple language Instruction set None of this 1 1
language
1 0 1 1

Predicate p Predicate q such


required to hold that execution of s
Either A or B Both true 1 1
after execution terminates & p holds
of statement s upon termination

Q=T and
R;T=termination, R=I Q=T Q=R 1 1
R=truth of p
Weakest Weakest
Both A & B None of this 1 1
precondition postcondition
Predicate Predicate
translation transformer Predicate Q NONE OF THIS 2 1

condition predicate function State 4 1


I and B subset of I and not B subset of
asem (L,I) P Both A and B None of above 3 1

Implicit cursor
Developers should Implicit cursors are
are used for SQL
use implicit cursors no longer a feature None of above 1 1
that are not
with great care in oracle
nameD

Requires exit
Record type Opening and parsing Fetches records
condition to be 2 1
declaration of SQL statement from cursor
defineD
%found %too_many_rows %notfound %rowtype 3 1

LOOP END LOOP IF_THEN EXIT 2 1

Cursor Select None of the


Into action_record 3 1
action_cursor is name,rate,action Above

open fetch parse None of the 4 1


above

It loads the current None of the


It causes the It causes cursor to
cursor to close open row values into above 2 1
variables

Statement and Oracle forms


Statement only Row only 4 1
row trigger

Only one All that apply ALL referanced None 1 1

Javascript Java Mozilla Firefox SQlite 4 1

0 Any number 2 1
1 15
1 0 1 1

1 0 2 1
1 0 1 1

The name of a .A literal value An expression. All of the above. 4 1


variable
OUT In Copy None 2 1
Read,WRITE, CONSTANT,VARIABL COPY,
IN,OUT,IN OUT 1 1
APPEND E,DEFAULT NOCOPY,REF

A formal parameter
is declared within
Formal and Formal and actual the called An actual
actual parameter is
parameters must procedure, while an
parameters must have different actual parameter is declared within 3 1
have the same the called
names. declared in the
name procedure
calling
environment.

Pascal
Embarcadero
(programming Free Pascal Object Pascal 3 1
Delphi
language)

Semantics Syntax Both a & b None of above 2 1

Syntax Semantics Pragmatic Rules 2 1

Algebric Denotational Translation


Axiomatic semantics semantic 2 1
semantic semantics
Algebric Denotational Translation
semantic Axiomatic semantics semantic semantics 4 1
Sr. No.

6
7

9
10
11
12

13

14

15

16
17
18
19
20

21

22

23
24
25
26
27
28
29

30

31
32

33

34

35

36

37

38

39

40

41
42
43
44
45

46

47

48

49

50
Question

The runtime storage might be subdivided of hold___________.

During exection of a program the compiler clemandy for block of memory to operahng system
This block is called as______________.
Data memory is divided into_________________.

following are the limitations of static allocation strategy

which field is not present in the activation record?

In activation record the control link is basically a____________.


The assigned a pointer to the first instruction of the code segment for the_____.

A block representation can be portrayed by ________,which demonstrates how blocks are nested
into one another.
A strict substitution is called ‘in-line expansion’or_________.
Types of parameter passing techniques______.
_________are generally passed by reference.
The address of actual parameter is passed to the formal parameter, “______”can happen.
Any manipulation on the formal parameters doesn’t have effect on values in activation of
the_____.
________is a second usuage demonstrate for in-out parameter.

This sort of intercommunication between the modules is accomplished by_________.

The hybid method between call by value and call by reference is______.
The node of activation tree represents___________.
The root of activation tree represents_________.
______field ,of activation record refers to non local data in another activation record .
The control link of activation record points to__________.

An interpreter is a program that repetitively executes :

CPU is also an interpreter of machine instruction

____translate code into some efficient ntermesiate representation and immediately execute that.
Interpreters are frequently used to executed
No intermediate code is generated in
BASIC language is an example of:
In interpreter conditional control statements are execute slower
In interpreter memory required is?
In ------- Higher level language is converted into lower level lenguage
In computing , an interpreter is a computer that reads the source code of another program and
execute that program
Self modifying code can be easily implemented by
Translator for low level programming language were termed as C

The translator which perform macro expansion is called a


Which of the following can be used as a criterion for classification of data structures used in
language processing.

An assembler is

Which is not a funciton of a loader

An interpreter is a program that

disadvantage of compiler and go loading scheme is that

which of the following are language processors

An assembler converts

Numerous binding are performed amid program execution is called_ _ _ _


Binding is done at_ _ _
Execution time binding is also called as
Binding is chosen by .......
The time amid program formulation or processing when this decision is made is named........

Which of the following logic is used to produce loops in programme logic?1)A data object
that is characterized and named unequivocally in a program is named as…………...

The function with the name ___________ is always written in every program

The scope of a variable declared externally, is__________

The scope of a variable declared as static storage class is__________


__________binding is used to define the scope in terms of the lexical structure of a program.
option1 option 2 option 3 option 4 Correct Answer

generated target control stack for


code
data objects
procedure activation
all of these 4

code memory data memory runtime none of these 3


static data area
stack area heap area all of these 4

data structure can


size of data objects
not be created
should be known at
dynamically this recursion procedure
all of these 4
compile time
allocation strategy are not supported by
this allocation strategy
actual parameter register allocation saved machine status access link 2
static link dynamic link null pointer none of these 2
code memory variable subprogram none of these 3
static nesting
current instruction tree(SNT) current environment all of these 2
pointer(CIP) pointer(CEP)
macro extension local function both a & b none of these 1
call by value call by name call by reference all of these 4
program array procedure none of these 2
overloading aliasing caller none of these 2
caller callee call value 1
call by value pass by reference call by address none of these 2
fully dynamic data
parameter passing
allocation call by value call by reference
1
call by name copy restore call by address none of these 2
main procedure a and b none of these 3
main program called procedure a and b none of these 3
actual parameters access link control link return values 2
caller procedure callee procedure both a & b none of these 1
All of the above
Determine the
Get the next
statement
action to be Perform the action 3
executed
1 0 1
above

Translator Interpreter Compiler


2
Commad language Glue language Both None 3
interpreter compiler Both None 1
interpreter compiler Both None 1
1 0 1
less More average None 1
interpreter compiler Both None 1
1 0 1
interpreter compiler Both None 1
Assembler Compiler Linker Loader 1
Macro processor Macro pre-processor Micro pre-processor assembler 2
nature of a data purpose of a data lifetime of a data
structure structure structure
all of the above 4

programming
language dependent.
syntax dependant. machine dependant. data dependant. 3

allocation translation relocation loading 2

places programs into automates the appears to


memory and translation of accepts a program execute a
prepares then for assemble language written in a high level resource as if it
2
execution into machine language and produces were machine
language an object program language

it is necessary to it is very difficult to


retranslate the users handle multiple
a position of memory program check every segments especially if
all of the above 4
is wasted because time it is run the source programs
the case occupied by are in different
the assembler is language and to
unavailable the produce overlay
object program modular programs
assembler compilers interpreter all of these 1
machine code to assembly language to
mnemonics high level language machine language all of the above 3
to assembly level
run time binding late binding both a) & b) early binding 3
translation time execution time both a) & b) none 2
run time bindind both early binding none 3
programmer loader translator all of above 4
binding period binding cycle binding time
none
3

Value. Variables.   Name. Scope. 2

int main void factorial 2


local within the global in multiple programs none of the above 3
function declared
local within the global none of the above 1
function declared in multiple programs
Static scope. Dynamic scope. Both None of these 1
Marks

1
1

1
1
1

1
1
1
1
1
1

1
1
1
1
1

1
1
1
1
1
1
1
1
1
1
1
1

1
1
1
1
1

1
1

1
1

You might also like