0

programming languages Online Quiz - 153

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

dual main is possible

  1. True

  2. False


Correct Option: A
  1. ReadAllLine()

  2. ReadAllBytes()

  3. ReadAllTexts()

  4. WriteAllLine()

  5. WriteAllTexts()


Correct Option: B

What compiler option would you use for dynamic linking?

  1. DYNAM

  2. DYN

  3. DYNA

  4. None of the above


Correct Option: A

Default compiler options with respect to subscript out of range checking.

  1. SSRANGE

  2. NOSSRANGE

  3. RANGE

  4. None of the above


Correct Option: B

01 ws-var1 pic 9(9).99. 01 ws-var2 pic 9(9)v99 value 10. move zeros to ws-var1. compute ws-var1 = ws-var1 + ws-var2. What would be the value of ws-var1.

  1. 10

  2. 10.00

  3. 10.0

  4. None of the above


Correct Option: D
  1. a not = b and a not = c

  2. a not =b or a not = c

  3. Error in syntax

  4. None of the bove


Correct Option: A

How many bytes does a S9(7) COMP-3 field occupy ?

  1. 4

  2. 3

  3. 2

  4. None of the above


Correct Option: A

What is the maximum length of a field you can define using COMP-3?

  1. S9(18) COMP-3

  2. S9(20) COMP-3

  3. S9(80) COMP-3

  4. None of the above


Correct Option: A

What is COMP-1?

  1. Single precision floating point. Uses 4 bytes.

  2. Double precision floating point. Uses 8 bytes.

  3. Double precision floating point. Uses 4 bytes.

  4. None of the above


Correct Option: A

which one of the following is a scope terminator?

  1. end-evaluate

  2. exit

  3. continue

  4. None of the above


Correct Option: A

Which is the base class for All built in Controls?

  1. User Control

  2. Custom Control

  3. Control

  4. Activex Control


Correct Option: C
  1. By setting the object to Null

  2. By setting the object to Nothing

  3. With Close keyword

  4. None of the above


Correct Option: B
  1. ExecuteNonQuery & ExecuteScalar

  2. ExecuteQuery & ExecuteScalar

  3. ExecuteParameter

  4. None


Correct Option: A

Which is not a collection type in VB.Net

  1. Hashtable

  2. ArrayList

  3. Heap

  4. Stack


Correct Option: C

You are working on a debug build of an application. You need to find the line of code that caused an exception to be thrown. Which property of the Exception class should you use to achieve this goal?

  1. Data

  2. Message

  3. StackTrace

  4. Source


Correct Option: C

You need to identify a type that meets the following criteria Is always a number Is not greater than 65,535. Which type should you choose?

  1. System.UInt16

  2. int

  3. System.String

  4. System.IntPtr


Correct Option: A
  1. RaiseEvent keyword

  2. TriggerEvent keyword

  3. AddEvent Keyword

  4. None


Correct Option: A
- Hide questions