R4RIN
Articles
Java 8
MCQS
VB.Net MCQ Quiz Hub
VB.Net Mcq Question Set 4
Choose a topic to test your knowledge and improve your VB.Net skills
1. The __________ in a flowchart is called input/output symbol.
Oval
Rectangle
Parallelogram
Diamond
2. The lines connecting the symbols in a flowchart are called as ______
Flowlines
Symbol lines
Connectors
Connecting lines
3. A __________ is defined as a zero or more characters enclosed in quotation marks.
String
Number
Floating point integer
Integer
4. The __________ statement in pseudocode acts like loop.
Goto
Exit
End
If
5. The __________ statement is used to assign a value to a property of an object.
Assignment
Conditional
Decision
Goto
6. An arithmetic expression contains one or more _____
Arithmetic operators
Logical operators
Relational operators
Short-hand operators
7. The __________ numbers indicate the order in which the computer performs the operation in an expression.
Precedence
Associativity
Binary
Ternary
8. You can use __________ to override the order of precedence.
Curly braces
Parenthesis
Third bracket
Associativity
9. ________ and __________ operators use same symbol.
Addition, subtraction
Addition, multiplication
Multiplication, Division
Subtraction, negation
10. Unary and Binary refer to the number of __________ needed by the operator.
Operation
Operand
Expression d) Operator
Operator
11. When an expression contains more than one operator with same priority, then they are evaluated according their ______
Precedence
Associativity
Binary
Unary
12. The __________ operator is used to divide two integers.
Addition
Modulus
Subtraction
Integer division
13. The __________ operator returns the remainder of the division.
Addition
Modulus
Subtraction
Integer division
14. To include a percentage in arithmetic operators we use ____
Decimal equivalent
Percentage symbol
We cannot use percent
Division
15. The __________ operator is commonly used to determine whether a number is even or odd.
Addition
Modulus
Subtraction
Integer division
16. ______ data is a data that the application is expecting the user to enter.
Valid
Invalid
Numeric
Character
17. ______ refers to the process of locating and correcting errors.
Testing
Debugging
Retransforming
Correcting
18. Errors are called as __________ in a program.
Bugs
Errors
Invalid data
Exceptions
19. A __________ occurs when you break the rules of the language.
Logical errors
Syntax errors
Exceptions
Application shut down
20. A __________ occurs while forgetting to enter an instruction, or entering the instruction in wrong order.
Logical errors
Syntax errors
Exceptions
Application shut down
21. ____ the documentation refers to putting the documentation in a safe place.
Debugging
Testing
Assembling
Printing
22. A __________ is a predefined procedure that performs a specific task.
Flowchart
Pseudocode
Function
Errors
23. The __________ function temporarily converts the string to a number and then returns the number.
Val
Value
Integer
Convert
24. _______ is used to improve the appearance of numbers in an interface.
Format function
Appear function
Val function
Number function
25. A suggestion for fixing the error appears in the _____
Error correction window
Error detection window
Error location window
Properties window
26. ______ is used to store temporary data by programmers.
Addressed Location
Variable
Pointer
RAM
27. ______ determines the type of data stored in a variable.
Function type
Info Type
Variable type
Data Type
28. ______ is the universal coding scheme for characters.
ASCII
Unicode
Binary
EBCDIC
29. ”dblMy Age “what is the problem with this variable name?
Starts with uppercase character
Contains uppercase characters
Contains a space
Contains reserved word dbl
30. Declaring a variable tell the computer to allocate a memory space that can be accessed by the variable name. The size of the memory space depends on?
Length of variable name
Data type of the variable
Location of variable in program
Size of memory in computer
31. _____ data type can store any type of data.
Object
Universal
DataType
Common
32. String data type can store from zero to ___________ Unicode characters.
2 million
2 billion
1 billion
1 million
33. The range of Integer data type is ______ to _______
–2,147,483,648 to 2,147,483,647
–9,223,372,036,854,775,808 to9,223,372,036,854,775,807
+/–4.94065645841247 X 10–324 to+/–1.79769313486231 X 10308
–32,768 to 32,767
34. The Char data type can store _______
One Unicode character
One ASCII character
One bit
One Byte
35. The variable name is also termed as ________
Vname b) Alterable
Alterable
Identifier
Uniform
36. An __________ statement is used to assign a value to an existing variable.
Arithmetic
Relational
Logical
Assignment
37. A __________ is an item of data whose values do not change while the application is running.
Literal constant
Variable
Variable
Extern variable
38. The data type of the value assigned should be same as ______
Any constant defined in the application
The variable itself
Can be anything
Any extern defined in the application
39. The string literal are enclosed in ______
Quotation mark
Question mark
Exclamation mark
Dollar mark
40. While entering a numeric literal constant you need not enter a _____
Number
Special character
Character
Double variable
41. A __________ forces a literal constant to assume a data type other than the one its form indicates.
Literal type constant
Literal type variable
Any literal
Keyword
42. A variable can store __________ value at a time.
Only one
More than one
Only two
More than two
43. The __________ method converts a string to a number.
Tryparse
Parse
Convert
Extern variable
44. If the tryparse method determines that the string cannot be converted to the data type, it assigns __________ to the variable.
-1
1
0
2
45. To covert a number from one data type to another, you use the _____
Convert class
Parser
Literal constant
Objects
46. A variable’s ______ indicates where the variable can be used in an application code.
Scope
Lifetime
Place
Position
47. A variable’s ______ indicates how long the variable stays in the computer’s internal memory.
Scope
Lifetime
Place
Position
48. Variables declared in a form’s declaration section have _____________ scope.
Class
Procedure
Block
Object
49. Variable declared in a procedure have ______________ scope.
Class
Procedure
Block
Objects
50. Variables declared in a block have _____________ scope.
Class
Procedure
Block
Object
Submit