NEW
Font size
Worksheets3prep Second Term_Questions Chapter1
Total questions: 40
Worksheet time: 20mins
One of the advantages of VB.NET is dealing with different types of data.
True
False
All the data entered into the VB.NET program language are stored temporarily in the computer memory.
True
False
All types of data saved in the memory occupy the same storage space.
True
False
The value of the student’s total grades is classified within the integer data types.
True
False
The value of the student's name is classified in the Miscellaneous data types.
True
False
The value of the student gender "male" or "female" is classified within the Miscellaneous data types "Boolean".
True
False
Image of a student can be classified within the character data types.
True
False
The value of the employee's salary can be classified within non-integer numeric data types.
True
False
The term variables in vb.net means stores in the computer memory, which has type and name.
True
False
Declaring a variable in VB.NET means determining its name and data type.
True
False
Declaring a variable in VB.NET means determining its name and data type.
True
False
The following statement "Dim F_name As String" is to declare the name of a variable "String" and type "F_name".
True
False
The following data element "Dim F_name As String" is to declare the name of a variable "F_name" and type "String".
True
False
The declaration statement for the variables is determined by the name, type and fixed value.
True
False
"55City" variable name is a considered a wrong variable name because it begins with a number.
True
False
"Dim" is used to declare variables.
True
False
“Const" is used to declare constants
True
False
Constants in VB.NET language are stores of a computer memory which have the name and the value that does not change during the running of the program.
True
False
The error in the result of any equation is a Logical Error.
True
False
Error that appears while you run or execute a VB.NET program is called Syntax Error.
True
False
Error that appears during the execution of VB.NET program is Run time Error.
True
False
The final value of the variable X after the execution the following equation "X = 3 + 2 * 4" is (11).
True
False
The final value of the variable X after execution the following equation "X = 3 + 2 * 4" is (20).
True
False
The value of prices of desktop tools can be classified as……….. data.
non- integer
integer
miscellaneous
The value of the names of the subjects can be classified as ……… data.
String
integer
miscellaneous
The type of data element temporarily stored in the computer memory defines:
Name and storage space
storage space and the extent of its value
Storage space and a storage value
The right syntax to declare Salary variable is …………
Dim Salary As Integer
Dim Salary As Decimal
Dim Salary As Byte
The right syntax to declare the city variable is ………
Dim City As Byte
Dim City As String
Dim City As Decimal
The right syntax to declare the variable name F_Name is ……….
Dim F_Name As Integer
Dim F_Name As Decimal
Dim F_Name As String
The right syntax to declare the variable Gender is ………
Dim Gender As Integer
Dim Gender As Boolean
Dim Gender As Decimal
The error that appears after running a program VB.NET language is called …….
Runtime Error
logical Error
Syntax Error
The error that appears while writing a code in a VB.NET language called……..
Runtime Error
logical Error
Syntax Error
The error in the output result in language VB.NET code is called……….
Runtime Error
logical Error
Syntax Error
The final output of the variable Y for the equation "Y = 16 - 12/4 + 2" is …..
3
11
15
The correct statement to declare a non-integer variable named Y is ...............
Y As Decimal
Dim Y As Decimal
Dim Y = Decimal
Choose the correct name of the variable "name of the student":
Name**
st name
st_name
Choose the correct name of the variable "address of the employee":
5Cairo
(Address)
E_Address
On declaration of a mathematical constant π , we use the code ………
Dim Pi As Single = 3.14
Dim Pi As Single
Const Pi As Single = 3.14
On the declaration of constant gravity acceleration, we use the code..................
Dim g As Single
Dim g As Single = 9.81
Const g As Single = 9.81
The declaration of variable number of family members C_Family with initial value of 2 is:
Dim C_Family As Single = 2
Const C_Family As Integer = 2
Dim C_Family As Integer = 2
