Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

EGR 1400 Study Exam 1 STUDY GUIDE VERIFIED CORRECT QUESTIONS AND ANSWERS LATEST UPDATED VERSION (GRADED A+)

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
03-03-2026
Written in
2025/2026

variable - Answer️A storage location in memory. Variable names represent the memory location. data type - Answer️Specifies the type of data a variable can hold. C# provides many data types known as primitive data types. They store fundamental types of data such as strings and integers. variable name - Answer️Identifies a variable. Always choose a meaningful name for variables. The first character must be a letter or an underscore. The name cannot contain spaces. Do not use C# keywords or reserved words. string - Answer️A combination of characters. The value of a string variable is assigned on the right of the = operators surrounded by a pair of double quotes. concatenation - Answer️The appending of one string to the end of another string. C# uses the + operator for concatenation. Concatenation can happen between a string and another data type. local variable - Answer️Belongs to the method in which it was declared. Only statements inside that method can access the variable. scope - Answer️Describes the part of a program in which a variable may be accessed. The lifetime of a variable is the time period during which the variable exists in memory while the program is executing. double - Answer️Real numbers including numbers with fractional parts. int - Answer️Whole numbers in the range of -2,147,483,648 to 2,147,483,647 decimal - Answer️Indicates a 128-bit data type. Compared to double types, it has more precision and a smaller range, which makes it more appropriate for financial and monetary calculations. Be sure to add the letter M (or m) to a decimal value. type casting - Answer️Explicitly converting among types. You can use the cast operator which is simply a pair of parentheses with the type keyword in it. % - Answer️Modulus: divides one number by another and gives the remainder. ToString - Answer️Can optionally format a number to appear in a specific way. exception - Answer️An unexpected error that happens while a program is running. If it is not handled by the program, the program will abruptly halt. exception handlers - Answer️Codes that respond to exceptions. try block - Answer️Where statements that could have an exception are placed. catch block - Answer️Where statements respond to the exception when it happens are placed. number constant - Answer️A name that represents a value that cannot be changed during the program's execution. field - Answer️A variable that is declared at the class level. It is declared inside the class, but not inside of any method. It is a special type of variable and its scope is the entire class. TabIndex - Answer️Contains a numeric value indicating the control's position in the tab order. tab order - Answer️The order in which controls receive the focus. focus - Answer️Means that a control receives the user's keyboard input. group box - Answer️a control that is a container with a thin border and an optional title that can hold other controls. logic error - Answer️A mistake that does not prevent an application from running, but causes the application to produce incorrect results. breakpoint - Answer️A line that is selected in source code. break mode - Answer️The application pauses and enters breakmode when it is running and reaches a breakpoint. autos window - Answer️Displays a list of the variables appearing in the current statement, the three statements before, and the three statements after the current statement. The current value and the data type of each variable are also displayed. locals window - Answer️Displays a list of all the variables in the current procedure. The current value and the data type of each variable are also displayed. watch window - Answer️Allows you to add the names of variables you want to watch. This window displays only the variables you have added. single-step - Answer️The application's statements execute one at a time, under your control. This process allows you to identify the lines or lines of code causing the error. control structure - Answer️A logical design that controls the order in which statements execute. sequence structure - Answer️A set of statements that execute in the order that they appear. decision structure - Answer️Execute statements only under certain circumstances. if-else - Answer️Will execute one block of statement if its Boolean expression is true or another block if its Boolean expression is false. AND - Answer️&& OR - Answer️|| NOT - Answer️! AND operator - Answer️Both subexpression must be true for the compound expression to be true. OR operator - Answer️One or both subexpression must be true for the compound expression to be true. NOT operator - Answer️It negates (reverses) the value to its opposite one. - Answer️Less than - Answer️Greater than = - Answer️Greater than or equal to = - Answer️Less than or equal to == - Answer️equal to != - Answer️not equal to flag - Answer️A variable that signals when some condition exists in the program String.Compare - Answer️Compares two strings TryParse - Answer️Can prevent exceptions caused by users entering invalid data, but it does not check the integrity of the data. out - Answer️Required in TryParse command because it specifies that the targetVariable is an output variable input validation - Answer️The process of inspecting data that has been entered into a program to make sure it is valid before it is used. radio buttons - Answer️Allows users to select one choice from several possible choices. (Clicking on a radio button, the program automatically deselects any others. This is known as mutually exclusive selection.) check boxes - Answer️Allows users to select multiple options switch - Answer️Lets the value of a variable or an expression determine which path of execution the program will take. testExpression - Answer️A variable or an expression that given an integer, string, or bool value. Yet, it cannot be a floating-point or decimal value. list box - Answer️Displays a list of items and allow the user to select an item from the list. SelectedItem - Answer️Gets or sets the currently selected item in the ListBox. When the user selects an item, the item is stored in this property. SelectedIndex - Answer️Gets or sets the zero-based index of the currently selected item in a ListBox. Items.Add - Answer️Allows you to add an item to the ListBox control. Items.Clear - Answer️Can erase all the items in the Items property. count - Answer️Reports the number of items stored in the ListBox. while loop - Answer️Causes a statement or set of statements to repeat as long as a Boolean expression is true. It tests its condition before performing an iteration. It is necessary to declare a counter variable with initial value. iteration - Answer️Each time the loop executes its statement or statements. while clause - Answer️The first line of a while loop infinite loop - Answer️A loop that will repeat until the program is interrupted. ++ - Answer️Increment -- - Answer️Decrement Postfix mode - Answer️To place the ++ or -- operators after their operands. Prefix mode - Answer️To place the ++ or -- operators before their operands. for loop - Answer️Designed for situations requiring a counter variable to control the number of times that a loop iterates. initialization - Answer️A one-time expression that defines the initial value of the counter. test - Answer️A Boolean expression to be tested. If true, the loop iterates. update - Answer️Increase or decrease the value of the counter. do-while loop - Answer️A posttest loop, which means it performs an iteration before testing its Boolean expression.

