Exam 2: Using Data
Exam 1: A First Program Using C42 Questions
Exam 2: Using Data42 Questions
Exam 3: Using Gui Objects and the Visual Studio Ide42 Questions
Exam 4: Making Decisions42 Questions
Exam 5: Looping42 Questions
Exam 6: Using Arrays42 Questions
Exam 7: Using Methods42 Questions
Exam 8: Advanced Method Concepts42 Questions
Exam 9: Using Classes and Objects42 Questions
Exam 10: Introduction to Inheritance42 Questions
Exam 11: Exception Handling42 Questions
Exam 12: Using Controls42 Questions
Exam 13: Handling Events41 Questions
Exam 14: Files and Streams42 Questions
Select questions type
Operators that have only one argument, such as the prefix and postfix increment operators, are called ____________________ operators.
(Short Answer)
4.8/5
(41)
What are the nine integral data types in C# and how do you decide which is the most appropriate to use in a particular situation?
(Essay)
4.9/5
(37)
Match each item with a statement below:
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(39)
Giving a value to a variable, as in the statement someVariable = 5 , is called a(n) ____________________.
(Short Answer)
4.9/5
(32)
A data item is ____________________ when it cannot be changed after a program is compiled.
(Short Answer)
4.7/5
(27)
Explain how to use the C# shortcut arithmetic operators -= , *= , and /= .
(Essay)
4.8/5
(39)
Operator precedence rules ensure that addition and subtraction always take place prior to multiplication, division, or remainder in an expression.
(True/False)
4.9/5
(35)
An expression containing a(n) ____ operator has a Boolean value.
(Multiple Choice)
4.9/5
(36)
What are the three floating-point data types in C#? Briefly describe the characteristics of each type.
(Essay)
4.8/5
(36)
To purposefully override the unifying type in an arithmetic operation, use a(n) ____ by placing the desired result type in parentheses followed by the variable or constant to be cast.
(Multiple Choice)
4.8/5
(39)
An escape sequence is used to represent special characters such as a carriage return or a tab, and always begins with a backslash.
(True/False)
4.8/5
(38)
Operators are used to manipulate values in a program. For example, in the expression X + Y, + is an operator. The values that operators use, such as X and Y, are called ____________________.
(Short Answer)
4.8/5
(38)
What is the purpose of the ReadLine() method? How would you use it with a variable of type string ? How would you use it with a variable of type double ?
(Essay)
5.0/5
(38)
A ____ consists of a pair of curly braces containing a number that indicates the desired variable's position in a list that follows the string.
(Multiple Choice)
4.8/5
(50)
If a value is given to a variable at the time it is declared, this is called a(n) ____.
(Multiple Choice)
4.7/5
(41)
A(n) ____ is a named location in computer memory that can hold different values at different points in time.
(Multiple Choice)
4.8/5
(32)
What is an enumeration and what are the advantages of creating an enumeration type? Show an example of an enumeration definition.
(Essay)
4.8/5
(42)
Showing 21 - 40 of 42
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)