0

programming languages Online Quiz - 304

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

The file extension associated with Websrvice pages in Asp.net is _____.

  1. .aspx

  2. .ascx

  3. .asmx

  4. .ashx


Correct Option: C

A factor in selection of source language is

  1. Programme Skill

  2. Language Availability

  3. Programme capability with other software.

  4. All of the above


Correct Option: D

What is the name given to first generation computer language.

  1. Binary Language

  2. Machine Language

  3. Primary Language

  4. Assembly Language


Correct Option: B

Which are not provided in C

  1. Test and Loops

  2. Grouping and Subprograms

  3. Synchronization and parallel operations

  4. All of the above


Correct Option: C
  1. Business

  2. Scientific

  3. Simulation

  4. All of the above


Correct Option: A

What does PROC APPEND do?

  1. appends records anywhere in base dataset

  2. appends records at the start of the base dataset

  3. appends records at the start from the base dataset

  4. appends records at the end of base dataset


Correct Option: D
  1. Describes the structure of the data set

  2. To find variable datatypes

  3. To find unique values

  4. To find total number of obeservations


Correct Option: A,B
  1. proc Report

  2. proc Display

  3. proc GPLOT

  4. proc Print

  5. proc Forms


Correct Option: A,D,E

public class test { public static void main(String [] args) { int x = 5; test t = new test(); t.doStuff(x); System.out.print("main x = " + x); } void doStuff(int x) { System.out.print("doStuff x = " + x++); } } What is the result?

  1. doStuff x = 6 main x = 6

  2. doStuff x = 5 main x = 6

  3. doStuff x = 5 main x = 5

  4. Compilation fails


Correct Option: C

public static void main(String[] args) { String str = "null"; if (str == null) { System.out.println("null"); } else (str.length() == 0) { System.out.println("zero"); } else { System.out.println("some"); } } What is the result?

  1. null

  2. zero

  3. some

  4. Compilation fails


Correct Option: D

Choose the correct statement:

  1. A final method in class X can be abstract if and only if X is abstract.

  2. A private static method can be called only within other static methods in class X.

  3. A protected method in class X can be overridden by any subclass of X.

  4. A non-static public final method in class X can be overridden in any subclass of X.


Correct Option: C
  1. Encapuslation

  2. Abstraction

  3. Information Hiding

  4. Polymorphism


Correct Option: B
  1. Virtual functions

  2. Inline functions

  3. Static functions

  4. Friend functions


Correct Option: B

__________ pointer is a type of pointer of any data type and generally takes a value as zero

  1. Vptr

  2. Void

  3. Null

  4. Zero


Correct Option: C

Types of Storage Class Variables

  1. Automatic

  2. Global

  3. Static

  4. External


Correct Option: A,C,D

The static member functions have a class scope and they have access to the 'this' pointer of the class.

  1. True

  2. False


Correct Option: B
  1. Operator overloading

  2. Virtual functions

  3. Virtual base class

  4. Function overloading


Correct Option: A,B,D
- Hide questions