Home
Current Affairs January 2024

What is the correct answer?

4

Say there is a string "Ramcharan"; when someone using Mid() function like MID("Ramcharan",2) then what will be the output:

A. "Ra"

B. "Ch"

C. "Amcharan"

D. None of the above

Correct Answer :

C. "Amcharan"


Related Questions

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

There are _________________ no. of built in windows dialog boxes provided by common dialogs control.

A. 6

B. 7

C. 8

D. 9

What is the correct answer?

4

In database application, any field does not contain any values can be recognized by:

A. Nothing value.

B. Null value.

C. Error value.

D. Empty value.

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

You can get a dropdown list and as well as can add some text directly to ____________ Control.

A. listbox

B. command

C. Combo Box.

D. none of this

What is the correct answer?

4

DocumentForm() it is

A. A function of MDI forms

B. An array of forms using as child into MDIform

C. None of the above

What is the correct answer?

4

Suppose there are two forms; form1 and form2 ; if there are codes like : In form1.active event
Form2.show
And in form2.active event
Form1.show
Then what will be the output ?

A. Two forms will be just showed.

B. Two forms will be showed and the control will passed continuously to each other.

C. Nothing will be displayed

D. None of the above.

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

CommonDialogs control is visible at runtime

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

By default 'Dim myvar' this statement:

A. allocates memory for integer variable

B. allocates memory for variant variable

C. allocates memory for Double variable

D. allocates memory for Boolean variable

What is the correct answer?

4

Sort is a method by which elements can be sorted in flexgrid control

A. True

B. False

What is the correct answer?

4

It is possible to change the shortcut key assigned to any menu for accessing within the menu editor.

A. True

B. False

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

Time() function is used to recover date & time.

A. True

B. False

What is the correct answer?

4

Isnull(), IsEmpty() determines weather any variable has been initialize or not

A. True

B. False

What is the correct answer?

4

In runtime it is not possible to change the form size.

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 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

If you want a list box control with check box option, which property of list box control you will have to change.

A. Check box property

B. Check style property

C. Style property

D. None

What is the correct answer?

4

In visual basic the default unit is :

A. centimeter.

B. Inch.

C. Dpi.

D. Twips .

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

The fundamental property of RichTextBox control is

A. Text property

B. TextRTF property

C. RTFText property

D. All of the above

What is the correct answer?

4

Constants are processed faster than variables :

A. True

B. False

What is the correct answer?

4

The title of the dialog box can be changed.

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

Dialog title property is used to change the title of any dialog box

A. True

B. False

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

The extension name of a Visual Basic form is _____________.

A. .frm

B. .txt

C. .prj

D. .vbp

What is the correct answer?

4

Activate event is called before load event

A. True

B. False