Visual Basic Review Exercise 1
Name: ______________________________________________
] Who developed the Basic
language?__________________________________
John Kemeny
] Write code below that will print Welcome to VB 999 times, each on a separate line.
For m as Integer = 1 to 999
Console.WriteLine(“Welcome to VB”)
] List 3 data types used in Visual Basic
§ ____________________________
§ ____________________________
§ ____________________________
Integer, Double, Single, String
] What is the name of the first
computer?_____________________________
Difference Engine
] Who developed the first
computer?_________________________________
Charles Babbage
] Who is given credit for writing the first program?
________________________Augusta
Byron
] What is the symbol for not equal in VB?
_____________________
<>
] What is the symbol or operator meaning logic and in
VB?________________
And
] What is the symbol or operator meaning logical or in
VB?_______________
Or
] What will be the result of printing 10 mod 3
?_______________________
1
] What will be the result of printing 10/3
?_______________________
3.3333
] What will be the result of printing 10\3 ?______________________ 3
] What is the name of the method that returns a value?______________________ Function
] What is the name of the method that does not return a value?______________________ Sub