CS103-chapter1-2 Flashcards

(61 cards)

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
invoked through an object of the class
Instance methods
26
a name used to identify a class, variable, function, or any other user-defined item.
An identifier
27
refer to an extensive system used for declaring variables or functions of different types.
Data types
28
Nothing but a name given to a storage area that our programs can manipulate.
variable
29
used for variable declaration and storage allocation for one or more variables
Dim statement
30
used at module, class, structure, procedure or block level.
Dim statement
31
It is the name of the variable
variablename
32
optional. It provides list of bounds of each dimension of an array variable.
boundslist
33
optional. It creates a new instance of the class when the Dim statement runs.
New
34
It specifies the data type of the variable.
datatype
35
Expression that is evaluated and assigned to the variable when it is created
initializer
36
refer to fixed values that the program may not alter during its execution.
constants
37
fixed values are also called
literals
38
Constants can be of any of the basic data types like an __ , a floating constant, a character constant, or a string literal.
integer constant
39
treated just like regular variables except that their values cannot be modified after their definition.
constants
40
a set of named integer constants.
enumeration
41
In VB.Net, constants are declared using the
Const statement.
42
used at module, class, structure, procedure, or block level for use in place of literal values.
Const statemen
43
Specifies the list of attributes applied to the constants
attributelist
44
you can provide multiple attributes separated by __
commas
45
specifies which code can access these constants.
accessmodifier
46
This makes the constant hide a programming element of identical name in a base class.
Shadows
47
gives the list of names of constants declared.
Constantlist
48
specifies the name of the constant
constantname
49
declares an enumeration and defines the values of its members.
Enum statement
50
can be used at the module, class, structure, procedure, or block level.
Enum statement
51
refers to the list of attributes applied to the variable.
attributelist
52
specifies which code can access these enumerations.
asscessmodifier
53
This makes the enumeration hide a programming element of identical name in a base class.
Shadows
54
name of the enumeration.
enumerationname
55
specifies the data type of the enumeration and all its members.
datatype
56
specifies the list of member constants being declared in this statement.
memberlist
57
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.
modifiers
58
a complete instruction in Visual Basic programs.
statement
59
these are the statements where you name a variable, constant, or procedure, and can also specify a data type.
Declaration statements
60
these are the statements, which initiate actions.
Executable statements
61
a symbol that tells the compiler to perform specific mathematical or logical manipulations.
operator