0

programming languages Online Quiz - 263

Description: programming languages Online Quiz - 263
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

What will be the output of the following program : void main() { printf("%d %d %d",5,!5,25-!25); }

  1. 500 100 30 40 4

  2. Run-Time Error

  3. 300 -200 300 10 4

  4. 700 200 300 10 4


Correct Option: C

Map is an interface which extends Collection interface?

  1. True

  2. False


Correct Option: B

ListIterator is an implementation of the Iterator interface. True/False

  1. True

  2. False


Correct Option: B

which of the following is correct?

  1. java.util.Collection

  2. java.lang.Collection

  3. java.util.Collections

  4. java.lang.Collections


Correct Option: A
  1. Stack is a data structure that is based on First-in-First-Out (FIFO) rule

  2. Queues are based on Last-In-First-Out (LIFO) rule

  3. Neither (a) nor (b)

  4. Both (a) and (b)


Correct Option: C

Which of the following are true about Sets?

  1. Sets can contain null elements

  2. Sets can contain duplicate elements

  3. Set can contain atmost only one null element

  4. It contains an iterator() method


Correct Option: C

Which year the LISP language invented ?

  1. 1958

  2. 1968

  3. 1948

  4. 1978


Correct Option: A

Which year the FACT language invented ?

  1. 1959

  2. 1968

  3. 1948

  4. 1978


Correct Option: A

Which year the COBOL language invented ?

  1. 1965

  2. 1953

  3. 1983

  4. 1959


Correct Option: D

Which year the PL/I language invented ?

  1. 1957

  2. 1962

  3. 1963

  4. 1964


Correct Option: D

Which year the Prolog language invented ?

  1. 1965

  2. 1960

  3. 1972

  4. 1970


Correct Option: C
- Hide questions