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. Threads are ?

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

2. Classic ASP pages have the file extension?

.aspx
.net
.asp
.cs

3. The _________ keyword indicates the catching of an exception.

Try
Throw
Catch
Finally

4. 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

5. Which method is called when a thread is blocked from running temporarily?

Pulse()
PulseAll()
Wait()
Both A and B

6. 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

7. Syntax for closing and opening the connection in ADO.net is _______________

sqlConn.Open() and sqlConn.close()
sqlConn.open() and sqlConn.Close()
sqlConn.Open() and sqlConn.Close()
None of the above

8. What class does the ASP.NET Web Form class inherit from by default?

System.Web.UI.Page
System.Web.UI.Form
System.Web.GUI.Page
System.Web.Form

9. Incorrect Arithmetic Expression is NOT an exception.

TRUE
FALSE
Can be true or false
Can not say

10. C# is a?

general-purpose programming language
object-oriented programming language
modern programming language
All of the above

Results