Asp.net(Computer Science ) Questions and Answers

Question 1. The largest size heading tag - often used to create the main heading of a web page - is ____
Explanation:-
Answer: Option A. ->

Question 2. ____________ control is used to validate e-mail addresses, Social Security Numbers and phone numbers
  1.    Range Validator
  2.    Compare Validator
  3.    RegularExpression Validator
  4.    RequiredField Validator
Explanation:-
Answer: Option C. -> RegularExpression Validator

Question 3. Typically a project contains the following content files except:
  1.    Page file (.aspx)
  2.    User Control
  3.    Web Service
  4.    Website
Explanation:-
Answer: Option D. -> Website

Question 4. You can execute a project by:
  1.    Ctrl-Alt F5
  2.    Selecting the application
  3.    Pressing F9
  4.    Pressing F5
Explanation:-
Answer: Option D. -> Pressing F5

Question 5. What codes protect your form for unowned post
  1.    @Html.AntiForgeryTokens()
  2.    @Html.AntiForgeryToken()
  3.    @Html.AntiForgeryToken();
  4.    None of The Above
Explanation:-
Answer: Option B. -> @Html.AntiForgeryToken()

Question 6. Choose the correct HTML element for the largest heading?
Explanation:-
Answer: Option B. -> @Html.AntiForgeryToken()

Question 7. A place or object used for comparison to determine if another object is in motion is called a
  1.    comparison point
  2.    reference point
  3.    point of view
  4.    motion detector
Explanation:-
Answer: Option B. -> reference point

Question 8. HTML is the latest version of HTML which supports new elements and functionalities that make it easier to develop Web sites
  1.    TRUE
  2.    FALSE
Explanation:-
Answer: Option B. -> FALSE

Question 9. What view engine that we use?
  1.    Razor
  2.    Controller
  3.    View
  4.    None of The Above
Explanation:-
Answer: Option A. -> Razor

Question 10. It provides a fast and approachable way to combine server code with HTML to produce dynamic web content
  1.    ASP.NET Web Pages
  2.    ASP.NET Web Forms
  3.    ASP.NET MVC
  4.    ASP.NET Web API
Explanation:-
Answer: Option A. -> ASP.NET Web Pages