MCQ Bank
There are ________ built in character types in Ada.
- A) Two
- B) Five
- C) Three
- D) Four
Which of the following is an invalid symbol in LISP?
- A) Test symbol
- B) Testsymbol
- C) Test-symbol
- D) Test_symbol
Ada language supports function overloading based on their:
- A) parameters
- B) return type
- C) running time
- D) characteristics
In the case of Ordinary fixed point type of Ada language, the distance between values is implemented as a power of ______.
- A) 10
- B) 8
- C) 16
- D) 2
Discriminated Records in Ada are like ____________ types in C.
- A) Set
- B) Union
- C) Intersection
- D) Join
Which of the following post-test loop is not supported in Ada language?
- A) ‘do while’ loop
- B) Infinite loop
- C) ‘for’ loop
- D) ‘while’ loop
Generics in Ada language allow parameterization of _____________.
- A) Programs
- B) Subprograms
- C) Objects
- D) Variables
In Ada, the correct way to declare a Boolean type with values of False and True is _____________
- A) type Boolean is (False; True);
- B) type Boolean is (False, True);
- C) type Boolean is (False. True);
- D) type Boolean is (False: True);
In Ada language, ___________ are similar to classes in other languages.
- A) Packages
- B) Abstract Data types
- C) Structures
- D) Controls
We may create our own exceptions in ______.
- A) Ada
- B) C++
- C) C
- D) SNOBOL
Which of the following statement of Ada language is similar to ‘throw’ statement of C++?
- A) disaster
- B) raise
- C) exception
- D) exit
A ‘switch’ statement is C-language is used for decision making. Its alternative in Ada language is:
- A) ‘case’ statement
- B) ‘record’ statement
- C) ‘while’ statement
- D) ‘for’ statement
A ________ is used to signify a potentially infinite loop in Ada.
- A) Special loop
- B) Master loop
- C) Full loop
- D) simple loop
___________ is the Modulus Operator in ADA programming language.
- A) &
- B) Modulu
- C) Mod
- D) %
Ada 95 was the first internationally standardized __________ programming language.
- A) Object-Oriented
- B) Structured
- C) Non-Structured
- D) Logical
In Ada, the example of composite data type is___________ .
- A) integer
- B) char
- C) array
- D) floating
The alternative of ‘structure’ data type in Ada language is:
- A) Record
- B) Array
- C) Class
- D) Union
Which of the following can be used to declare objects in Ada language?
- A) Function
- B) Stack
- C) Array
- D) Tagged type
In LISP, an empty list represented by nil is the same as ________.
- A) <>
- B) ()
- C) {}
- D) 0
__________ language supports creating data types of your own choice.
- A) LISP
- B) PROLOG
- C) FORTRAN
- D) Ada