MCQ Bank
If we have two spaces in SNOBOL the first is used for ________and the second one for________.
- A) as a whole assignment , immediate assignment.
- B) immediate assignment , replacement
- C) concatenation , pattern matching
- D) pattern matching , concatenation
Pascal language was popular in colleges and universities to teach:
- A) Scripting
- B) Object Oriented Programming
- C) Business Programming
- D) Structured Programming
what will be the resulting value of y in the following SNOBOL statement y = 2 ** 3.
- A) 8
- B) 5
- C) 9
- D) 6
In FORTRAN _____ independent compilation was not supported.
- A) I
- B) 77
- C) IV
- D) 90
Binary operator in SONOBOL must has at least ________ space(s) on both sides.
- A) Three
- B) Single
- C) Four
- D) Two
What would be the output of following SNOBOL4 code? P = ('A' | 'B' | 'C' | 'D') $ V 'ZAIN' P OUTPUT = V
- A) I
- B) N
- C) A
- D) Z
The major issue with _______________ was that the developers had no or limited experience in software development.
- A) C++
- B) C#
- C) SNOBOL
- D) Java
Using SNOBOL, the correct way to create a one-dimensional array of 7 elements with the lower index being 2 and the upper index being 8.
- A) X = ARRAY(‘2;8’)
- B) X = ARRAY(‘2.8’)
- C) X = ARRAY(‘2:8’)
- D) X = ARRAY(‘2,8’)
The ability to create dynamic HTML documents was the primary objective of:
- A) Ada
- B) Java
- C) SNOBOL
- D) JavaScript
In SNOBOL, ______ acts as operator for string concatenation
- A) Space
- B) _
- C) *
- D)
Using SNOBOL, the correct way to create a dynamic array (i.e. takes its size at run time from user) is;
- A) V = Array (Dynamic)
- B) V = Array (Input)
- C) V = Array (Runtime)
- D) V = Array (Output)
The first high level language was____________
- A) Ada
- B) Plankalkül
- C) FORTRAN
- D) SNOBOL
Binary operator in SONOBOL must has at least ________ space(s) on both sides.
- A) Four
- B) Three
- C) Single
- D) Two
Which of the following language had great influence on modern high level programming languages like C?
- A) COBOL
- B) Lisp
- C) FORTRAN I
- D) ALGOL68
Which statement is correct about Table in SNOBOL?
- A) Table is indexed by table name.
- B) Table is indexed by table size.
- C) Table is indexed by the key.
- D) Table is indexed by number.
One of the significant feature associated with SNOBOL is ________.
- A) Allows String manipulation operation only
- B) Explicit Variable declaration
- C) Mixing arithmetic and string operations
- D) Performing arithmetic operation separately
For string manipulation, SNOBOL does not use:
- A) Regular Expressions
- B) Keywords
- C) Operators
- D) Variables
The ANSI standard for C++ was first approved in:
- A) August, 1994
- B) November, 1997
- C) January, 1996
- D) May, 1995
FORTRAN IV was released in _________ and became the most popular language of its time.
- A) 1963
- B) 1961
- C) 1962
- D) 1960
______________ provide(s) support for data abstraction in Ada.
- A) Packages
- B) Procedure
- C) Templates
- D) If-else structure