c# C6 review

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

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards
<p>What is A</p>

What is A

Access Modifier

2
New cards
<p>What is B</p>

What is B

Return Types

3
New cards
<p>What is C</p>

What is C

Method Name

4
New cards
<p>What is D</p>

What is D

Parameter List

5
New cards
<p>What is E</p>

What is E

Method Body

6
New cards

Which method will wipe out all text on the screen?


 

Console.Clear();


7
New cards

Which keyword is used to return a value inside a method?


return

8
New cards

void means that a method does not have a return value.


t/f

t

9
New cards

A  ____________   is commonly used to control the number of times that a loop iterates.


 

counter variable


10
New cards

The term ___________  is used to describe a file that data is written to.


 

output file


11
New cards

When you work with a __________ file you access data from the beginning of the file to the end of the file.


 

sequential access


12
New cards

What is contained in the body of a loop?


 

A statement or series of statements in a loop that are executed if the Boolean expression is true.


13
New cards

The symbols >, <, and == are all ___________ operators.


relational

14
New cards

You use a(n) _________ statement to write a single-alternative decision structure.


if

15
New cards

A __________ decision structure is written inside another decision structure.


nested

16
New cards

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


||

17
New cards

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


 

RadioButton


18
New cards

The while loop is known as a pretest loop, which means it tests its condition before performing an iteration.


t/f

t

19
New cards

To append data to an existing file, you open it with the File.AppendText method.


tf

True

20
New cards

If an item is not selected in a ListBox, the control’s SelectedIndex property will be set to 0.


t/f

f