0

programming languages Online Quiz - 58

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

What is the primary interface that a tester uses to create test cases, organize test plans, track test results, and file bugs when defects are found?

  1. Microsoft Test Manager 2010

  2. Microsoft Lab Manager 2010

  3. Microsoft Test Runner 2010

  4. Visual Studio 2010 Ultimate


Correct Option: A
  1. Fast Forwarding of Test case steps

  2. Manual Test Case Recording

  3. Scheduling the test case runs

  4. Tracking the test cases

  5. All of the above


Correct Option: C

TFS reports can be accessed via

  1. SQL Server Reporting Services

  2. SharePoint Project Portal

  3. Team Explorer

  4. All of the above


Correct Option: D

Testing check-ins before building can be achieved through

  1. Incremental Check-ins

  2. Test driven development

  3. Gated Check-ins

  4. Continuous integration


Correct Option: C

To increase size of a Table Type Collection/Varrays, use ...

  1. EXISTS(n)

  2. EXTEND(n)

  3. LIMIT(n)

  4. SIZE(n)


Correct Option: B

Procedure MUST have IN/OUT parameters.

  1. True

  2. False


Correct Option: B

If a Procedure/Package code is getting compiled in the database for the first time and we receive compilation time error, the procedure/package still gets stored in the database. The previous statement is TRUE/FALSE?

  1. True

  2. False


Correct Option: A

VbOk,VbCancel,VbAbort are all the enumerated members of

  1. MsgboxStyle Enumeration

  2. MsgboxResult Enumeration

  3. CompareMethod Enumeration

  4. None of the above


Correct Option: B

Which method of VB.NET implements the same functionality of Destructor of C#

  1. Dispose

  2. Close

  3. Finalize

  4. None of the above


Correct Option: C

VbOk,VbCancel,VbAbort are all the enumerated members of

  1. MsgboxStyle Enumeration

  2. MsgboxResult Enumeration

  3. CompareMethod Enumeration

  4. None of the above


Correct Option: B

By default VB.NET delegate refers

  1. Shared Methods

  2. Instance Methods

  3. Both A & B

  4. None of the above


Correct Option: C

which program will you use to assemble a program written in IL:

  1. ilasm

  2. ildasm

  3. clr

  4. None of the above


Correct Option: A

What is the output of the messagebox function in following code Class Test Dim A, B, C as Byte, Sub Main() A=200 B=100 C=A+B Console.WriteLine ( C ) End sub End Class

  1. Prints 300 as the output

  2. Prints “C”

  3. Compiler Error

  4. RunTime Error


Correct Option: D

How do you Dereference an Object in VB.NET

  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

Which control should not be used for adding Tool tip?

  1. ToolTip

  2. TipWin

  3. ToolTipWin

  4. ToolsTips

  5. B,C & D


Correct Option: E

Append,Binary,Input are all the enumerated members of

  1. OpenMode Enumeration

  2. OpenAccess Enumeration

  3. OpenShare Enumeration

  4. None of the above


Correct Option: A

My.Application.Log.WriteEntry , by default , writes to the file:

  1. assemblyname.log

  2. Applog.Log

  3. Application.Log

  4. None of the above


Correct Option: A

A ‘Queue’ Collection provides ‘first-in-first-out’ functionality:

  1. True

  2. False


Correct Option: B
  1. System.Threading

  2. System.IO

  3. System.Diagnostics

  4. System.XML


Correct Option: C

Which of the following can be used to run other application or batch file from VB.Net

  1. System.Diagnostics.Process

  2. System.App.Run

  3. System.Diagnostics.Run

  4. System.Fileapp.Execute


Correct Option: A

AI Explanation

To answer this question, you need to understand how to run other applications or batch files from VB.Net.

Option A) System.Diagnostics.Process - This option is correct because the System.Diagnostics.Process class in VB.Net provides functionality to start other applications or batch files. You can use the Start method of the Process class to run an executable file or a batch file.

Option B) System.App.Run - This option is incorrect because there is no System.App.Run class or method in VB.Net.

Option C) System.Diagnostics.Run - This option is incorrect because there is no System.Diagnostics.Run class or method in VB.Net.

Option D) System.Fileapp.Execute - This option is incorrect because there is no System.Fileapp.Execute class or method in VB.Net.

The correct answer is A) System.Diagnostics.Process. This option is correct because the Process class in VB.Net can be used to run other applications or batch files.

- Hide questions