VISUAL BASIC 6.0 MCQ-6

Welcome To CSE Study247 , Today I am provide you VISUAL BASIC 6.0 MCQ-6. That is very useful for Computer Science Students.

visual basic mcq questions and answers

Q.1 Variables are used for information to be

  • A) Stored
  • B) Moved
  • C) Created
  • D) All of these

Q.2 Values of constants in the program?

  • A) Change
  • B) Remains same
  • C) Alters
  • D) None of these

Q.3 A variable is defined using

  • A) Dim
  • B) Define
  • C) Light
  • D) None of these

Q.4 In ------ first we execute the true statement, then we check the condition. If the condition is true then it again executes the true statement

  • A) while
  • B) do while
  • C) for
  • D) nested

Q.5 In VB, the ----- first checks the condition; if the condition is true, then it executes the true statement, same as while condition.

  • A) while
  • B) do while
  • C) for loop
  • D) nested

Q.6 From moused-down() procedure is executed when any mouse button is clicked in a free area of

  • A) From
  • B) Window
  • C) Screen
  • D) None of these

Q.7 ------- array size can be changed at run-time.

  • A) Fixed
  • B) Dynamic array
  • C) Multidimensional
  • D) None of these

Q.8 All controls that can work with the data control to access data from a database are called

  • A) Data Bound Access
  • B) Data control
  • C) Data Bound Control
  • D) None of these

Q.9 The process of attaching a data bound control is known as

  • A) Binding
  • B) Data control
  • C) Both A & B
  • D) None of these

Q.10 All the following statements are true about variable scope except

  • A) Local
  • B) Module
  • C) Global
  • D) Static

Q.11 To find the upper and lower limits of array in terms of elements use?

  • A) L trim and R trim function
  • B) L Bound and U Bound function
  • C) Lower val and upper val function
  • D) All of these

Q.12 When the form is first referenced in any manner by program, the triggered event is

  • A) Load
  • B) Initialize
  • C) Activate
  • D) None of these

Q.13 What Properties are required to be specified for a menu item?

  • A) Name
  • B) Caption
  • C) Both A & B
  • D) A or B

Q.14 contains shortcuts to frequently performed actions.

  • A) Context menu
  • B) Menu bar
  • C) Tool bar
  • D) Tool box

Q.15 ----- is an action recognized by a form or the control

  • A) Procedure
  • B) Event
  • C) Method
  • D) None of these

Q.16 The function of ---- is to give a pop-up message to the user.

  • A) msgbox()
  • B) inputbox()
  • C) print
  • D) None of these

Q.17 A control array is a group of controls that share the same name and -----

  • A) Type
  • B) Surname
  • C) Text
  • D) None

Q.18 For displaying error message we use

  • A) Box
  • B) Msg Box
  • C) Display
  • D) None

Q.19 ----- is one of the main building blocks in a VB application.

  • A) Event
  • B) Form
  • C) Procedure
  • D) Method

Q.20 An ----- function will display a message box where the user can enter a value.

  • A) inputbox()
  • B) Print
  • C) msgbox()
  • D) None of these

Related Link

S.NOSETSVISIT
1SET-1Click
2SET-2Click
3SET-3Click
4SET-4Click
5SET-5Click
6SET-6Click
7SET-7Click
8SET-8Click
9SET-9Click
10SET-10Click
Scroll to Top