CS103-chapter1-2 Flashcards

1
Q

The first line of the program used to include the System namespace in the program.

A

Imports System

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

Every program must contain a ___ that contains the __ and ___ that your program uses.

A

module of a class, data, procedures

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

It generally would contain more than one procedure.

A

Classes or Modules

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

contain the executable code, or in other words, they define the behavior of the class.

A

Procedures

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

the entry point for all VB.Net programs.

A

Main procedure

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

It states what the module or class will do when executed.

A

Main procedure

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

It is a method of the Console class defined in the System namespace.

A

WriteLine

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

The last line __ is for the VB.NET Users.

A

Console.ReadKey()

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

This will prevent the screen from running and closing quickly when the program is launched from Visual Studio .NET.

A

Console.ReadKey()

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

It is an object-oriented programming language.

A

VB.Net

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

In Object-Oriented Programming methodology, a program consists of various __ that interact with each other by means of actions.

A

objects

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

The actions that an object may take are called

A

Methods

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

VB.Net program can be defined as a collection of __ that communicate via invoking each other’s methods

A

objects

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

It have states and behaviors.

A

Objects

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

an instance of a class.

A

object

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

Can be defined as a template/blueprint that describes the behaviors/states that object of its type support.

A

Class

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

is basically a behavior.

A

method

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

It is in __ where the logics are written, data is manipulated and all the actions are executed.

A

methods

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

Each object has its unique set of instant variables.

A

Instant Variables

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

is created by the values assigned to these instant variables.

A

object’s state

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

It indicates the entry point of VB.Net program

A

Sub Main

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

They are called fields

A

Data members

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

They are called methods.

A

procedure members

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

can be invoked without creating an object of the class.

A

Shared methods or static methods

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

invoked through an object of the class

A

Instance methods

26
Q

a name used to identify a class, variable, function, or any other user-defined item.

A

An identifier

27
Q

refer to an extensive system used for declaring variables or functions of different types.

A

Data types

28
Q

Nothing but a name given to a storage area that our programs can manipulate.

A

variable

29
Q

used for variable declaration and storage allocation for one or more variables

A

Dimstatement

30
Q

used at module, class, structure, procedure or block level.

A

Dim statement

31
Q

It is the name of the variable

A

variablename

32
Q

optional. It provides list of bounds of each dimension of an array variable.

A

boundslist

33
Q

optional. It creates a new instance of the class when the Dim statement runs.

A

New

34
Q

It specifies the data type of the variable.

A

datatype

35
Q

Expression that is evaluated and assigned to the variable when it is created

A

initializer

36
Q

refer to fixed values that the program may not alter during its execution.

A

constants

37
Q

fixed values are also called

A

literals

38
Q

Constants can be of any of the basic data types like an __ , a floating constant, a character constant, or a string literal.

A

integer constant

39
Q

treated just like regular variables except that their values cannot be modified after their definition.

A

constants

40
Q

a set of named integer constants.

A

enumeration

41
Q

In VB.Net, constants are declared using the

A

Const statement.

42
Q

used at module, class, structure, procedure, or block level for use in place of literal values.

A

Const statemen

43
Q

Specifies the list of attributes applied to the constants

A

attributelist

44
Q

you can provide multiple attributes separated by __

A

commas

45
Q

specifies which code can access these constants.

A

accessmodifier

46
Q

This makes the constant hide a programming element of identical name in a base class.

A

Shadows

47
Q

gives the list of names of constants declared.

A

Constantlist

48
Q

specifies the name of the constant

A

constantname

49
Q

declares an enumeration and defines the values of its members.

A

Enum statement

50
Q

can be used at the module, class, structure, procedure, or block level.

A

Enum statement

51
Q

refers to the list of attributes applied to the variable.

A

attributelist

52
Q

specifies which code can access these enumerations.

A

asscessmodifier

53
Q

This makes the enumeration hide a programming element of identical name in a base class.

A

Shadows

54
Q

name of the enumeration.

A

enumerationname

55
Q

specifies the data type of the enumeration and all its members.

A

datatype

56
Q

specifies the list of member constants being declared in this statement.

A

memberlist

57
Q

keywords added with any programming element to give some especial emphasis on how the programming element will behave or will be accessed in the program.

A

modifiers

58
Q

a complete instruction in Visual Basic programs.

A

statement

59
Q

these are the statements where you name a variable, constant, or procedure, and can also specify a data type.

A

Declaration statements

60
Q

these are the statements, which initiate actions.

A

Executable statements

61
Q

a symbol that tells the compiler to perform specific mathematical or logical manipulations.

A

operator