Chapter 1 - 3 Flashcards

1
Q

GUI

A

Graphical User Interface

windows, icons, and menus that can be manipulated by a mouse

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

Program

A

a collection of instructions that directs the hardware; software; project; application; solution

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

Input

A

the data necessary to obtain the output

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

Output

A

what the task produces

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

Processing

A

determine what formulas or ways of doing things should be used to obtain the output

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

Programmer

A

developer; person who solves problems by writing programs on a computer

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

User

A

any person who runs a program

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

Program Development Cycle

A

devising a carefully thought out step-by-step process that enables programmers to use their time efficiently and help them design error-free programs that produce the desired output

The Steps: Analyze, Design, Design the Interface, Code, Test and Correct, Complete the Documentation

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

Flowchart

A

consists of special geometric symbols connected by arrows; within each symbol is a phrase presenting the activity at that step; the shape of the symbol indicates the type of operation that is to occur

Flowline (arrow) - used to connect symbols and indicate the flow of logic

Terminal (rounded rectangle) - used to represent the beginning (Start) or the end (End) of a task

Input/Output (parallelogram) - used for input and output operations, such as reading and displaying

Processing (rectangle/square) - used for arithmetic and data-manipulation operations

Decision (diamond) - used for any logic or comparison operations; has two exit paths, one for “yes” and one for “no”

Connector (circle) - used to join different flowlines

Annotation (divining rod) - used to provide additional information about another symbol

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

Pseudocode

A

an abbreviated plain English version of actual computer code; English-like statements that outline the process

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

Form

A

a blank window

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

Control

A

objects added to a form

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

IDE

A

Integrated Development Environment (Visual Basic is an example)

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

Menu Bar

A

displays the menus of commands you use to work with Visual Basic

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

Tool Bar

A

holds a collection of buttons that carry out standard operations when clicked

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

Toolbox

A

holds icons representing objects that can be placed on the form

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

Solution Explorer

A

displays the files associated with the program and provides access to the commands that pertain to them

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

Textbox

A

a type of control used to get information from the user, referred to as input, or to display information produced by the program, referred to as output

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

Label

A

controls placed near text boxes to tell the user what type of information is displayed in the text boxes

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

Button

A

control that the user clicks on to initiate an action

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

List Box

A

control used to display output and/or make selections

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

Property: Text

A

determines the words displayed

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

Property: Name

A

indicates the name of an object

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

Property: Visible

A

indicates visibility of an object

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

Property: Enabled

A

returns or sets a Boolean value that indicates whether permissions are enabled on the active document

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

Property: Font

A

indicates the font of an object’s text

27
Q

Property: ForeColor

A

indicates the foreground color used to display text and graphics in an object

28
Q

Property: BackColor

A

indicates the background color of an object

29
Q

Tab: Tab Stop

A

indicates whether or not tabs are allowed to be entered directly into a control

30
Q

Tab: Focus

A

indicates which control is focused on using the tab key

31
Q

Naming Controls

A

series of letters, digits, and underscores

must begin with a letter

cannot be a reserved key word (turns blue)

not case sensitive

for consecutive words, first word is low caps and successive words have first letters capitalized

32
Q

Snap Lines

A

when activated, this feature causes a line to be drawn between an edge of the control you are currently moving and and the corresponding edge of the closest control on the form when the edges are in alignment

33
Q

Events

A

a signal that informs an application that something important has occurred; events also allow separate tasks to communicate

34
Q

Procedures

A

a block of Visual Basic statements enclosed by a declaration statement (Function, Sub, Operator, Get, Set) and a matching End declaration; all executable statements in Visual Basic must be within one of these

35
Q

Code Editor

A

a window where you write most of your code; a highly specialized word processor with a number of features that make writing Visual Basic code a lot easier

36
Q

Intellisense

A

general term for a number of features:

List Members, Parameter Info, Quick Info, and Complete Word

these features help you to learn more about the code you are using, keep the parameters you are typing, and add calls to properties and methods with only a few keystrokes; language-specific

37
Q

Assignment Statements

A

carry out assignment operations, which consist of taking the value on the right side of the assignment operator (=) and storing it in the element on the left

38
Q

Keywords

A

reserved; you cannot use them as names for programming elements such as variables or procedures; you can bypass this restriction by enclosing the name in brackets [ ]

39
Q

Event: Click

A

occurs when the control is enabled and the user both presses and releases a mouse button while the mouse pointer is over the control

40
Q

Event: Leave

A

occurs when the input focus leaves the control

41
Q

Event: Enter

A

occurs when the control is entered

42
Q

Method

A

a process that performs a task for a particular object

ends with a set of parentheses( )

43
Q

Variables

A

store values; has a name and data type

44
Q

Declarations

A

Statement - to name and define procedures, variables, properties, arrays, and constants; Dim statement

Variable - specify its name and characteristics

45
Q

Double

A

positive and negative number that can have decimals

46
Q

Integer

A

positive and negative whole number

47
Q

String

A
text; sequence of zero or more items treated as a single item
Examples:
"Hello"
"Bill Gates"
"The rain in Spain . . . "
48
Q

Initial Value

A

when making a Dim statement, this is what comes after As

49
Q

Initialize

A

assign an initial value for a data object or variable

50
Q

Incrementing a Variable

A
to add or subtract one to the numeric variable var
var = var + 1
or
var = var - 1
51
Q

Math Functions

A

the methods of this system provide trigonometric, logarithmic, and other such common types of these

52
Q

Math Operators

A

+, -, *, /

\ is integer division (gives whole number)

Mod(ulus) provides a remainder from integer division

53
Q

Order of Precedence

A

never rely on the order of precedence; use parentheses to group statements, such as (2 * 3) + 4 instead of 2 * 3 + 4 and (2^3) + 4 instead of 2^3 + 4

54
Q

Converting Strings to Doubles and Integers

A
CDbl(txtBox) - for Double
CInt(txtBox) - for Integer
Example:
Dim Age As Integer/Double
Age = CInt/CDbl(txtAge.Text)
55
Q

Concatenation and Append

A

operators join multiple strings into a single string

operators are + and &

56
Q

Empty String

A

string with no contents “”

57
Q

Comments

A

brief explanatory notes preceded by ‘ added to code for the benefit of those reading it

58
Q

Scope of a Variable

A

the set of all code that can refer to it without qualifying its name or making it available through an Imports Statement (.NET Namespace and Type); specified when a variable is declared; portion of a program that sees a variable

59
Q

Named Constant

A

“variable” whose value does not change; makes programs easier to understand and update; use Upper case letters
Example:
ConstTAX_Rate As Double = 0.05
ConstMINIMUM_WAGE As Double = 7.25

60
Q

String and Format Functions

A

functions that search and/or manipulate strings

61
Q

Error: Syntax

A

misspellings, omissions, incorrect punctuation, etc.

62
Q

Error: Runtime

A

overflow, etc.
Example:
Dim numVar As Integer = 1000000
numVar = numVar * numVar

63
Q

Error: Logic

A
Example:
Dim Average As Double
Dim m As Double = 5
Dim n As Double = 10
average = m + n / 2 <--Forgot the parentheses around the formula