Show more Read less
Institution
EGR 1400
Course
EGR 1400

Content preview

EGR 1400 Study Exam 1 STUDY GUIDE
VERIFIED CORRECT QUESTIONS
AND ANSWERS LATEST UPDATED
VERSION (GRADED A+)
variable - Answer✔️A storage location in memory. Variable names represent the
memory location.

data type - Answer✔️Specifies the type of data a variable can hold. C# provides
many data types known as primitive data types. They store fundamental types of
data such as strings and integers.

variable name - Answer✔️Identifies a variable. Always choose a meaningful name
for variables. The first character must be a letter or an underscore. The name
cannot contain spaces. Do not use C# keywords or reserved words.

string - Answer✔️A combination of characters. The value of a string variable is
assigned on the right of the = operators surrounded by a pair of double quotes.

concatenation - Answer✔️The appending of one string to the end of another
string. C# uses the + operator for concatenation. Concatenation can happen
between a string and another data type.

local variable - Answer✔️Belongs to the method in which it was declared. Only
statements inside that method can access the variable.

scope - Answer✔️Describes the part of a program in which a variable may be
accessed. The lifetime of a variable is the time period during which the variable
exists in memory while the program is executing.

double - Answer✔️Real numbers including numbers with fractional parts.

int - Answer✔️Whole numbers in the range of -2,147,483,648 to 2,147,483,647

, decimal - Answer✔️Indicates a 128-bit data type. Compared to double types, it
has more precision and a smaller range, which makes it more appropriate for
financial and monetary calculations. Be sure to add the letter M (or m) to a decimal
value.

type casting - Answer✔️Explicitly converting among types. You can use the cast
operator which is simply a pair of parentheses with the type keyword in it.

% - Answer✔️Modulus: divides one number by another and gives the remainder.

ToString - Answer✔️Can optionally format a number to appear in a specific way.

exception - Answer✔️An unexpected error that happens while a program is
running. If it is not handled by the program, the program will abruptly halt.

exception handlers - Answer✔️Codes that respond to exceptions.

try block - Answer✔️Where statements that could have an exception are placed.

catch block - Answer✔️Where statements respond to the exception when it
happens are placed.

number constant - Answer✔️A name that represents a value that cannot be
changed during the program's execution.

field - Answer✔️A variable that is declared at the class level. It is declared inside
the class, but not inside of any method. It is a special type of variable and its scope
is the entire class.

TabIndex - Answer✔️Contains a numeric value indicating the control's position in
the tab order.

tab order - Answer✔️The order in which controls receive the focus.

focus - Answer✔️Means that a control receives the user's keyboard input.

group box - Answer✔️a control that is a container with a thin border and an
optional title that can hold other controls.

Written for

Institution
EGR 1400
Course
EGR 1400

Document information

Uploaded on
March 3, 2026
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

CA$21.18
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
michaelkalii

Get to know the seller

Seller avatar
michaelkalii Western Governors University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 months
Number of followers
0
Documents
26
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions