Visual Basics

Description: here are some question on visual basics
Number of Questions: 25
Created by:
Tags: Visual Basic 6 VB Programming in Visual Basic Application Programming Interface API Windows API DLL Dynamic Link Libraries Programming Computer Hardware
Attempted 0/25 Correct 0 Score 0

Sqr() returns

  1. a string

  2. a variable

  3. square root of a number

  4. square of a number


Correct Option: C

Which procedure does not return a value?

  1. Private procedure

  2. Form procedure

  3. Sub procedure

  4. Property procedure


Correct Option: C

Event is related to

  1. intelligence

  2. request

  3. response

  4. none of these


Correct Option: C

AddItem is the method of

  1. command button

  2. list

  3. image box

  4. label


Correct Option: B

The statements executed before the condition are tested in

  1. Do While……..loop

  2. Do loop While…………

  3. For……….Next loop

  4. For Each …………Next Loop


Correct Option: B

In CmdSave_Click()

  1. CmdSave() is the procedure

  2. CmdSave_Click() is the procedure

  3. Press is an event

  4. None of these


Correct Option: B

The flow of a code can be controlled by

  1. conditional statements

  2. loop structures

  3. methods

  4. procedures


Correct Option: A

A set of instructions that work as a unit is known as

  1. procedure

  2. event

  3. statement

  4. none of these


Correct Option: A

Which of the following procedures returns a value?

  1. Sub procedure

  2. General procedure

  3. Function procedure

  4. Event procedure


Correct Option: C

Function key F5 is used for

  1. debugging

  2. running

  3. exiting

  4. none of the above


Correct Option: B

' indicates the

  1. code line

  2. comment line

  3. loop statement

  4. none of these


Correct Option: B

Which of the following is not a forms method?

  1. Point

  2. Refresh

  3. Pset

  4. Open


Correct Option: D

Which of the following is not a type of a border?

  1. Fixed single

  2. Sizable

  3. Fixed Tool window

  4. Double border


Correct Option: D

For displaying 'code window', use keys

  1. Alt+C

  2. Alt+C+D

  3. Alt+V+C

  4. Ctrl+C+S


Correct Option: C

What event is triggered when a form is resized?

  1. Size

  2. Resize

  3. Sizechange

  4. Resizewindows


Correct Option: B

Which of the following is not a property of Text Box?

  1. Alignment

  2. Appearance

  3. Container

  4. Background colour


Correct Option: D

Which one of the following is not a working mode of Visual Basic?

  1. Help mode

  2. Design mode

  3. Break mode

  4. Run mode


Correct Option: A

Which of the following is the default form which Visual Basic includes initially with any project?

  1. Form10

  2. Forms

  3. Form1

  4. Form0


Correct Option: C

Which of the following properties is used to fill the back ground colour of the form?

  1. Background Color

  2. Back Color

  3. BehindColor

  4. None of these


Correct Option: B

An EXE is created with

  1. project name

  2. form name

  3. control name

  4. event name


Correct Option: A

Which port is the fastest?

  1. Serial

  2. Parallel

  3. PS/2

  4. None of the above


Correct Option: B

Which cable is utilised to get power from main socket?

  1. Power cable

  2. Signal cable

  3. AC cable

  4. None of the above


Correct Option: A

COM port has �

  1. 9 pins

  2. 10 pins

  3. 11 pins

  4. 12 pins


Correct Option: A

Which port is utilised to connect mouse?

  1. COM1

  2. COM2

  3. LPT1

  4. LAN port


Correct Option: A

COM stands for…

  1. Common

  2. Communication

  3. Come

  4. None of the above


Correct Option: B
- Hide questions