Home
Current Affairs January 2024

What is the correct answer?

4

What cannot be done if the table has no primary key

A. Insert and Update

B. Update and Delete

C. Select and Delete

D. Insert and Select

Correct Answer :

B. Update and Delete


Related Questions

What is the correct answer?

4

If MustOverride is used then ____________ is also a must.

A. Overridable

B. Inherits

C. MustInherit

D. None of the above

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

VB.NET supports Multi Level Inheritance

A. True

B. False

What is the correct answer?

4

The default Tab of a Tab Control is

A. The first tab

B. The last tab added

C. The last tab modified

D. There is no default tab.

What is the correct answer?

4

Get method is used to

A. Assign a value to an user control

B. Read value from an user control

C. Both of the above

D. None of the above

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

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

_________ 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

/*1. OleDataAdapterq1.update(DataSet1,"emp")
2. OleDataAdapterq1.update(DataSet1,"std")
3. DataSet1.Merge(DataSet1)
4. DataSet1.AcceptChanges()
/* The error is in line

A. 2

B. 4

C. 3

D. No Error

What is the correct answer?

4

In ListView the item that is currently selected is determined by

A. SelectedItem

B. Item

C. FocussedItem

D. GetSelected

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

If a Class in inherited, its constructor is inherited automatically and it is fired automatically

A. True

B. False

What is the correct answer?

4

A TreeView can have multiple root nodes

A. True

B. False

What is the correct answer?

4

___________ is used to pass copies of a variable while __________ is used to pass address of a variable.

A. Byval, Byref

B. Byref, Byval

C. Any one of the above

D. None of the above

What is the correct answer?

4

For the same class "Me" and MyBase" are same

A. True

B. False

What is the correct answer?

4

If a button click event is to be fired when the user press the 'Esc' key, set the buttons name against forms _________ property

A. DefaultButton

B. AcceptButton

C. DialogResult

D. CancelButton

What is the correct answer?

4

Using ADODB multiple tables can be connected at a time

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

A user wants that custom colors are visible when the Color Dialog Box is first Opened. What should he do?

A. Set AllowFullOpen to True

B. Set AnyColor to True

C. Set Open to True

D. Set FullOpen to True

What is the correct answer?

4

InputBox by default returns ________ values

A. Integer

B. Byte

C. Double

D. String

What is the correct answer?

4

The default location of the exe file of your solution is

A. ..../Project folder name

B. .../Project folder name/Bin

C. .../Project folder name/Debug

D. .../Project folder name/Debug/Bin

What is the correct answer?

4

When a project is Built it creates a _______ and ________ file under Bin directory

A. .exe, .sln

B. .exe, .dll

C. .dll, .sln

D. .exe, .ocx

What is the correct answer?

4

Two commands can be written in the same line using

A. :

B. ;

C. ,

D. .

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

This view pops up if "Ctrl+F1" is pressed

A. Help

B. Properties Window

C. Dynamic Help

D. Server Explorer

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

What is the correct answer?

4

A form can have only ______ Main Menu and _________ Context Menu

A. 1,1

B. 1,Multiple

C. Multiple,1

D. 1,2

What is the correct answer?

4

Function abc() As String
Return 10
End Function

A. Will produce compilation error

B. Will produce runtime error

C. The function will execute normally

D. None of the above

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

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