MCQ Bank
User-defined data structures, reference types, and dynamic arrays were the major contributions of _________ language.
- A) ALGOL68
- B) ALGOL
- C) ALGOL60
- D) FORTRAN
Symbolic assembly language and macro assembly were developed in:
- A) 1970’s
- B) 1960’s
- C) 1980’s
- D) 1950’s
In__________, there is no need to declare a variable and it takes the form of assigned value.
- A) C
- B) SNOBOL
- C) Ada
- D) ALGOL
SNOBOL 4 supports _________ types of functions.
- A) Four
- B) Two
- C) Five
- D) Three
The ANSI standard for C++ was first approved in:
- A) May, 1995
- B) November, 1997
- C) August, 1994
- D) January, 1996
Identify the feature which was not available in FORTRAN-IV.
- A) subprograms could also be passed as parameters
- B) logical IF statement
- C) support for structured programming
- D) support for explicit type declarations
Which statement is correct about Table in SNOBOL?
- A) Table is indexed by table name.
- B) Table is indexed by the key.
- C) Table is indexed by number.
- D) Table is indexed by table size.
In SNOBOL, the maximum length of string can be ________ characters.
- A) 5000
- B) 150
- C) 1000
- D) 255
For string manipulation, SNOBOL does not use:
- A) Regular Expressions
- B) Variables
- C) Keywords
- D) Operators
The __________ field is used to alter the flow of control of a SNOBOL program.
- A) GOTO
- B) PASS
- C) STAY
- D) CONTINUE
In SNOBOL, ____________ operator is used to ensure that assignment occurs ONLY if the entire pattern match is successful.
- A) + (plus)
- B) $ (dollar)
- C) - (minus)
- D) . (dot)
Using SNOBOL, the correct way to create a two-dimensional array of 2 x 8 is;
- A) N = ARRAY('2.8')
- B) N = ARRAY('2;8')
- C) N = ARRAY('2:8')
- D) N = ARRAY('2,8')
Which of the following statement is correct about SNOBOL?
- A) Poor Readability Poor Writability
- B) Poor Readability Good Writability
- C) Good Readability Poor Writability
- D) Good Readability Good Writability
One of the significant feature associated with SNOBOL is ________.
- A) Performing arithmetic operation separately
- B) Explicit Variable declaration
- C) Allows String manipulation operation only
- D) Mixing arithmetic and string operations
_________ was the first language to add macro facility in a high-level language.
- A) SNOBOL
- B) LISP
- C) PROLOG
- D) COBOL
______________ provide(s) support for data abstraction in Ada.
- A) If-else structure
- B) Procedure
- C) Packages
- D) Templates
Which of the following operator is used for pattern matching in SNOBOL?
- A) != (Not Equal)
- B) (Space)
- C) . (Dot)
- D) = (Equal)
In SNOBOL, control flow is achieved through the ________________ statement.
- A) Switch
- B) Go to Field
- C) If Else
- D) For Loop
FORTRAN IV was released in _________ and became the most popular language of its time.
- A) 1963
- B) 1961
- C) 1960
- D) 1962
If z = '10' and x = 5 * -z + '10.6' The what would be the resultant value of x in SNOBOL4?
- A) 39.4
- B) -30.0
- C) 30.0
- D) -39.4