Professional Documents
Culture Documents
Insem PPL
Insem PPL
Insem PPL
1
2
3
4
5
6
7
8
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Question
Which of the following is most oriented to scientific programming
Which of the following is an example of problem oriented language
Programming language 'FORTRAN' stands for
High level language is also called
The rules of a language are called its __________.
Syntax of a language is defined by two sets of rules as ___ and ___.
.____________ emphasizes the computation of values by the use of expressions
A strict type system in which one operand type A is allowed to perform operation with
operand with type B.This feature of type system is called _____________.
The type system which gives gurantees of typr safety and not to generate type error is
subtype is nothing but subset of the values to which the type is associated with
Language that support subtypes must define
Which of the following is strict as applied to record type----------
choose the correct property of static type system_______
Using a template
Generic types derived from
A type system in which every object belongs to one and only one type
functions that work uniformly for an infinitenset of types, all of which have some comm
structure
_____the same function name can be used in different contexts to denote different fun
An operation that converts the types of function to the type expected by function
Use of interface in java is______
Which of the following is the operator notations
Which of the following is the type of operator depends on arity of operaror ?
which Conditional statement use in all language
How many types of standard exceptions are in C++
compound statement is nothing but_________
What happens if several handlers match the type of the thrown object?
Choose the correct statement_________.I. The catch must be placed immediately after t
T.II. There must be only one catch handler for every try block.III. There can be multiple
handlers for a try block T.IV. It can have multiple parameters.
What will happen when we move try block far away from catch block?
In C++ which operator is used in catch-all handler?
How many parameters does the throw expression can have?
Most of the programming language support following type of routine______.
Pascal supports following type of routine________.
Option A
FORTRAN
BASIC
formula translator
Problem oriented language
Structure
Lexical rules, semantic rules
Procedural programming
set of facts
Software
EDSAC
File Translation
beginners
Symbolic Data
Integer
int A[3]={1,2,3};
Integer
Dynamic Binding/ late binding
try block
throw
try
throw
Only I
Reduces the amount of code in cache
ellipses operator
1
function
only procedure
Option B
COBOL
PL/1
formula translation
Business oriented language
Code
Semantic rules, symbolic rules
Functional programming
BASIC, the Beginners' All-purpose
Symbolic Instruction Code
imperative language, functional language,
declarative language
FORTRAN
mechanics
Grahambel
Java
C++
Abstraction
Machine learning
rules
set of rules
Hardware
IBM-1401
Format Translation
commercial programs
Alphanumeric Data
Union
int A[3]={123};
Structure
Weak Typing
Weak Typing
:
+=
False
Actual parameters
formal
Global
Int
argument.
Internal variables
Real
Pointers
enumeration
Array (finite mapping)
floating
Class
Array(Finite mapping,Sequence(string))
Real
Integer (Signed integer, Modular integer)
class
The boolean value is evaluated to false
Java
type-safe
Abstract Data Type
type error
integer data type
Data abstraction
Applicaton error
0
0
casting
The type system in which only user
defined data types are allowed.
The value supported is beyond the max
limit
Type equivalence
All of these
Increases the amount of code in cache
ternary operator
2
procedure
Only functions
Option C
BASIC
FORTRAN
free translator
Mathematically oriented language
Syntax
Lexical rules, symbolic rules
Abstract data type programming
termination criterion
Program
CDC-1604
Formula Translation
household user interface
Numeric Data
Character
int A[3]=”123”;
Character
Strong Typing
Strong Typing
-
%=
None of these
Real parameters
compex
Both A & B
real
global values.
External variables
Char
Structure
Subrange
Set (power set)
Both A and B
Structure and Function
Tagged
Both A and B
Floating point
int
errror is raised
VB
code elimination
Built in Data Type
type safety
Negative whole number
implementation of abstract data type
all of these
separation
A type system that guarantees not to generate type errors.
Type conformance
both 1 and 2
subtype agreement
for all operation the type of operands as well as type of result is
clearly mentioned
coercion
call to define members and methods of class
Prefix
n-ary
Both 1 and 2
6
group of statement that executed over and over again
C++
routine
exit
function
I and II
Don’t alter anything
string operator
3
both a and b
Both procedure and functions
Option D
PL/1
All of above
free translation.
All of the above
Rigidity
Lexical rules, syntactic rules
Module based programming
None of above
None of above
COMAL
translator
Steve Jobs
Prolog
Kotlin
Inheritance
all of the above
All of the above
all of these
all of these
all of these
enum
None of these
Ada
Allof These
None of These
all of these
Positive whole number
object oriented
Syntax Error
None of These
None of These
All of these
All of these
assignment compability
all of these
none of these
None of These
None of These
c
loops
None of these
aliasing
all of these
runtime error
finally bock
exception
none of these
throwing
None of these
none of these
None of these
none of these
None of these
none of these
none of these
I and III
None of the mentioned
unary operator
none of thes
Neither procedure nor function is allowed in Pascal
Answer weightage Unit
A 1 Unit1
D 1 Unit1
A 1 Unit1
D 1 Unit1
C 1 Unit1
D 1 Unit1
B 1 Unit1
C 1 Unit1
A 1 Unit1
A 1 Unit1
A Unit1
C 1 Unit1
D 1 Unit1
C 1 Unit1
D 1 Unit1
D 1 Unit1
C 1 Unit1
1
A Unit1
C 1 Unit1
A 1 Unit1
C 1 Unit1
A 1 Unit1
A 1 Unit1
B 1 Unit1
A 1 Unit1
D 1 Unit1
D 1 Unit1
A
1 Unit1
D 1 Unit1
D 1 Unit1
B 1 Unit1
B 1 Unit1
A 1 Unit1
A 1 Unit1
C 1 Unit1
D 1 Unit2
D 1 Unit2
D 1 Unit2
D 1 Unit2
D 1 Unit2
D 1
Unit2
C 1 Unit2
D 1 Unit2
D
1 Unit2
C 1 Unit2
D 1 Unit2
C 1 Unit2
B 1 Unit2
D 1 Unit2
B 1 Unit2
B 1 Unit2
B 1 Unit2
B 1 Unit2
D 1 Unit2
C 1 Unit2
A 1 Unit2
A 1 Unit2
B 1 Unit2
C
1 Unit2
D 1
Unit2
D
1 Unit2
A 1 Unit2
A 1 Unit2
C
1 Unit2
A 1 Unit2
D
1 Unit2
A 1
Unit2
A 1
Unit2
C 1 Unit2
A 1 Unit2
A
1 Unit2
A 1 Unit2
C 1 Unit2
A 1
Unit2
D 1 Unit2
D 1 Unit2
A 1 Unit2
B 1 Unit2
A 1
Unit2
B 1 Unit2
C 1 Unit2
B 1 Unit2
A 1 Unit2
5 1 Unit2
A 1 Unit2
A 1 Unit2
D 1 Unit2
A
1 Unit2
C 1 Unit2
B 1 Unit2
A 1 Unit2
B
1 Unit2
B 1 Unit2
A 1 Unit2
B 1 Unit2
C 1 Unit2
B 1 Unit2
C
1 Unit2
D
1 Unit2
A 1 Unit2
A 1 Unit2
A 1 Unit2
C 1 Unit2
C 1 Unit2