CIS 3000 Chapter 4 Review Questions

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

From textbook

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What kind of structure executes a set of statements only under certain circumstances?

Decision

2
New cards

What kinf os structure provides one alternative path of execution?

Single execution decision

3
New cards

What kind of expression has a value of either true or false?

Boolean

4
New cards

What kind of operators are >,<, and ==?

relational

5
New cards

What kind of structure tests a condition and then takes one path if the condition is true or another path if false?

Dual alternative decision

6
New cards

What kind of statement do you use to write a single alternative decision structure?

if statement

7
New cards

What kind of statement do you use to write a dual alternative decision structure?

if-else

8
New cards

What kind of decision structure is written inside another decision structure?

nested

9
New cards

&&, ||, and ! are what kinf of operators?

logial

10
New cards

A compound Boolean expression created with the _____ operator is true only if both of its subexpressions are true.

and

11
New cards

A compound Boolean expression created with the ____ operator is true if either of its subexpressions is true.

or

12
New cards

What kind of operator takes a Boolean expression as its operand and reverses its logical value?

not

13
New cards

What is a boolean variable that signals when some condition exists in the program?

flag

14
New cards

What family of methods can be used to convert a string to a specific data type without throwing an expression?

‘TryParse’

15
New cards

If several ____ controls exist in a GroupBox, only one of them may be selected at a time.

RadioButton

16
New cards

what statement is used to create a multiple alternative decision structure?

‘switch’

17
New cards

what section of a switch statement is branched to if none of the cases values match the text expression?

‘default’

18
New cards

what number does a ListBox’s index start at?

0

19
New cards

What property is used to determine whether an item is selected in a ListBox?

SelectedIndex

20
New cards

What property holds the item that is selected in a ListBox control?

SelectedItem