Intro to Visual Basic .NET Flashcards

1
Q

What is Visual Basic .NET based on?

A

The .NET framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Variable

A

A variable is a memory location that’s used to store data. A variable is referred by a name and can store data of any particular data type. The data stored in a variable can change at any point in the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Data types

A

The data type refers to what kind of data such as numbers or text. Visual Basic .NET provides you with various data types such as Integer, String, Byte, and Date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Constant

A

A constant is similar to a variable and is used to store a value. The only difference between the two is that the value stored in a constant always remains the same. A constant is also assigned a name and is of a particular data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Array

A

An array is a set of variables with the same name. You refer to these variables by specifying their index position, which is the position of the variables in an array. Visual Basic .NET enables you to create single- and multi-dimensional arrays as well as to resize the array at runtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Enumeration

A

An enumeration is a set of related constants

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Operators

A

An operator is a symbol used to perform operations on constants and variables. Visual Basic .NET provides you with arithmetic, logical, and concatenation operators to perform with constants and variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Expression

A

A combination of variables, constants, and operators, an expression returns a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Statement

A

A statement is a combination of variables, constants, operators, expressions, and keywords

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Keyword

A

A term with a special meaning i.e. the Dim keyword is used to declare a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Declaration Statements

A

These statements are used to declare a variable, a constant, or procedure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Executable Statements

A

These statements are used to perform an action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Procedure

A

A procedure is a set of statements that are used to perform a specific task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Assembly

A

An EXE or a DLL file that forms the basis of deployment, version control, reuse, and security permissions of an application- an assembly is a building block of the .NET framework.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Namespace

A

Contains types, such as classes, structures, enumerations, and interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Beginning of Namespace

A

Always begins with either the word System or Microsoft

17
Q

Hierarchies of Namespaces

A

Written with dots (periods; .) inserted between two levels i.e. System.Windows.Forms

18
Q

Reference

A

To use objects that are external to your current project.

19
Q

Imports

A

Syntax used to reference an object outside your current application

20
Q

Attributes

A

The tags introduced with VB that you use to provide additional information about the elements you define in a Visual Basic .NET program

21
Q

Inheritance

A

You can create classes derived from some other classes.

22
Q

Base class

A

Other classes

23
Q

Visual Inheritance

A

Inherit a form from an existing form

24
Q

ReDim

A

Used for re-sizing or to declare an array

25
Q

String

A

A string of characters (numbers or letters). Can be specified i.e. Dim MyStr As String *10

26
Q

Decimal

A

The data type to store currency values

27
Q

DateTime

A

The data type to store a date

28
Q

Object

A

The data type to store any type