0

programming languages Online Quiz - 48

Description: programming languages Online Quiz - 48
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. a) A stored procedure on the server

  2. b) A block of code in a PL/SQL library.

  3. e) A local subprogram defined within the program unit ORDERTOTAL

  4. d) A block of code in the body of the program unit ORDERTOTAL


Correct Option: C

Implicit cursors are declared for

  1. Some DML,PL/SQL statements

  2. All DML,PL/SQL statements

  3. Only PL/SQL statements

  4. None of the Above


Correct Option: C

What is the output of the following code in Test class Class Myclass Dim Num as Integer Private Sub New (i as integer) Num=i End sub End class Class Test Sub Main() Dim c as Myclass C=New Myclass (10) End sub End Class

  1. Num variable of Myclass is initialized to 10

  2. Run Time Error

  3. Compiler Error

  4. StackOverflow Exception


Correct Option: C
  1. Using NEW keyword

  2. Using CREATEOBJECT keyword

  3. Using GETOBJECT keyword

  4. Both A & B


Correct Option: A

OPTION exists in VB.NET

  1. True

  2. False


Correct Option: B

Every .NET compliant compiler generates IL:

  1. True

  2. False


Correct Option: B
  1. Casting of variables

  2. Boxing/Unboxing

  3. Structure & Class conversion

  4. Stack & Heap Conversion


Correct Option: B
  1. Using Redim Keyword

  2. Using Preserve Keyword

  3. Using Reserve Keyword

  4. None of the above


Correct Option: B
  1. Assembly’s Identity

  2. Assembly’s Reference List

  3. Both A & B

  4. None of the above


Correct Option: C

Whats the output of following code Class A Public Overridable Sub F() End Sub End Class Class B Inherits A Public Overridable Sub F() End Sub End Class

  1. Runtime Error

  2. Compiler Error

  3. Compiler Throws a warning message

  4. Both A & B


Correct Option: C

How do you preserve the contents of an array from being cleared when the array is redimensioned?

  1. Using Redim Keyword

  2. Using Preserve Keyword

  3. Using Reserve Keyword

  4. None of the above


Correct Option: B
- Hide questions