0
Alien head

programming languages Online Quiz - 277

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

C++

  1. No

  2. Case sensitivity is compiler-determined

  3. Yes

  4. None of the Above


Correct Option: C

C++

  1. 28

  2. 9

  3. Any of them could be

  4. None of the Above


Correct Option: A

C++

  1. class aclass : public superclass

  2. class aclass inherit superclass

  3. class aclass

  4. None of the Above


Correct Option: A

C++

  1. Binary Tree

  2. Hash Table

  3. Stack

  4. None of the Above


Correct Option: B

C++

  1. 2

  2. 4

  3. 0

  4. None of the Above


Correct Option: A

C++

  1. 10

  2. 11

  3. 1

  4. None of the Above


Correct Option: B

C++

  1. Copies "This" into an_array

  2. Adds "This" to the end of an_array

  3. Compares an_array and "This"

  4. None of the Above


Correct Option: B

C++

  1. Breaks out of the if statement

  2. Exits the function

  3. Nothing (Compiler error)

  4. None of the Above


Correct Option: C

C++

  1. Yes

  2. No

  3. Only optimized compilers will compile C++ code.

  4. None of the Above


Correct Option: B

C++

  1. 5

  2. 1

  3. 3

  4. None of the Above


Correct Option: A

C++

  1. \0

  2. .

  3. \END

  4. None of the Above


Correct Option: A

C++

  1. 6

  2. 38

  3. An unlimited number

  4. None of the Above


Correct Option: A

C++

  1. 1

  2. 0

  3. Code cannot compile

  4. None of the Above


Correct Option: B

C++

  1. Constructor

  2. Destructor

  3. Constitutor

  4. None of the Above


Correct Option: A

C++

  1. The snippet is illegal

  2. It loops forever

  3. It is ignored by compiler, but it is not illegal

  4. None of the Above


Correct Option: B

C++

  1. True

  2. False

  3. Invalid Statement

  4. None of the Above


Correct Option: A

C++

  1. int main()

  2. int main(int argc, char *argv[])

  3. They both work

  4. None of the Above


Correct Option: C

C++

  1. class aClass{public:int x;};

  2. /* A comment */

  3. char x=12;

  4. None of the Above


Correct Option: A

C++

  1. char *a=new char[20];

  2. char a=new char[20];

  3. char a=new char(20.0);

  4. None of the Above


Correct Option: A

C++

  1. sin()

  2. kbhit()

  3. tmpnam()

  4. None of the Above


Correct Option: B
+ View questions