VB.Net/VB.Net Mcq Question Set 4 Sample Test,Sample questions

Question:
 A variable can store __________ value at a time.

1.Only one

2.More than one

3. Only two

4.More than two


Question:
 A variable’s ______ indicates where the variable can be used in an application code.

1.Scope

2. Lifetime

3.Place

4.Position


Question:
 A __________ forces a literal constant to assume a data type other than the one its form indicates.

1. Literal type constant

2.Literal type variable

3.Any literal

4. Keyword


Question:
 A __________ occurs while forgetting to enter an instruction, or entering the instruction in wrong order.

1.Logical errors

2.Syntax errors

3.Exceptions

4.Application shut down


Question:
 The data type of the value assigned should be same as ______

1.Any constant defined in the application

2.The variable itself

3. Can be anything

4.Any extern defined in the application


Question:
 The lines connecting the symbols in a flowchart are called as ______

1.Flowlines

2.Symbol lines

3.Connectors

4.Connecting lines


Question:
 The variable name is also termed as ________

1.Vname b) Alterable

2. Alterable

3.Identifier

4.Uniform


Question:
 The __________ operator returns the remainder of the division.

1.Addition

2.Modulus

3.Subtraction

4. Integer division


Question:
A suggestion for fixing the error appears in the _____

1.Error correction window

2.Error detection window

3.Error location window

4.Properties window


Question:
A variable’s ______ indicates how long the variable stays in the computer’s internal memory.

1. Scope

2.Lifetime

3. Place

4.Position


Question:
A __________ is a predefined procedure that performs a specific task.

1.Flowchart

2.Pseudocode

3.Function

4. Errors


Question:
A __________ is an item of data whose values do not change while the application is running.

1. Literal constant

2.Variable

3.Variable

4.Extern variable


Question:
A __________ is defined as a zero or more characters enclosed in quotation marks.

1.String

2.Number

3.Floating point integer

4.Integer


Question:
A __________ occurs when you break the rules of the language.

1.Logical errors

2. Syntax errors

3.Exceptions

4. Application shut down


Question:
An arithmetic expression contains one or more _____

1.Arithmetic operators

2.Logical operators

3.Relational operators

4.Short-hand operators


Question:
An __________ statement is used to assign a value to an existing variable.

1.Arithmetic

2.Relational

3. Logical

4.Assignment


Question:
”dblMy Age “what is the problem with this variable name?

1.Starts with uppercase character

2.Contains uppercase characters

3.Contains a space

4. Contains reserved word dbl


Question:
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?

1.Length of variable name

2.Data type of the variable

3. Location of variable in program

4.Size of memory in computer


Question:
Errors are called as __________ in a program.

1.Bugs

2.Errors

3.Invalid data

4.Exceptions


Question:
If the tryparse method determines that the string cannot be converted to the data type, it assigns __________ to the variable.

1. -1

2.1

3. 0

4.2


Question:
String data type can store from zero to ___________ Unicode characters.

1.2 million

2.2 billion

3.1 billion

4.1 million


Question:
The Char data type can store _______

1.One Unicode character

2.One ASCII character

3.One bit

4.One Byte


Question:
The range of Integer data type is ______ to _______

1.–2,147,483,648 to 2,147,483,647

2. –9,223,372,036,854,775,808 to9,223,372,036,854,775,807

3.+/–4.94065645841247 X 10–324 to+/–1.79769313486231 X 10308

4.–32,768 to 32,767


Question:
The string literal are enclosed in ______

1.Quotation mark

2.Question mark

3.Exclamation mark

4. Dollar mark


Question:
The __________ function temporarily converts the string to a number and then returns the number.

1.Val

2. Value

3. Integer

4.Convert


Question:
The __________ in a flowchart is called input/output symbol.

1.Oval

2.Rectangle

3.Parallelogram

4.Diamond


Question:
The __________ method converts a string to a number.

1.Tryparse

2.Parse

3.Convert

4.Extern variable


Question:
The __________ numbers indicate the order in which the computer performs the operation in an expression.

1.Precedence

2.Associativity

3. Binary

4.Ternary


Question:
The __________ operator is commonly used to determine whether a number is even or odd.

1.Addition

2.Modulus

3.Subtraction

4.Integer division


Question:
The __________ operator is used to divide two integers.

1.Addition

2.Modulus

3.Subtraction

4.Integer division


Question:
The __________ statement in pseudocode acts like loop.

1.Goto

2. Exit

3.End

4. If


Question:
The __________ statement is used to assign a value to a property of an object.

1. Assignment

2. Conditional

3.Decision

4.Goto


Question:
To covert a number from one data type to another, you use the _____

1.Convert class

2.Parser

3.Literal constant

4. Objects


Question:
To include a percentage in arithmetic operators we use ____

1.Decimal equivalent

2. Percentage symbol

3. We cannot use percent

4.Division


Question:
Unary and Binary refer to the number of __________ needed by the operator.

1.Operation

2.Operand

3.Expression d) Operator

4. Operator


Question:
Variable declared in a procedure have ______________ scope.

1.Class

2.Procedure

3.Block

4. Objects


Question:
Variables declared in a block have _____________ scope.

1.Class

2.Procedure

3. Block

4.Object


Question:
Variables declared in a form’s declaration section have _____________ scope.

1.Class

2.Procedure

3.Block

4.Object


Question:
When an expression contains more than one operator with same priority, then they are evaluated according their ______

1.Precedence

2.Associativity

3.Binary

4.Unary


Question:
While entering a numeric literal constant you need not enter a _____

1. Number

2.Special character

3.Character

4.Double variable


Question:
You can use __________ to override the order of precedence.

1.Curly braces

2.Parenthesis

3.Third bracket

4.Associativity


Question:
____ the documentation refers to putting the documentation in a safe place.

1.Debugging

2. Testing

3.Assembling

4.Printing


Question:
_____ data type can store any type of data.

1.Object

2.Universal

3.DataType

4.Common


Question:
______ data is a data that the application is expecting the user to enter.

1.Valid

2. Invalid

3.Numeric

4.Character


Question:
______ determines the type of data stored in a variable.

1.Function type

2. Info Type

3.Variable type

4.Data Type


Question:
______ is the universal coding scheme for characters.

1.ASCII

2.Unicode

3.Binary

4.EBCDIC


Question:
______ is used to store temporary data by programmers.

1.Addressed Location

2.Variable

3.Pointer

4.RAM


Question:
______ refers to the process of locating and correcting errors.

1. Testing

2.Debugging

3. Retransforming

4. Correcting


Question:
_______ is used to improve the appearance of numbers in an interface.

1. Format function

2.Appear function

3.Val function

4.Number function


Question:
________ and __________ operators use same symbol.

1.Addition, subtraction

2.Addition, multiplication

3. Multiplication, Division

4.Subtraction, negation


More MCQS

  1. VB.Net Mcq Question Set 1
  2. VB.Net Mcq Question Set 2
  3. VB.Net Mcq Question Set 3
  4. VB.Net Mcq Question Set 4
  5. VB.Net Mcq Question Set 5
  6. VB.Net Mcq Question Set 6
  7. VB.Net Mcq Question Set 7
  8. VB.Net Mcq Question Set 8
  9. VB.Net Mcq Question Set 9
  10. VB.Net Mcq Question Set 10
  11. VB.Net Mcq Question Set 11
  12. VB NET MCQ SET 1
  13. VB NET MCQ SET 2
  14. VB NET MCQ SET 3
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!