Principles of Programming Languages Mid - I, September - 2014
1.Which of the following is true about system software?
-
The operating system and are programming support tools of a computer systems are collectively known as its system software.
-
The operating system and the hardware tools of computer systems are called as system software.
-
The operating system and the macro instruction interpreter collectively is known as system software.
-
System software is same as application software.
-
Answer: A
2.________is developed by Netscape for use in both web server and browsers.
-
Java script
-
HTML
-
AWK
-
PHP
-
Answer: A
3.C was developed by
-
Pascal
-
D.Ritchie
-
N .Writh
-
A.Kay
-
Answer: B
4.The first high level language to include pointer variables was
-
Algol-60
-
Ada
-
PL/1
-
Fortran
-
Answer: C
5.FORTRAN uses ______ statement to select more than one statement under IF with -ve condition.
-
IF
-
While
-
GOTO
-
FOR
-
Answer: C
6._________ language does not support pointer concept.
-
C
-
C++
-
Java
-
Fortran
-
Answer: C
7.Which of the following gather the characters of the source program into lexical units?
-
Lexical analyzer
-
Syntax analyzer
-
Parse tree
-
Code generator
-
Answer: A
8.The type of the operator ?: is ____.
-
Unary
-
not an operator
-
ternary
-
binary
-
Answer: C
9.COBOL means _______
-
Common Bus Oriented Language
-
Common Business Oriented level
-
Common Business Object Language
-
Common Business Oriented Language
-
Answer: D
10.The parameters in the sub program header are
-
Formal
-
Actual
-
Positional
-
Keyword
-
Answer: A
11.IPL stands for _____________
Answer: Information Processing Language
12.The first widely used programming language developed for AI applications was the_____________.
Answer: LISP
13.____________ in a programming language means that a relatively small set of primitive constructs can be combined in no. of ways to build the control and data structures of the language.
Answer: Orthogonality
14.The _______________ is the least restrictive pre condition that will guarantee the validity of the associated post condition.
Answer: Weakest precondition
15.Bottom-up parsers are often called _________.
Answer: Shift-reduce algorithms
16.A ___________ has two operands and one relational operator.
Answer: Relational expression
17.A/An __________ is one that causes a statement (or) collection of statements to be executed zero, one (or) more times.
Answer: Iterative statement
18.The _______________ of a subprogram is the no, order and types of its formal parameters.
Answer: Parameter profile
19.The static link is sometimes called as _____________.
Answer: Static scope pointer
20.CGI stands for___________________.
Answer: Common Gateway Interface