C# Programming Quiz


Play this quiz that will help you to excel in C# certification exams, placements etc. This C# programming quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This test enables you to assess your knowledge of C# programming.

Take the Free Practice Test



C# MCQs

Practice C# MCQ Questions, which will help you to understand C#, ASP.NET and AD.NET easily.

C# Quiz

Try Free C# Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

C# Quiz

1. Which of the following is enumeration for ADO.net with SQL Server?

SqlInfo
SqlBulkCopyOptions
SqlNotification
All of the above

2. Number of digits upto which precision value of float data type is valid?

Upto 6 digit
Upto 7 digit
Upto 8 digit
Upto 9 digit

3. Difference between Response.Write() andResponse.Output.Write().

Response.Output.Write() allows you to buffer output
Response.Output.Write() allows you to write formatted output
Response.Output.Write() allows you to flush output
Response.Output.Write() allows you to stream output

4. Select the type of multitasking methods that exist:

process based
thread based
only process
both process & thread based

5. Which method copies the structure of the DataSet, including all DataTable schemas, relations, and constraints?

EndInit
Clone
Copy
BeginInit

6. Which exception class Handles errors generated during typecasting?

System.NullReferenceException
System.StackOverflowException
System.InvalidCastException
System.OutOfMemoryException

7. Which method for making a thread pause for a specific period of time.

push()
wait()
sleep()
stack()

8. Choose the correct statement about process-based multitasking.

A feature that allows our computer to run two or more programs concurrently
A program that acts as a small unit of code that can be dispatched by the scheduler
Only A program that acts as a small unit of code that can be dispatched by the scheduler
Both A feature that allows our computer to run two or more programs concurrently & A program that acts as a small unit of code that can be dispatched by the scheduler

9. Threads are ?

lightweight processes
heavyweight processes
Both A and B
None of the above

10. C# has strong resemblance with?

C
C++
Java
Python

Results