Visual Basic 6 Fundamentals

Test your knowledge of Visual Basic 6 programming basics including forms, modules, datatypes, variables, and IDE components.

17 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

'To' keyword is used in declaration of

  1. array
  2. constant
  3. integer
  4. double
Question 2 Multiple Choice (Single Answer)

CLS is an extension of

  1. class module
  2. form module
  3. standard module
  4. code module
Question 3 Multiple Choice (Single Answer)

String concatenation operator is

  1. str1+str2
  2. str1 ^ str2
  3. str1&str2
  4. none of these
Question 4 Multiple Choice (Single Answer)

Datatype is

  1. a field that determines what kind of data it can hold
  2. a large number
  3. a constant that determines what kind of data it can hold
  4. none of these
Question 5 Multiple Choice (Single Answer)

What is the basic building block of a Visual Basic application?

  1. Menu
  2. Form
  3. Tool bar
  4. File
Question 6 Multiple Choice (Single Answer)

A variable is made available throughout the program by using the keyword

  1. private
  2. public
  3. static
  4. dim
Question 7 Multiple Choice (Single Answer)

Displays a list of all forms making up your application

  1. Menu bar
  2. Project Explorer Window
  3. Tool box
  4. None of these
Question 8 Multiple Choice (Single Answer)

Standard module contains extension

  1. .EXE
  2. .BAS
  3. .VBP
  4. .DOC
Question 9 Multiple Choice (Single Answer)

Which of the following provides the quick access to commonly used commands in the programming environment?

  1. Tool bar
  2. Tool box
  3. Form designer
  4. Property window
Question 10 Multiple Choice (Single Answer)

An user interacts with

  1. database
  2. information
  3. visual basic front end
  4. none of these
Question 11 Multiple Choice (Single Answer)

Visual Basic is

  1. database
  2. visual programming language
  3. operating system
  4. visual art
Question 12 Multiple Choice (Single Answer)

Property Window is displayed by

  1. F5
  2. Alt+V+C
  3. both (1) and (2)
  4. F4
Question 13 Multiple Choice (Single Answer)

Which of the following is not controlled by Tool Box?

  1. Command button
  2. Text box
  3. Option button
  4. None of these
Question 14 Multiple Choice (Single Answer)

'Byt' is the prefix for the datatype

  1. byte
  2. integer
  3. long
  4. none of these
Question 15 Multiple Choice (Single Answer)

'Dim' is used for

  1. declaring a variable
  2. declaring an event
  3. naming convention
  4. none of the above
Question 16 Multiple Choice (Single Answer)

Default datatype of visual basic is

  1. boolean
  2. integer
  3. string
  4. variant
Question 17 Multiple Choice (Single Answer)

Module includes

  1. general procedures
  2. variable declarations
  3. constant definitions
  4. all of these