.NET Quiz # 3

Instructions
Quiz: .NET Quiz # 3
Subject: Basic Net
Total Questions: 30 MCQs
Time: 30 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
.NET Quiz # 3
Question 1 of 30
00:00
  • In C#, it is possible to pass methods as arguments for other methods without modification.

  • Which of the following defines a String literal?

  • Which of the following defines a Thread?

  • In C#, how does the following code measures time? Thread.Sleep(time)

  • Which of the following is not a component of the .NET framework?

  • In C#, which type of variable is declared inside a method?

  • In the body of a method, which variable does C# use to refer to the current object whose method is being invoked?

  • In the ASP.NET server control, which provides an alternative way of displaying text on web page?

  • In C#, which of the following describes a local variable?

  • In C#, which of the following is the proper header for a class that intends to use an interface?

  • In which of the following GC Collection mode does the garbage collector determine whether the current time is optimal to reclaim objects?

  • Where are the String class and Char structure found?

  • Which of the following defines a delegate?

  • Which of the following describes what this code snippet implies? namespace TestApplication { class HelloWorld {} }

  • Which type of block encloses code that could throw an exception?

  • In C#, which code converts a string to lowercase?

  • In C#, which of the following is created from this code? class Test: Form { }

  • In ASP.NET, which of the following is the extension of a web user control file?

  • Which of the following defines synchronization?

  • In C#, which of the following does this code create? String mystring;

  • Which of the following actions does an abstract class create?

  • Which of the following .NET framework classes can be used for Custom Parallel Partitioning ?

  • Which of the following is not contained in the ThreadPriority enumeration?

  • Which of the following exceptions is thrown when a member/class lookup results in more than one member/class matching the lookup criteria?

  • In which of the following Generations does the CLR allocate memory for new objects?

  • Which type of code is the following? public class A { IEmailSender _emailSender public A(IEmailSender emailSender) { _emailSender = emailSender; } private void SendEmail() { _emailSender.Send(); } }

  • In C#, which of the following describes two StringBuilder objects that contain the same string?

  • Your Web application, ABCWebApp1, is configured to use Windows Authentication. After granting a specific group NTFS permissions to access a specific file named ABC.doc, you need to ensure that users not belonging to this group cannot access the file. Which of the following should you include to ensure unauthorized access?

  • Which of the following often results in an event?

  • Which of the following is the first event to be triggered in an .aspx page?

Liked this quiz? Share it with friends:

.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it