0
Alien head

programming languages Online Quiz - 105

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

What is the value of the local variable x at the end of main? int x = 5; int main(int argc, char** argv) { int x = x; return 0; }

  1. 0

  2. 5

  3. undefined

  4. 1


Correct Option: C

What is the maximum number of implicitly defined constructors that this struct will have? struct A { A(A& a) { } A(double d) {} int val; };

  1. 0

  2. 1

  3. 2

  4. undefined


Correct Option: A

int main() { int& x[50]; return 0; }

  1. True

  2. False


Correct Option: B

#include const int SIZE = 5; struct tester { int array[SIZE]; enum { SIZE = 3 }; void size() { std::cout << sizeof(array) / sizeof(int); } }; int main(int argc, char** argv) { tester t; t.size(); return 0; }

  1. 5

  2. 3

  3. 0

  4. undefined


Correct Option: D

int x = 5; class x { }; int main(int argc, char** argv) { class x y; return 0; }

  1. True

  2. False


Correct Option: A

const int x = 5; int main(int argc, char** argv) { int x[x]; int y = sizeof(x) / sizeof(int); return 0; }

  1. 0

  2. 5

  3. 20

  4. undefined


Correct Option: B

In Second Generation of Computers which Of the following replaced Vacum Tubes?

  1. Transistors

  2. Registers

  3. Capacitors

  4. Chips


Correct Option: A

In which year did the LOTUS launch its “123” Software Package?

  1. 1983

  2. 1979

  3. 1982

  4. 1977


Correct Option: A

Which among the following was involved in the development of ALGOL and Shortest Path Algorithm?

  1. Charles Babbage

  2. Edsger Wybe Dijkstra

  3. Robert Noyce

  4. Gordon Moore


Correct Option: B

What is the name of the first computer used by the US Government?

  1. APPLE

  2. IBM

  3. UNIVAC

  4. ENIAC


Correct Option: C

What is the name of the First Programmable Computer?

  1. ABACUS

  2. COLOSSUS

  3. Difference Engine

  4. LISA


Correct Option: B

Which of the Folowing is the World’s first available Dyanmic RAM chip?

  1. Intel 1103

  2. SDRAM

  3. Intel 504

  4. DDR


Correct Option: A

Which is the First Ever Computer Game Invented?

  1. Mario

  2. Spartan

  3. Spacewar

  4. Prince of Persia


Correct Option: C

Which is the first successful high level programming language?

  1. C

  2. C++

  3. QBASIC

  4. FORTRAN


Correct Option: D

The Difference Engine was invented by ?

  1. Charles Babbage

  2. J.H. Muller

  3. Bill Gates

  4. Blaise Pascal


Correct Option: A

In 1956 Hard Disk Drives(HDD) were invented by which of the Following?

  1. APPLE

  2. Microsoft

  3. Western Digital

  4. IBM


Correct Option: D

10) The Difference Engine was invented by ?

  1. Charles Babbage

  2. J.H. Muller

  3. Bill Gates

  4. Blaise Pascal


Correct Option: A

9) In 1956 Hard Disk Drives(HDD) were invented by which of the Following?

  1. APPLE

  2. Microsoft

  3. Western Digital

  4. IBM


Correct Option: D

8) In Second Generation of Computers which Of the following replaced Vacum Tubes?

  1. Transistors

  2. Registers

  3. Capacitors

  4. Chips


Correct Option: A

7) In which year did the LOTUS launch its “123” Software Package?

  1. 1983

  2. 1979

  3. 1982

  4. 1977


Correct Option: A
+ View questions