Visual Basic
Quiz
•
Education
•
University
•
Hard
Dr Tandan
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Who developed Visual Basic?
a) Symantec
b) Ashton-Tate
c) Microsoft
d) Sybase
Answer explanation
Explanation: Visual Basic is a programming language and environment developed by Microsoft. Visual Basic first version was published in 1991.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is used to define a class in visual basic?
a) Event class statement
b) Class statement
c) Form class statement
d) Event statement
Answer explanation
Explanation: The class statement is used to define a class in visual basic. The class statement begins with public class classname clause and ends with End class clause. Within the class statement, you write the code to tell the form and the object how to react to the user’s action.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following extension is used to represent the project file in Visual Basic?
a) .vbp
b) .vb
c) .cls
d) .vvb
Answer explanation
Explanation: The .vbp file extension is used to represent the program file in Visual Basic. .cls is used to save the Class module.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you keep a variable undeclared, it is automatically taken as to which of the following data type in Visual Basic?
a) Char
b) Int
c) Object
d) String
Answer explanation
Explanation: Visual basic can create variables “on the fly”. This means that if your code contains undeclared variables, Visual basic creates the variable for you and assigns object data type to it. An undeclared variable is a variable, which does not appear in the declaration statement i.e. the Dim statement.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following applications can be developed using Visual Basic tool?
a) Graphical User Interface
b) Real-time
c) Character User Interface
d) All of the mentioned
Answer explanation
Explanation: Visual Basic tool provides an easy way to develop graphical user interface (GUI) applications.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Visual Basic, which of the following is used for coding single-alternative and dual-alternative selection structures?
a) Switch-Case block
b) If…Then…Else statement
c) function overloading
d) Recursion
Answer explanation
Explanation: In Visual Basic If…Then…Else statement is used for coding single-alternative and dual-alternative selection structures. The If…Then…Else statement statements provide for a statement block where the condition may be true and another if the condition is false.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Visual Basic application, which of the following are listed in a properties window?
a) Items
b) Values
c) Attributes
d) Objects
Answer explanation
Explanation: Attributes also known as properties are listed in a Properties Window. Attributes are keyword-like tags in which you can specify additional information about entities defined in Visual Basic application. Attributes are saved as assembly’s metadata.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Math Methods
Quiz
•
University
10 questions
INTERVIEW SKILL
Quiz
•
University
15 questions
Miscelánea 1
Quiz
•
University
10 questions
El cuadro sinóptico - PROFE BRAMBILA
Quiz
•
6th Grade - University
10 questions
KUIZ FGD FEB & FISHIPOL
Quiz
•
University
15 questions
Week 1_Prinsip dan Elemen Desain
Quiz
•
University
10 questions
QUAN TRI DU AN VOI CHU TRINH PDCA _ G1000
Quiz
•
University
10 questions
Legal Foundations of Philippine Education
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Education
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
