0

programming languages Online Quiz - 57

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

Which is not a collection type in VB.Net

  1. Hashtable

  2. ArrayList

  3. Heap

  4. Stack


Correct Option: C

AI Explanation

To answer this question, you need to understand the collection types in VB.Net.

Option A) Hashtable - This option is a collection type in VB.Net. A Hashtable is a collection of key-value pairs.

Option B) ArrayList - This option is a collection type in VB.Net. An ArrayList is a dynamic array that can store any type of data.

Option C) Heap - This option is not a collection type in VB.Net. The heap is a memory structure used for dynamic memory allocation, but it is not a built-in collection type.

Option D) Stack - This option is a collection type in VB.Net. A Stack is a data structure that follows the Last-In-First-Out (LIFO) principle.

The correct answer is C) Heap. This option is not a collection type in VB.Net.

  1. ExecuteNonQuery & ExecuteScalar

  2. ExecuteQuery & ExecuteScalar

  3. ExecuteParameter

  4. None of the above


Correct Option: A

..... table will remove all the rows and data in a table but table structure is not removed whereas in ..... table the entire table is removed and moved to recycle bin.

  1. DROP, DELETE

  2. TRUNCATE, DROP

  3. DROP, TRUNCATE

  4. DELETE, DROP


Correct Option: B

Which of the following is the commonly used command for debugging?

  1. ENDDBG

  2. STRDBG

  3. WRKMBRPDM

  4. WRKSPLF


Correct Option: B

How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?

  1. SFLSIZ > SFLPAG.

  2. SFLSIZ < SFLPAG.

  3. SFLSIZ = SFLPAG.

  4. SFLSIZ <> SFLPAG.


Correct Option: A

How can you identify End of file in CLP program?

  1. ENDPGM

  2. STRPGM

  3. With the help of MONMSG MSGID(CPF0864) we can identify end of file in clp program.

  4. STRDBG


Correct Option: C
  1. It will select only the field on which the keyword is specified.

  2. It will select only one record.

  3. It will avoid to enter duplicate key values.

  4. None of the above.


Correct Option: C
  1. Not vendor dependent

  2. Completely vendor dependent

  3. Partial vendor dependent

  4. None of these


Correct Option: B
  1. Code compiles

  2. If line 1 is removed the code compiles

  3. If line 3 is removed the code compiles

  4. If line 5 is removed the code compiles

  5. If line 1,3 are removed the code compiles

  6. If line 1,3,5 are removed the code compiles


Correct Option: D,F
- Hide questions