Professional Documents
Culture Documents
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What property of the List class shows the number of elements in the List?
Select one:
1. Length
2. Count Correct
Correct
3. Number
4. Amount
Feedback
Correct
The correct answer is: Count
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which LINQ clause is used for filtering the results?
Select one:
1. filter
2. where Correct
Correct
3. select
4. orderby
Feedback
Correct
The correct answer is: where
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
These are classes specifically designed to store groups of objects and provide m
ethods to organize, store, and retrieve them.
Select one:
1. collections Correct
Correct
2. interfaces
3. iterators
4. downcasts
Feedback
Correct
The correct answer is: collections
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This method is used to add an element onto the end of a List.
Select one:
1. Glom
2. Add Correct
Correct
3. PostFix
4. Sort
Feedback
Correct
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What is it called when a base-class variable is used to invoke methods on base-c
lass, as well as derived-class, objects?
Select one:
1. encapsulation
2. inheritance
3. polymorphism Correct
Correct
4. abstraction
Feedback
Correct
The correct answer is: polymorphism
Question 18
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Methods in a class that do not provide implementations must be declared as what?
Select one:
1. virtual
2. abstract Correct
Correct
3. concrete
4. overridable
Feedback
Correct
The correct answer is: abstract
Question 19
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Casting a reference stored in a base-class variable to a derived-class type is c
alled what?
Select one:
1. overcasting
2. overriding
3. downcasting Correct
Correct
4. overloading
Feedback
Correct
The correct answer is: downcasting
Question 20
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A class can contain an abstract method without being abstract itself.
Select one:
True
False Correct
Feedback
Correct
The correct answer is 'False'.
Question 21
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This block, when associated with a try block, will always try to execute.
Select one:
1. finally Correct
Correct
2. terminate
3. catch
4. rethrow
Feedback
Correct
The correct answer is: finally
Question 22
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Exception classes are derived from which class?
Select one:
1. Account
2. Console
3. Exception Correct
Correct
4. Control
Feedback
Correct
The correct answer is: Exception
Question 23
Correct
Mark 1.00 out of 1.00
Flag question
Question text
That statement that generates an exception is known as the what of the exception
?
Select one:
1. stack
2. throw point Correct
Correct
3. catch
4. unwinding
Feedback
Correct
The correct answer is: throw point
Question 24
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An uncaught exception will cause the method call stack to do what?
Select one:
1. crash
2. overflow
3. finally
4. unwind Correct
Correct
Feedback
Correct
The correct answer is: unwind
Question 25
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Method Convert.ToInt32 can throw what kind of exception if the argument cannot b
e converted to a valid integer value?
Select one:
1. IOException
2. DivisionByZeroException
3. FormatException Correct
Correct
4. OutOfBoundException
Feedback
Correct
The correct answer is: FormatException
Question 26
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The active control is said to have what?
Select one:
1. the attention
2. the focus Correct
Correct
3. the floor
4. the valid value
Feedback
Correct
The correct answer is: the focus
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A Windows Form acts as what for the controls that are added?
Select one:
1. focus
2. counter
3. container Correct
Correct
4. initializer
Feedback
Correct
The correct answer is: container
Question 28
Correct
Mark 1.00 out of 1.00
Flag question
Question text
GUIs are described as being what?
Select one:
1. only sequential
2. text-based
3. event driven Correct
Correct
4. visually inconsistent
Feedback
Correct
Feedback
Correct
The correct answer is: AppendFormat
Question 37
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If the arguments to a SubString method call are out of range, this exception is
thrown.
Select one:
1. ArgumentOutOfRangeException Correct
Correct
2. StackOverflowException
3. DivisionByZeroException
4. FormatException
Feedback
Correct
The correct answer is: ArgumentOutOfRangeException
Question 38
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A "C" in a format string means to output the number as what?
Select one:
1. a C-style string
2. hexadeCimal
3. calculations
4. currency Correct
Correct
Feedback
Correct
The correct answer is: currency
Question 39
Correct
Mark 1.00 out of 1.00
Flag question
Question text
When strings that have the same characters are evaluated with the == operator, w
hat is the result value?
Select one:
True Correct
False
Feedback
Correct
The correct answer is 'True'.
Question 40
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A string can be modified once it's created.
Select one:
True
False Correct
Feedback
Correct
The correct answer is 'False'.
Question 41
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What is the smallest amount of data a computer can process?
Select one:
1. bit Correct
Correct
2. nibble
3. byte
4. word
Feedback
Correct
The correct answer is: bit
Question 42
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Digits, letters, and special symbols are collectively referred to as what?
Select one:
1. numerals
2. characters Correct
Correct
3. strings
4. doubles
Feedback
Correct
The correct answer is: characters
Question 43
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What StreamReader method reads a line of text from a file?
Select one:
1. ReadLine Correct
Correct
2. WriteLine
3. GetLine
4. Input
Feedback
Correct
The correct answer is: ReadLine
Question 44
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What StreamWriter method writes a line of text to a file?
Select one:
1. PutLine
2. WriteLine Correct
Correct
3. printf
4. cout
Feedback
Correct
The correct answer is: WriteLine
Question 45
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which namespace contains most of the C# file-processing classes?
Select one:
1. System
2. System.IO Correct
Correct
3. System.FileIO
4. System.Threading
Feedback
Correct
The correct answer is: System.IO