You are on page 1of 12

Question 1

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

The correct answer is: Add


Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This method is used to retrieve only unique results from a LINQ query.
Select one:
1. Distinct Correct
Correct
2. Unique
3. Sole
4. Alone
Feedback
Correct
The correct answer is: Distinct
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What static method of the string class is similar to Console.Write, but returns
a formatted string instead of displaying it in the Console?
Select one:
1. ToString
2. StringWrite
3. Text
4. Format Correct
Feedback
Correct
The correct answer is: Format
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
When a method contains a local variable with the same name as one of the class's
fields, that variable is said to do what to the field?
Select one:
1. augment it
2. hide it Correct
3. initialize it
4. instantiate it
Feedback
The correct answer is: hide it
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If you declare a constructor for a class, the compiler will not do what?
Select one:
1. create a default constructor Correct
2. instantiate the object
3. run
4. check the syntax
Feedback
The correct answer is: create a default constructor
Question 9
Correct

Mark 1.00 out of 1.00


Flag question
Question text
What method of an object is called implicitly when the object appears in code wh
ere a string would normally be expected?
Select one:
1. ToString Correct
2. Print
3. String
4. Format
Feedback
The correct answer is: ToString
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What kind of variable contains class-wide information shared among all objects o
f the class?
Select one:
1. shared
2. private
3. static Correct
4. duplicate
Feedback
The correct answer is: static
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This is a form of software reusability in which new classes acquire the members
of existing classes and enhance those classes with new capabilities.
Select one:
1. inheritance Correct
Correct
2. composition
3. polymorphism
4. interfacing
Feedback
Correct
The correct answer is: inheritance
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which members of a base class can be accessed in both base-class and derived-cla
ss declarations?
Select one:
1. sealed
2. abstract
3. private
4. protected Correct
Correct
Feedback
Correct
The correct answer is: protected
Question 13
Correct

Mark 1.00 out of 1.00


Flag question
Question text
In what kind of relationship can an object of a derived class be also considered
an object of its base class?
Select one:
1. has-a
2. is-a Correct
Correct
3. with-a
4. from-a
Feedback
Correct
The correct answer is: is-a
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
When an object of a derived class is instantiated, it calls what part of the bas
e class, either implicitly or explicitly?
Select one:
1. ToString
2. Format
3. CopyTo
4. constuctor Correct
Correct
Feedback
Correct
The correct answer is: constuctor
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Derived-class constructors can call base-class constructors via what keyword?
Select one:
1. implicit
2. explicit
3. construct
4. base Correct
Correct
Feedback
Correct
The correct answer is: base
Question 16
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Classes from which objects can be instantiated are called what?
Select one:
1. concrete Correct
Correct
2. abstract
3. objectionable
4. discrete
Feedback
Correct
The correct answer is: concrete

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

The correct answer is: event driven


Question 29
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Every method that handles the same event must have the same what?
Select one:
1. return value
2. programmer
3. signature Correct
Correct
4. creation time
Feedback
Correct
The correct answer is: signature
Question 30
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What kind of event or delegate can be used to call multiple methods?
Select one:
1. multiplex
2. mutlipass
3. multiculti
4. multicast Correct
Correct
Feedback
Correct
The correct answer is: multicast
Question 31
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which method of the Process class can open files and Web pages?
Select one:
1. Begin
2. Start Correct
Correct
3. Commence
4. Initiate
Feedback
Correct
The correct answer is: Start
Question 32
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What appears if more elements than can fit appear in a ComboBox?
Select one:
1. a recycle bin
2. a scrollbar Correct
Correct
3. a messagebox warning
4. a paperclip
Feedback
Correct

The correct answer is: a scrollbar


Question 33
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The top-level node in a TreeView is called what?
Select one:
1. canopy
2. root Correct
Correct
3. crown
4. head
Feedback
Correct
The correct answer is: root
Question 34
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What kind of MDI layout makes all windows the same size and layers them so that
every title bar is visible, if possible?
Select one:
1. title fall
2. cascade Correct
Correct
3. tab bar
4. stretch
Feedback
Correct
The correct answer is: cascade
Question 35
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which class allows you to combine several controls into a single custom control?
Select one:
1. CustomControl
2. CombineControl
3. AbstractControl
4. UserControl Correct
Correct
Feedback
Correct
The correct answer is: UserControl
Question 36
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This StringBuilder method first formats the specified string, and then concatena
tes it to the end of the StringBuilder.
Select one:
1. AppendFormat Correct
Correct
2. ConcatenateFormat
3. StringFormat
4. Glom

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

You might also like