programming languages Online Quiz - 111

Description: programming languages Online Quiz - 111
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. infinite loop

  2. Error

  3. This will not go into the loop as TRUE is defined as 0.

  4. 0

Correct Option: C
  1. Two lines with “Cisco Systems” will be printed.

  2. Compile error

  3. run time error

  4. Cisco Systemsn

Correct Option: A

Which of the following correctly describes C++ language?

  1. Statically typed language

  2. Dynamically typed language

  3. Both Statically and dynamically typed language

  4. Type-less language

Correct Option: A

Which of the following language is not supported by C++?

  1. Exception Handling

  2. Reflection

  3. Operator Overloading

  4. Namespaces

Correct Option: B

If X is the name of the class, what is the correct way to declare copy constructor of X?

  1. X(X arg)

  2. X(X* arg)

  3. X(const X* arg)

  4. X(const X& arg)

Correct Option: D
  1. Simple Template Library

  2. Standard Template Library

  3. Static Type Library

  4. Single Type-based Library

Correct Option: B

Which of the following is the most common way of implementing C++?

  1. C++ programs are directly compiled into native code by a compiler

  2. C++ programs are first compiled to intermediate code by a compiler and then executed by a virtual machine

  3. C++ programs are interpreted by an interpreter

  4. A C++ editor directly compiles and executes the program

Correct Option: A
  1. ‘self’ pointer

  2. std::auto_ptr pointer

  3. ‘Myself’ pointer

  4. ‘this’ pointer

Correct Option: D
  1. = (assignment operator)

  2. == (equality operator)

  3. –> (row operator)

  4. :: (scope resolution operator)

Correct Option: D
  1. input type="submit" name="s1" value="press"/>

  2. none

Correct Option: C

We have following break line tag is used in all browser

  1. tag works in all browsers

  2. is recommended now.

  3. tag not supported for IE, Mazola etc. works in all browsers

  4. is more will outdated

Correct Option: A,B
  1. .

    Welcome to r4r

  2. .

    Welcome to r4r

  3. .

    Welcome to r4r

  4. .

    Welcome to r4r

Correct Option: B,D
  1. HTML allow images and objects to be embedded on web page to create interactive forms by using some script

  2. .HTML allow images and objects to be embedded on web page to create interactive forms by using tags.

  3. Both of the above

  4. None

Correct Option: B

The file attribute is used when we have to include the within same directory. When we have in different directory then we use attribute in server side include tag?

  1. True

  2. False

Correct Option: A
- Hide questions