Section 1

Preview this deck

True

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

7 years ago

Date created

Mar 1, 2020

Cards (15)

Section 1

(15 cards)

True

Front

No fall through is permitted in C# if the previous case label has code.

Back

False

Front

The conditional expression true || false produces false.

Back

double

Front

Back

True

Front

With an if statement, when you place a semicolon on the line that has the conditional expression, you create a null (empty) statement body for the true portion of the if statement.

Back

Front

The switch statement case value can evaluate to all of the following EXCEPT ____.

Back

Else goes with the closest previous if that does not have its own else.

Front

What is the rule for lining up, or matching, elses?

Back

Front

if (examScore > 89); grade = 'A'; Using the code snippet above, when does grade get assigned a value of 'A'?

Back

Front

An exclamation point followed by a single equal symbol (!=) represents not equal in C#.

Back

True

Front

Back

2

Front

What is stored in result when amount is equal to 876?

Back

True

Front

Class diagrams list the data field members in the center rectangle and the methods or behaviors in the bottom rectangle.

Back

0

Front

switch (phoneDigit) { case 1: num = 1; break; case 2: num = 2; break; case 3: num = 3; break; case 4: num = 4; break; default: num = 0; break; } Looking at the example above, when phoneDigit has a value of 'Q', what value is stored in num?

Back

False

Front

Assignment operators appear at the top of the hierarchy in the operator precedence table.

Back

Front

The equality operator in C# is ____.

Back

they are compared lexicographically

Front

When you compare characters stored in char memory locations using relational operators, ____.

Back