Hint: 7 true false questions 32 Total questions 1. t/f This involves both the definition of a method AND a calling of a method. Has a return type, unless it’s a constructor. Constructors have as many parameters as you want. Pg. 138?
2. t/f Part in an if statement. A statement ends in a semicolon. If you have more than one statement and need curly braces. Focus on the statement and whether/why they need a semicolon. Pg.
3. t/f Difference between the plus (+) as a mathematical operator and the plus as a concatenation operator. Pg. 111-105
4. t/f (number 7) Short Circuiting logical operators pg. 268
5. Equation: right side has an expression and the L value is on the left side. Which of the four to choose from is the exact same way to do the expression. Example: foo++; is the same as foo = foo + 1; Pg. 107-109
6. This is the phases of software development. (2 identical questions) Pg. 7-15
7. What is namespace used for? Pg. 32-35
8. A Policy is given. There are three choices of if statements. Deals with bonus. Look for logic and syntax. Hint: assignment operators Pg.
9. The most fundamental (basic/primitive) part of object oriented programming. You know four terms, the other three you have to look up. Pick the one you know. Pg.
10. What is the data type you use in a switch statement? What can be passed? Hint: There are several versions of this type. The word (i). Pg. 289
11. Question 20 and 2 in the test: This is related to question 2 in the study guide. Look at the condition. “Parse what you see. “ Pg.
12. Hexadecimal numbering system. Pg. 74-75
13. Near the beginning. All C# code has to be inside of something in particular. Hint: You might find something before Main(). Its two words that has a pair of curly braces. Pg. 36
14. ToString() and how it is automatically invoked. You won’t see the word because you don’t have to use it. In Write(); or WriteLine(); expecting a string. Pg. 213-214
15. Four things. One of them is not a parameter type. Pg. 170-171
16. A class member data typically have what access specifier. What type of access? Pick one: Public, protected, private, or internal Pg. 198-204
17. A condition will be set, and you have to pick the right result. There are several if/ else statements. Carefully parse the code to get the answer. Pg.
Midterm Review Chapters 1 - 5
ReplyDeleteHint: 7 true false questions
32 Total questions
1. t/f This involves both the definition of a method AND a calling of a method. Has a return type, unless it’s a constructor. Constructors have as many parameters as you want.
Pg. 138?
2. t/f Part in an if statement. A statement ends in a semicolon. If you have more than one statement and need curly braces. Focus on the statement and whether/why they need a semicolon.
Pg.
3. t/f Difference between the plus (+) as a mathematical operator and the plus as a concatenation operator.
Pg. 111-105
4. t/f (number 7) Short Circuiting logical operators
pg. 268
5. Equation: right side has an expression and the L value is on the left side.
Which of the four to choose from is the exact same way to do the expression.
Example: foo++; is the same as foo = foo + 1;
Pg. 107-109
6. This is the phases of software development. (2 identical questions)
Pg. 7-15
7. What is namespace used for?
Pg. 32-35
8. A Policy is given. There are three choices of if statements. Deals with bonus. Look for logic and syntax. Hint: assignment operators
Pg.
9. The most fundamental (basic/primitive) part of object oriented programming. You know four terms, the other three you have to look up. Pick the one you know.
Pg.
10. What is the data type you use in a switch statement? What can be passed? Hint: There are several versions of this type. The word (i).
Pg. 289
11. Question 20 and 2 in the test: This is related to question 2 in the study guide. Look at the condition. “Parse what you see. “
Pg.
12. Hexadecimal numbering system.
Pg. 74-75
13. Near the beginning. All C# code has to be inside of something in particular. Hint: You might find something before Main(). Its two words that has a pair of curly braces.
Pg. 36
14. ToString() and how it is automatically invoked. You won’t see the word because you don’t have to use it. In Write(); or WriteLine(); expecting a string.
Pg. 213-214
15. Four things. One of them is not a parameter type.
Pg. 170-171
16. A class member data typically have what access specifier. What type of access? Pick one: Public, protected, private, or internal
Pg. 198-204
17. A condition will be set, and you have to pick the right result. There are several if/ else statements. Carefully parse the code to get the answer.
Pg.