WSDL
UDDI
XML
SOAP
Encapsulation
Abstaction
Overloading
Overriding
ExternalException
SystemException
InvalidOperationException
InvalidCastException
A.2,1,4,3
B.1,2,3,4
C.3,2,4,1
D.4,3,1,2
1, 2, 3
2, 4
3, 5
None of the above.
Return only the columns and rows that you need
Return complete data
Provide data paging for large results
Cache data where possible
Finally block is executed even if an error occurs
Finally block is definately executed when leaving a try block
Finally block is used to perform any necessary clean-up jobs
Finally block is not executed if an error occurs
The capability to dynamically invoke methods in a class based on their type
Method of determining what is required by the object is contained within the object
An object-oriented principle relating to how one class, a derived class, can share the characteristics and behaviour from another class a base class
An object-oriented principle associated with hiding the internals of an object from the outside world
Reader
XmlLang
ReadState
XmlReader
Methods
Indexers
Properties
Fields
InvalidCastException
SystemException
StackOverflowException
ApplicationException
1, 3, 5
1, 4
2, 4, 5
1, 2, 3
None of these
Console.WriteLine(base.i + " " + i);
Console.WriteLine(i + " " + base.i);
Console.WriteLine(mybase.i + " " + i);
Console.WriteLine(i + " " + mybase.i);
Console.WriteLine(i + " " + this.i);
Reads all contents from a text file
Reads all contents from a text file to the memory
Reads all contents from a text file to a variable
Reads first line from a text file
Exposes a file in XML Mode
Exposes a file in Text Mode
Exposes a Stream around a file, supporting synchronous and a aynchronous write
Exposes a Stream around a file, supporting synchronous and a synchronous read operations
Class declaration
Inheritance
Run-time Polymorphism
Exceptions
Compile-time Polymorphism
1, 4
2, 3, 5
3, 4
2, 5
None of these
The throw statement terminates the execution of the program and passes the control to the finally block in the calling program
The throw statement raises a new exception, and the CLR unwinds the stack looking for the entry point of the program int the call chain and restarts the program
The throw statement attempts to pass the control to the nearest catch statement, and the CLR unwinds the stack looking for an exception handler, try/catch, in the call chain with a catch block
The throw statement raises a new exception, and the CLR unwinds the stack looking for an exception handler, try/catch, in the call chain with a catch block
1 and 2 only
1 and 3 and 4 only
2 and 5 only
All of the above
None of the above
Wsdl http://hostServer/WebserviceRoot/WebServiceName.asmx?XML
Wsdl/WSDL <>http://hostServer/WebserviceRoot/WebServiceName.asmx<>
Wsdl http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL
Wsdl http://hostServer/WebserviceRoot/WebServiceName.asmx
When a class inherits an interface it inherits member definitions as well as its implementations.
An interface cannot contain the signature of an indexer.
To implement an interface member, the corresponding member in the class must be public as well as static.
Interfaces members are automatically public.
While creating the object firstly the constructor of class B will be called followed by constructor of class A.
The constructor of only class B will be called.
The constructor of only class A will be called.
The order of calling constructors depends upon whether constructors in class A and class B are private or public.
While creating the object firstly the constructor of class A will be called followed by constructor of class B.
XmlReaderValidationType
ReaderValidationType
XmlValidatingReaderType
Validation Type
Code denotes Reference Type Generics Constraint
Code denotes usage of Generics Constraint
Code denotes Base Class Generics Constraint
Code denotes Interface Generics Constraint
Delegate void del(int i); Sample s = new Sample(); del d = new del(ref s.MyFun); d(10, 1.1f);
Delegate void del(int i, Single j); del d; Sample s = new Sample(); d = new del(ref s.MyFun); d(10, 1.1f);
Sample s = new Sample(); delegate void d = new del(ref MyFun); d(10, 1.1f);
Delegate void del(int i, Single]); Sample s = new Sample(); del = new delegate(ref MyFun); del(10, 1.1f);
1 and 2 only
5 only
3 and 4 only
1, 2 and 5 only
All of the above
Basic
SOAP
Binary
XML
IEnumerator e; e = q.GetEnumerator(); while (e.MoveNext()) Console.WriteLine(e.Current);
IEnumerable e; e = q.GetEnumerator(); while (e.MoveNext()) Console.WriteLine(e.Current);
IEnumerator e; e = q.GetEnumerable(); while (e.MoveNext()) Console.WriteLine(e.Current);
IEnumerator e; e = Queue.GetEnumerator(); while (e.MoveNext()) Console.WriteLine(e.Current);
Struct members can be inherited
Following code is an example of a class
Struct members cannot be declared as protected
Following code is an example of a struct
1, 2 and 3 only
1, 3 and 5 only
2 and 4 only
4 only
All of the above
It shows how a method in base class in hidden from the user
It is an example of inheritance
It shows how a method in base class can be used in the derived class
It shows how polymorphism is implemented
10 5
10 5.4
10 5.400000
0 0
None of the above
SOAP Header element contains message hierarchy
The SOAP Header element contains application-specific information, like authentication, payment, etc about the SOAP message
SOAP Header element contains definition of a message
SOAP Header element contains verbose description of a message
Following code blocks all the threads from accessing Customer list
Following code ensures only a single thread is blocked from accessing Customer List
Lock on m_CustomersLock has to be released in a finally block
Extension methods are called by instance methods syntax
Extension methods are defined as protected methods
Extension methods are defined as static methods
Extension methods are called by static methods
Quiz Review Timeline (Updated): Feb 11, 2013 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
C Language MCQ Exam Trivia! Quiz
Dive into the intricacies of C programming with this engaging MCQ Exam Trivia! Quiz. Test your knowledge on variable declarations, operators, pointers, and data types. Perfect for...
Questions:
15 |
Attempts:
361 |
Last updated:
Mar 21, 2023
|
C Programming Quiz: Practice Exam!
This C Programming Quiz: Practice Exam tests understanding of C syntax and functions, assessing skills through code snippets and problem-solving scenarios. Ideal for learners...
Questions:
50 |
Attempts:
401 |
Last updated:
Mar 21, 2023
|
Copy Of C Quiz
This 'Copy of C Quiz' assesses knowledge in C programming, covering fundamentals like language history, syntax, and loop behaviors. It tests understanding of variable usage,...
Questions:
10 |
Attempts:
170 |
Last updated:
Mar 18, 2023
|
Decode The Code By ISTE(Indian Society For Technical Education)
The 'Decode The Code by ISTE' quiz tests proficiency in C programming with questions on code outputs, memory management, and recursive functions. It assesses critical thinking and...
Questions:
15 |
Attempts:
343 |
Last updated:
Mar 30, 2023
|
Advanced Computer Programming
This advanced quiz in C programming tests knowledge on array operations, pointer basics, and error handling in code. It's designed to challenge and enhance the programming skills...
Questions:
25 |
Attempts:
738 |
Last updated:
Mar 21, 2023
|
Online Test : C Programming Part II
This 'Online Test: C Programming Part II' assesses understanding of function behavior, recursion, parameter passing, and output prediction in C programming. Ideal for learners...
Questions:
25 |
Attempts:
207 |
Last updated:
Feb 17, 2023
|
Wait!
Here's an interesting quiz for you.