Q.35 What would the program print if Scheme used dynamic scope and shallow binding?
(a) 8 (b) 9 (c) 10 (d) none of the above
Q.36 What would be the program print if scheme used dynamic scope and deep binding?
(a) 8 (b) 9 (c) 10 (d) none of the above
Q.37 The fact that the program contains two variables named n is an example of
(a)Overloading (b)Aliasing (c)Both (d)neither
Q.38 What would happen (in real scheme) if we reversed the order of the two definitions in the let block?
(a)Nothing: the program would behave the same
(b)The output would change,because f would capture a different n
(c)The interpreter would complain that n is being used before it is declared
(d) The interpreter would complain that the meaning of n is ambiguous
Q.39 Which of the following is not an example of a high-level programming language?
(a)Machine language
(c)Assembly language
(b) High level language
(d)Natural language
Q.40 Which of the following is not an example of a high-level programming language? (a)C++ (b)PASCAL (c)Babbage (d)BASIC Q.41 First high level language to be implemented on personal computers
(a)FORTRAN (b)BASIC (c)PASCAL
Q. 42 Hungarian Notation is used to
(a) Design system manual
(b) Design user manual
(c) Define name of the variable depending on its use and data type
(d) All
Q. 43 Java is a
(a) Machine level language (b)Middle level language
(c) High level language (d)None
(d)B and C
Q. 44 SNOBOL is mainly used for
(a) List operations
(c) Numerical operations
(b)Text Operation
(d)None
Q. 45 Which of the following is not case sensitive language?
(a) C (b) Java (c) C++
Q.46 FORTRAN is a
(a) General purpose and procedural language
(b) Imperative programming language
(c) Both A and B (d) None
(d) None
Q. 47 An assembly language consists of following which type of instructions.
(a) Mnemonics
Q.48 'C' is a
(a) Assembly language
(b) Opcodes (c) Operands
(b)Middle level language
(d) Fields
(c) High level language (d)None
Q. 49 Structured programming languages are also known as
(a) Modular (b) Case sensitive (c) Pseudocode (d) Object oriented language
Q. 50 Which of the following is a case sensitive language?
(a) C++ (b)Pascal (c) BASIC (d)All
Q.51 Which of the following factors should be considered while selecting a programming language for
application development?
(a) Nature of the application (b) Ease of learning the language
language
(b)Familiarity with the
(d) All
Q.52Which of the following is best suited for system-level programming (a) BASIC (b) C (c) FORTRAN (d) none Q. 53 Java compiler produces
(a) Byte code (b) Object code (c) Executable code (d) None
Q.54 Which of the following languages are difficult to modify
(a) Machine level language
(c) Assembly level language
(b) High level language
(d) None
Q. 55 Variables created in MATLAB can be seen in _
(a) Command Window (b) Command History (c) Workspace
Q 56 ll variables created can be saved using command
(d) Current Directory
(a) Save (b) Load (c) log (d) None
Q. 57 What is right way to create a 3x3 matrix A?
(a) Matrix(A,3,3)
(c) A[123,123,123]
(b) A(3,3)
(d) A[123; 123; 123]
Q. 58 Transpose of matrix A can be calculated by:
(a) A' (b) inv(A) (c) A"
Q. 59 A trigonometric operation 'sin(A)' on matrix A will affect
(a) First row elements of A (b) First column elements of A (c) All elements of A. (d) First and Last element of A
Q. 60 "log2' function is used for
(a) Calculating logarithm of two numbers
(b) Calculate log to the base 2
(c) Calculate log of 2 with given no as base
(d) None
(d) Trans(A)
Q.61 The tool used by a programmer to convert a source program to a machine language object module is a
(a) Compiler
(c) Linker
ANSWER KEY
(b)Language translator
(d)Preprocessor
-
QUE
NO
|
ANS
|
QUE
NO
|
ANS
|
QUE
NO
|
ANS
|
QUE
NO
|
ANS
|
QUE
NO
|
ANS
|
QUE
NO
|
ANS
|
1
|
C
|
11
|
D
|
21
|
C
|
31
|
E
|
41
|
A
|
51
|
D
|
2
|
D
|
12
|
B
|
22
|
A
|
32
|
A
|
42
|
A
|
52
|
B
|
3
|
B
|
13
|
D
|
23
|
A
|
33
|
B
|
43
|
C
|
53
|
A
|
4
|
C
|
14
|
C
|
24
|
D
|
34
|
B
|
44
|
D
|
54
|
A
|
5
|
B
|
15
|
A
|
25
|
F
|
35
|
C
|
45
|
B
|
55
|
C
|
6
|
D
|
16
|
A
|
26
|
E
|
36
|
B
|
46
|
C
|
56
|
A
|
7
|
C
|
17
|
A
|
27
|
D
|
37
|
D
|
47
|
A
|
57
|
D
|
8
|
C
|
18
|
D
|
28
|
A
|
38
|
A
|
48
|
C
|
58
|
A
|
9
|
D
|
19
|
A
|
29
|
C
|
39
|
D
|
49
|
A
|
59
|
C
|
10
|
C
|
20
|
A
|
30
|
B
|
40
|
C
|
50
|
D
|
60
|
B
|
|
|
|
|
|
|
|
|
|
|
61
|
A
| Share with your friends: |