EGR 1400 CORRECT QUESTIONS AND ANSWERS
SURE A+
✔✔Prefix mode - ✔✔To place the ++ or -- operators before their operands.
✔✔for loop - ✔✔Designed for situations requiring a counter variable to control the
number of times that a loop iterates.
✔✔initialization - ✔✔A one-time expression that defines the initial value of the counter.
✔✔test - ✔✔A Boolean expression to be tested. If true, the loop iterates.
✔✔update - ✔✔Increase or decrease the value of the counter.
✔✔do-while loop - ✔✔A posttest loop, which means it performs an iteration before
testing its Boolean expression.
✔✔text file - ✔✔Contains data that has been encoded as test using scheme such as
Unicode.
✔✔binary file - ✔✔contains data that has not been converted to text. You cannot view
the contents of binary files with a text editor.
✔✔file object - ✔✔An object that is associated with a specific file and provides a way for
the program to work with that file.
✔✔StreamWriter - ✔✔For writing data to a text file.
✔✔StreamReader - ✔✔For reading data from a text file.
, ✔✔File.CreateText - ✔✔Creates a text file with the name specified by the argument. If
the file already exists, its contents are erased. It creates a StreamWriter object in
memory, associated with the file, and it returns a reference to the StreamWriter object.
✔✔AppendText - ✔✔Used when there is a need not to erase the contents of an existing
file.
✔✔EndOfStream - ✔✔A StreamReader Boolean property that signals whether or not
the end of file has been reached.
✔✔OpenFileDialog - ✔✔Allow your application to display standard Windows dialog
boxes for opening files. Invisible control and displays a standard Windows Open dialog
box.
✔✔SaveDialog - ✔✔Allows your application to display standard Windows dialog boxes
for saving files. Invisible controls and displays a standard Windows Save As dialog box.
You can display an Open dialog box by calling the showDialog method.
✔✔showDialog - ✔✔Returns a value that indicates which button the user clicks to
dismiss the dialog box.
✔✔Filename - ✔✔When the user selects a file with the Open dialog box, the file's path
and filename are stored.
✔✔load - ✔✔Occurs when when running an application, the application's form is loaded
into the memory. Any code you write inside the Load event will execute when the form
is launched.
✔✔program - ✔✔A set of instructions that a computer follows to perform a task.
Sequence of instructions. Can also be called a project, application, or a solution.
✔✔programmers - ✔✔They are people with the training and skills necessary to design,
create, and test programs.
✔✔hardware - ✔✔Refers to all physical devices
✔✔central processing unit - ✔✔The part of the computer that actually runs programs. It
is the most important part of the computer and are microprocessor.
✔✔main memory - ✔✔The computer's work area. It is commonly known as RAM, and
they are volatile types of memory. Meaning when the computer is powered off, the
contents in the RAM are erased.
SURE A+
✔✔Prefix mode - ✔✔To place the ++ or -- operators before their operands.
✔✔for loop - ✔✔Designed for situations requiring a counter variable to control the
number of times that a loop iterates.
✔✔initialization - ✔✔A one-time expression that defines the initial value of the counter.
✔✔test - ✔✔A Boolean expression to be tested. If true, the loop iterates.
✔✔update - ✔✔Increase or decrease the value of the counter.
✔✔do-while loop - ✔✔A posttest loop, which means it performs an iteration before
testing its Boolean expression.
✔✔text file - ✔✔Contains data that has been encoded as test using scheme such as
Unicode.
✔✔binary file - ✔✔contains data that has not been converted to text. You cannot view
the contents of binary files with a text editor.
✔✔file object - ✔✔An object that is associated with a specific file and provides a way for
the program to work with that file.
✔✔StreamWriter - ✔✔For writing data to a text file.
✔✔StreamReader - ✔✔For reading data from a text file.
, ✔✔File.CreateText - ✔✔Creates a text file with the name specified by the argument. If
the file already exists, its contents are erased. It creates a StreamWriter object in
memory, associated with the file, and it returns a reference to the StreamWriter object.
✔✔AppendText - ✔✔Used when there is a need not to erase the contents of an existing
file.
✔✔EndOfStream - ✔✔A StreamReader Boolean property that signals whether or not
the end of file has been reached.
✔✔OpenFileDialog - ✔✔Allow your application to display standard Windows dialog
boxes for opening files. Invisible control and displays a standard Windows Open dialog
box.
✔✔SaveDialog - ✔✔Allows your application to display standard Windows dialog boxes
for saving files. Invisible controls and displays a standard Windows Save As dialog box.
You can display an Open dialog box by calling the showDialog method.
✔✔showDialog - ✔✔Returns a value that indicates which button the user clicks to
dismiss the dialog box.
✔✔Filename - ✔✔When the user selects a file with the Open dialog box, the file's path
and filename are stored.
✔✔load - ✔✔Occurs when when running an application, the application's form is loaded
into the memory. Any code you write inside the Load event will execute when the form
is launched.
✔✔program - ✔✔A set of instructions that a computer follows to perform a task.
Sequence of instructions. Can also be called a project, application, or a solution.
✔✔programmers - ✔✔They are people with the training and skills necessary to design,
create, and test programs.
✔✔hardware - ✔✔Refers to all physical devices
✔✔central processing unit - ✔✔The part of the computer that actually runs programs. It
is the most important part of the computer and are microprocessor.
✔✔main memory - ✔✔The computer's work area. It is commonly known as RAM, and
they are volatile types of memory. Meaning when the computer is powered off, the
contents in the RAM are erased.