A(n) _______________ is a set of instructions that a computer follows to perform a task.
program
2
New cards
The physical device that a computer is made of are referred to as ___________
Hardware
3
New cards
The part of a computer that runs programs is called _____________
CPU
4
New cards
Today, CPUs are small chips known as __________.
Microprocessors
5
New cards
The computer stores a program while the program is running, as well as the data that the program is working with, in ____.
main memory
6
New cards
______________ is a volatile type of memory that is used only for temporary storage while a program is running.
RAM
7
New cards
A type of memory that can hold data for long periods of time, even when there is no power to the computer, is called ____.
secondary storage
8
New cards
A component that collects data from people or other devices and sends it to the computer is called ____.
an input device
9
New cards
A video display is a(n) __________ device.
output device
10
New cards
A __________ is enough memory to store a letter of the alphabet or a small number.
byte
11
New cards
A byte is made up of eight
bits
12
New cards
In the _________ numbering system, all numeric values are written as sequences of 0s and 1s
binary
13
New cards
A bit that is turned off represents the following value: __________.
0 (zero)
14
New cards
A set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters is __________.
ASCII
15
New cards
An extensive encoding scheme that can represent characters for many languages in the world is ____.
Unicode
16
New cards
Negative numbers are encoded using the __________ technique.
two's complement
17
New cards
Real numbers are encoded using the __________ technique.
floating point
18
New cards
The tiny dots of colour that digital images are composed of are called ___________.
Pixels
19
New cards
If you were to look at a machine language program, you would see _________.
a stream of binary numbers
20
New cards
In the __________ part of the fetch-decode-execute cycle, the CPU determines which operation it should perform
decode
21
New cards
Computers can execute only programs that are written in __________.
machine language
22
New cards
The ___________ translates an assembly language program to a machine language program.
compiler
23
New cards
The words that make up a high-level programming language are called __________.
key words
24
New cards
The rules that must be followed when writing a program are called __________.
syntax
25
New cards
A(n) ___________ is a program that translates a high-level language program into a separate machine language program.
compiler
26
New cards
A ____________ is a hypothetical person using a program and providing input for it
user
27
New cards
A __________ error does not prevent the program from running but causes it to produce incorrect results
logic
28
New cards
A(n) __________ is a set of well-defined logical steps that must be taken to perform a task
algorithms
29
New cards
An informal language that has no syntax rules, and is not meant to be compiled or executed is called __________.
Pseudocode
30
New cards
A ____________ is a diagram that graphically depicts the steps that take place in a program
flowchart
31
New cards
Objects that are visible in a program's graphical user interface are commonly referred to as ________.
Controls
32
New cards
A __________ is code that describes a particular type of object.
class
33
New cards
The _______ is a collection of classes and other code that can be used, along with a programming language such as C#, to create programs for the Windows operating system.
.NET Framework
34
New cards
The ________ is the part of a computer with which the user interacts
user interface
35
New cards
Before GUIs became popular, the __________ interface was the most commonly used.
command line
36
New cards
_________ programs are usually event driven
GUI
37
New cards
A(n) (blank) is the thin dotted line that encloses an object in the Designer.
bounding box
38
New cards
The small squares that appear on the right edge, bottom edge, and lower-right corner of a form's bounding box are called (blank).
sizing handles
39
New cards
(Blank) is the name of the blank form that Visual Studio initially creates in a new project.
Form1
40
New cards
The (blank) property holds text that is displayed on the face of the button.
Text
41
New cards
A file that contains program code is called a(an) (blank)
source code file
42
New cards
A namespace is container that holds (blank)
classes
43
New cards
A(n) (blank) is a method that executes when a specific event takes place while an application is running
event handler
44
New cards
The statement MessageBox.Show("Hello World"); is an example of a(n) (blank)
method call
45
New cards
In programming we use the term string to mean (blank)
string of characters
46
New cards
A(n) (blank) marks the end of a programming statement in C#
semicolon
47
New cards
A piece of data that is written into a program's code is a(n) (blank)
literal
48
New cards
The time during which you build the GUI and write the application's code is referred to as (blank)
design time
49
New cards
The time during which an application is executing is referred to as (blank)
run time
50
New cards
When you want to display text on a form, you use a (blank) control
Label
51
New cards
The (blank) property allows you to set the font, font style, and size of the control's text.
Font
52
New cards
A (blank) property can be set to one of two possible values: True or False.
Boolean
53
New cards
Label controls have a(n) (blank) property that controls the way they can be resized.
AutoSize
54
New cards
The (blank) property can be used to change the text's alignment in the label.
TextAlign
55
New cards
In code, you can use a(n) (blank) to store a value in a control's property.
assignment statement
56
New cards
The equal sign (=) is known as the (blank)
assignment operator
57
New cards
The standard notation for referring to a control's property in code is (blank)
ControlName.PropertyName
58
New cards
(Blank) is a feature of Visual Studio that provides automatic code completion as you write programming statements
IntelliSense
59
New cards
You can use a(n) (blank) control to display a graphic image on a form
PictureBox
60
New cards
Once you created a PictureBox control, you use its (blank) property to specify the image that it will display.
Image
61
New cards
The PictureBox control's (blank) property speficies how the control's image is to be displayed.
SizeMode
62
New cards
(Blank) is the image's width to height ratio.
Aspect ratio
63
New cards
Most controls have a (blank) property that determines whether the control is visible on the form at run time
Visible
64
New cards
A(n) (blank) appears on one linen in a program
line comment
65
New cards
A (blank) can occupy multiple consecutive lines in a program
block comment
66
New cards
Programmers commonly use blank lines and indentations in their code to create a sense of (blank)
visual organization
67
New cards
To close an application's form in code, you use the statement (blank)
this.Close();
68
New cards
When the user types into a TextBox control, the text is stored in the control's --------- property.
Text
69
New cards
A ----- is a storage location in memory that is represented by a name.
Variables
70
New cards
In C#, you must ------- a variable before you can use it to store data.
Declare
71
New cards
A variable's ----- indicates the type of data that the variable will hold.
Data Type
72
New cards
Fundamental types of data, such as strings, integers, and real numbers, are known as ---------.
Primitive Data Types
73
New cards
A ---------- identifies a variable in the program code.
Variable Name
74
New cards
A common operation performed on strings is -----, or appending one string to the end of another string.
Concatenation
75
New cards
A ------- belongs to the method in which it is declared, and only statements inside that method can access the variables.
Local Variable
76
New cards
Programmers use the term ---------- to describe the part of a program in which a variable may be accessed.
Scope
77
New cards
A variable's ------- is the time period during which the variable exists in memory while the program is executing.
Lifetime
78
New cards
One way to make sure that a variable has been assigned a value is to ------ the variable with a value when you declare it.
Initialize
79
New cards
You can use a ---------- to explicitly convert a value from one numeric data type to another, even if the conversion might result in a loss of data.
Cast Operator
80
New cards
The process of dropping a number's fractional part is called ---------.
Truncation
81
New cards
A programmers tools for performing calculations are ----.
Math Operators
82
New cards
A ----- performs a calculation and gives a value.
Math Expression
83
New cards
C# offers a special set of operators known as ----- that are designed specifically for changing the value of a variable without having to type the variables name twice.
Combined Assignment Operators
84
New cards
In computer science, the term ----- typically means to analyze a string of characters for some purpose.
Parse
85
New cards
A(n) ------- is a piece of data that is passed into a method.
Argument
86
New cards
A(n) ------ is an unexpected error that occurs while a program is running causing the program to halt if that error is not properly dealt with.
Exception
87
New cards
The ------- indicates that you want the number to appear formatted in a specific way when it is returned as a string from the /ToString/ method.
Formatting String
88
New cards
You have started an application by clicking the start /Debugging/ button or by pressing (F5) on the keyboard. If an exception is thrown, the application stops running and visual studio goes into a special mode known as -------.
Break Mode
89
New cards
Code that responds to exceptions when they are thrown and prevents the program from abruptly crashing is called a(n) -----------.
Exception Handler
90
New cards
A ------- is a name that represents a value that cannot be changed during the program's execution.
Named Constant
91
New cards
A ----------- is a variable that is declared inside a class but not inside any method.
Class Variable
92
New cards
A(n) ----- specifies how a class member can be accessed by code outside the class.
Access Modifier
93
New cards
A -------- is a field that cannot be changed by any statement in the class.
Constant Field
94
New cards
the .NET framework provides a class named ----------, which contains numerous methods that are useful for performing advanced mathematical operations.
Math
95
New cards
When a control has the --------, it receives the user's keyboard input.
Focus
96
New cards
The order in which controls receive the focus is called the --------.
Tab Order
97
New cards
The ------ contains a numerical value, which indicates the control's position in the tab order.
TabIndex Property
98
New cards
A _____ structure executes a set of statements only under certain circumstances.
Decision
99
New cards
A _____ structure provides one alternative path of execution.
Single-Alternative Path
100
New cards
A(n) ______ expression has a value of either true or false.