Home
Current Affairs January 2024

What is the correct answer?

4

_________ and _____________ combines to make a KeyPress event

A. KeyUp, KeyDown

B. KeyEnter, KeyRelease

C. KeyDown, KeyRelease

D. KeyEnter, KeyUp

Correct Answer :

A. KeyUp, KeyDown


Related Questions

What is the correct answer?

4

/*1. Class C
2. public mustinherit sub abc()
3. msgbox("Base Class")
4. end sub
5. end Class /* The error is in line no.

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

If an user-defined class have a user-defined event then, the class object is declared as

A. Dim c as new ClassName

B. Dim withEvents c as new ClassName

C. Dim c as ClassName

D. Dim withEvents c as ClassName

What is the correct answer?

4

To get details about an error use

A. Err.Message

B. Err.Desc

C. Err.Description

D. Err.Number

What is the correct answer?

4

To retrieve the default path of the project use

A. Application.Path

B. Application.DefaultPath

C. Application.StartupPath

D. Application.ProjectPath

What is the correct answer?

4

/*1. Class C
2. public notoverridable sub abc()
3. msgbox("Base Class")
4. end sub
5. end Class /* The Error in Line No.

A. 2

B. 3

C. 4

D. No Error

What is the correct answer?

4

Images can be loaded from

A. Images.FromFile

B. BitMap.FromFile

C. System.FromFile

D. Both a and b

What is the correct answer?

4

To vertically arrange all forms in an MDI form use

A. Me.Layout(MdiLayout.TileVertical)

B. Me.MdiLayout(MdiLayout.TileVertical)

C. Me.LayoutMdi(MdiLayout.TileVertical)

D. Nothing is required because default is Vertical

What is the correct answer?

4

Using OLEDB you can connect more than one table

A. True

B. False

What is the correct answer?

4

To make a button the default button, this property of the form must be set

A. DefaultButton

B. AcceptButton

C. DialogResult

D. None of the above

What is the correct answer?

4

dim arr(10) as string,
the max index of the array is

A. 9

B. 10

C. Can be >10 also

D. None of the above

What is the correct answer?

4

A TreeView can have multiple root nodes

A. True

B. False

What is the correct answer?

4

The Apply button automatically appears of the Font Dialog Box is opened

A. True

B. False

What is the correct answer?

4

In ADODB the _____________ property is used to connect to the table

A. RecordSet

B. DataSource

C. RecordSource

D. Connection

What is the correct answer?

4

In Class, Me.Show and MyClass.Show are same (Show is method name)

A. True

B. False

What is the correct answer?

4

The default event handler of TextBox is

A. KeyPress

B. Changed

C. TextChanged

D. Validating

What is the correct answer?

4

Only derived class can have shadows keyword

A. True

B. False

What is the correct answer?

4

This property of TrackBar is not present

A. TickStyle.Both

B. TickStyle.None

C. TickStyle.TopLeft

D. TickStyle.BottomLeft

What is the correct answer?

4

Use a _________ statement to make Visual Basic object the default object for a set of enclosed Visual Basic statements.

A. With

B. Using

C. Import

D. Inherit

What is the correct answer?

4

The SelectionMode property of a CheckedList Box can be set only to

A. One

B. MultiSimple

C. MultiExtended

D. None of the abvove

What is the correct answer?

4

If you want to open a file named "a.txt" use

A. System.diagnostics.Start("a.txt")

B. System.Start("a.txt")

C. System.diagnostics.Process.Start("a.txt")

D. System.Process.Start("a.txt")

What is the correct answer?

4

PasswordChar property of a TextBox can accept " " (space) as the password char

A. True

B. False

What is the correct answer?

4

A DataSet can hold multiple tables even if there are similar fields

A. True

B. False

What is the correct answer?

4

The name of the IDE window that allows you to see the hierarchical arrangement of the files in your project is

A. Server Explorer

B. Project Explorer

C. Solution Explorer

D. None of the above

What is the correct answer?

4

If a Form is Inherited from another Form and both Forms have certain codes in their respective Form_Load event, then while running the program

A. Only the first Forms code will be executed

B. Only the second Forms code will be executed

C. Both Forms code will be executed

D. None of the above

What is the correct answer?

4

The EventLog's ________ method is used to write an entry to a log file

A. WriteLine

B. WriteEntry

C. Add

D. Append

What is the correct answer?

4

In TreeView to get the node the mouse is pointing to, use

A. GetNode

B. Node

C. GetNodeAt

D. SelectNode

What is the correct answer?

4

To add controls at runtime use

A. Controls.New

B. Controls.AddNew

C. Controls.Add

D. Controls.AddItem

What is the correct answer?

4

_________ actually updates the values in a DataSet permanently

A. OleDataAdapterq1.update(DataSet1,"emp")

B. DataSet1.Merge(DataSet1)

C. DataSet1.AcceptChanges()

D. DataSet1.Update()

What is the correct answer?

4

________ converts to long datatype

A. Clong

B. CLng

C. Lng

D. None of the above

What is the correct answer?

4

Set method is used to

A. Assign a value to an user control

B. Read value from an user control

C. Both of the above