QUIZ 2 # OOP

0.0(0)
Studied by 1 person
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:08 PM on 10/17/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

21 Terms

1
New cards

Unexpected events or conditions that disrupt the normal flow of instructions in a program.

Exception

2
New cards

Exceptions created by developers to handle specific scenarios not covered by system-defined exceptions.

Custom Exception

3
New cards

Used to handle specific error conditions detected in a program.

throw

4
New cards

Data stored in human-readable form, consisting of characters, words, and lines.

Text Data

5
New cards

A class in C# used for reading text from a stream, such as a file or network connection.

StreamReader

6
New cards

Reads all characters from the current position to the end of a stream.

ReadToEnd

7
New cards

A block of code executed regardless of whether an exception occurs or not, often used for cleanup operations.

Finally

8
New cards

Writes a specified string to a stream with a newline character at the end.

WriteLine

9
New cards

Predefined exceptions raised by the .NET framework in response to specific error conditions.

System-Defined Exception

10
New cards

Encloses code that might throw an exception, defining a block where exceptions can occur.

try

11
New cards

Specifies the type of exception to catch and the code to execute if that exception occurs.

catch

12
New cards

Occurs when trying to access a member of a null object reference.

NullReferenceException

13
New cards

Base class from which developers can create their own custom exceptions.

Exception Class

14
New cards

Data stored in a format not directly human-readable.

Binary Data

15
New cards

A method in C# to check if a file already exists at a specified path.

File.Exists

16
New cards

Returns a 'FileStream' object for reading from or writing to a file.

FileOpen

17
New cards

Reads binary data from a stream and converts it to appropriate data types.

BinaryReader

18
New cards

Refers to the process of reading from and writing to files on a computer's storage system.

File I/O

19
New cards

Used to create a new file, overwriting it if it already exists.

File.Create

20
New cards

These are unexpected events or conditions that occur during the execution of a program and disrupt the normal flow of instructions.

Exception

21
New cards