Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

ASP .Net Framework Online Quiz Test

Topics Covered

  • ASP .Net AJAX Applications
  • ASP .Net Framework version 3.5
  • Classes
  • Methods
  • Categories
  • Web forms
  • Session Objects
  • Code Fragments

Useful for hiring

  • ASP .Net Developer - (0-3 years experience)
  • .Net Software Engineer 
  • .Net Application Developer 

Start hiring job-fit candidates using this assessment

GET A DEMO

"We realized that to acquire quality talent, our recruitment process was in dire need of automation. Too many of our technicalteam were simply wasting hours conducting interviews that did not yield the desired results. For us the foremost criteria were to finda recruitment partner who could tick all the right boxes"

Rehana Nisar, Gartner,
Global Product & Services Recruitment Head
Question

Setting the following properties for object in ASP.NET results in

Response.Buffer = True
Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))
Response.Expires = 0
Response.CacheControl = "no-cache"

Answer
    • The session expires

    • Clears the buffer area

    • Avoid page to be cached

    • All of the mentioned

Question

For your ASP.NET web application, your graphics designer created elaborative images that show the product lines of your company. Some of the graphics of the product line are rectangular, circular, and others are having complex shapes. You need to use these images as a menu on your Web site. What is the best way of incorporating these images into your Web site?

Answer
    • Use ImageButton and use the x- and y-coordinates that are returned when the user clicks to figure out what product line the user clicked.

    • Use the Table, TableRow, and TableCell controls, break the image into pieces that are displayed in the cells and use the TableCell control's Click event to identify the product line that was clicked.

    • Use the MultiView control and break up the image into pieces that can be displayed in each View control for each product line. Use the Click event of the View to identify the product line that was clicked.

    • Use an ImageMap control and define hot spot areas for each of the product lines. Use the PostBackValue to identify the product line that was clicked.

Question

While writing code in Visual Studio you create a new instance of an ASP.NET TextBox server control, what do you need to do to get the TextBox to display on the Web page?

Answer
    • Call the Show Control method on the Text Box.

    • Set the Visible Control to true on the Text Box.

    • Add the TextBox instance to the form1.Controls collection.

    • Execute the AddControl method on the Web page.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO