Home
Current Affairs January 2024

What is the correct answer?

4

Data1.Recordset.FindFirst "State=NY"
The above code will find the record in a given database

A. Find the first record in the given database

B. Find the first record in the given database in which the state is NY.

C. The above command will find a record very fast where the state is NY

D. None of the above

Correct Answer :

B. Find the first record in the given database in which the state is NY.


Related Questions

What is the correct answer?

4

To add the commondialog control to any project one has to include it from

A. File menu->component->Microsoft Common Dialog Control 6.0

B. Project menu->Component-> Microsoft Common Dialog Control 6.0

C. Component menu->project-> Microsoft Common Dialog Control 6.0

D. None of the above

What is the correct answer?

4

The full form of IIS is :

A. Indian Institute of Science.

B. Internet Information Service

C. Industrial Information Services.

What is the correct answer?

4

It is possible to declare 'Dynamic Array' in visual basic.

A. True

B. False

What is the correct answer?

4

cell alignment property can be used to align the cells with different alignment style

A. True

B. False

What is the correct answer?

4

The default startup object can not be changed in a project

A. True

B. False

What is the correct answer?

4

To break a loop abnormally when satisfying a condition, we can use

A. Break statement

B. Exit statement

C. Both i & ii could be used.

D. None of the above.

What is the correct answer?

4

List count property returns total number of items in list box control.

A. True

B. False

What is the correct answer?

4

Terminate is a valid event in form operation

A. True

B. False

What is the correct answer?

4

Visual Basic has ____________ number of editions

A. 3

B. 4

C. 5

D. 6

What is the correct answer?

4

In form load event, if the following code is written then guess what will be the output :
Dim I as integer, J as integer
I=0
J=5
While I<J
Print I
I=I+1
Wend

A. output will be 0 1 2 3 4

B. No output, blank form will be shown

C. Compiler error

D. None

What is the correct answer?

4

Delete method of the recordset of Data Control or Data Access Object is delete the record which is pointed out by the record pointer.

A. True

B. False

What is the correct answer?

4

The project extension name of a VB project is .vbj

A. True

B. False

What is the correct answer?

4

To draw a form on the screen which event is being called up

A. Draw Event

B. Load Event

C. Paint Event

D. Either i or iii

What is the correct answer?

4

You can get the ASCII value of any character or number by using

A. ASC() function

B. ASCII() function

C. There is no function to get the ascii value.

What is the correct answer?

4

Data1.Recordset.FindFirst "State=NY"
The above code will find the record in a given database

A. Find the first record in the given database

B. Find the first record in the given database in which the state is NY.

C. The above command will find a record very fast where the state is NY

D. None of the above

What is the correct answer?

4

When someone uses the code like list1.list(1); then it will return the first item of the list box control.

A. True

B. False

What is the correct answer?

4

The other Single Document Interface forms are by default child of MDI form when MDI form is inserted.

A. True

B. False

What is the correct answer?

4

CommonDialogs control is visible at runtime

A. True

B. False

What is the correct answer?

4

To get the property window in visual basic you have to press

A. F6

B. F3

C. F4

D. F5

What is the correct answer?

4

One can change or read the alignment of one or more paragraph of rich text box control through

A. Text Alignment property

B. AlignmentSet property

C. SelAlignment property

D. None

What is the correct answer?

4

It is possible to build an application without using any form:

A. True

B. False

What is the correct answer?

4

Flag property is used to adjust the function of each common dialog box

A. True

B. False

What is the correct answer?

4

A single function of visual basic takes:

A. Fixed number of parameters

B. Unlimited number of parameters

C. All of the above

D. None of the above

What is the correct answer?

4

Now() function will return the current drive and directory you are working on as return value.

A. True

B. False

What is the correct answer?

4

When using do loop-while statement then the statements within the loop body will be executed only once if the condition does not fulfilled

A. True

B. False

What is the correct answer?

4

Print' statement can be used to print any statement on the screen.

A. True

B. False

What is the correct answer?

4

Time variable is used to store date and time in visual basic

A. True

B. False

What is the correct answer?

4

Sorted property of list box control is a design time property and cannot be changed in runtime.

A. True

B. False

What is the correct answer?

4

What is the default value of MaxLength property of text box control?

A. 255 characters

B. 10 characters

C. 0 characters

D. Any of the above

What is the correct answer?

4

In a programme body :
Private sub form_load()
X=inputbox("First No. :")
Y=inputbox("Second No. :")
Z=val(X) +val(Y)
Print Z
End sub
What will be the output ?

A. The summation of two numbers given in two input box

B. It will show the numbers given in the input box side by side

C. It will show nothing

D. None of the above