SlideShare a Scribd company logo
C# Language
Question 1 (4 points)
Listen
Which of the following is NOT a common web programming technique for maintaining state?
Question 1 options:
remote procedure call
cookie
session state
hidden field
Question 2 (4 points)
Listen
To enable session state, the Startup.cs file must call all of the following methods except
Question 2 options:
UseSession()
AddMemoryCache()
AddSession()
EnableCookies()
Question 3 (4 points)
Listen
The _________________ method can convert a .NET object to JSON format.
Question 3 options:
StoreJsonObject()
SerializeObject()
SerializeJson()
DeserializeJson()
Question 4 (4 points)
Listen
To encapsulate the functionality of another class, it is common to write a
Question 4 options:
wrapper class
session class
unit test class
encapsulator class
Question 5 (4 points)
Listen
The dictionary used to retrieve values from a query string parameter is ____________, and the
dictionary used to retrieve values from the body of a POST request is _____________.
Question 5 options:
Request.Form - Request.Values
Response.Data - Request.Data
Request.Query - Request.Form
RouteData.Id - RouteData.Post
Question 6 (4 points)
Listen
To bind data to an action method parameter, MVC begins by looking in the POST request. Next, it
looks in the
Question 6 options:
route values in the URL
query string paramters in the URL
GET request
ViewBag
Question 7 (4 points)
Listen
Within a form, a button's value attribute specifies the value that's posted to the server, and its
_______ attribute specifies the name that the server can use to access this value.
Question 7 options:
id
name
form-data
key
Question 8 (4 points)
Listen
You can change the order in which MVC looks for data to bind to an action method parameter, or
even change the source of the data entirely, by using
Question 8 options:
wrapper classes
From attributes
Body attributes
Browser attributes
Question 9 (4 points)
Listen
Which data attribute can you use to indicate that a property in a model class must not be an empty
value?
Question 9 options:
NotNull
NonNullable
Range
Required
Question 10 (4 points)
Listen
Which of the following is NOT a common data attribute used for validation?
Question 10 options:
Password
Range
Compare
StringLength
Question 11 (4 points)
Listen
Which of the following is a tag helper that displays validation messages?
Question 11 options:
asp-for
asp-message
asp-validation-summary
asp-validation-messages
Question 12 (4 points)
Listen
Which of the following is a property of the ModelState property that you can use to check whether
the model stores valid data?
Question 12 options:
IsRequired
IsValid
IsCorrect
IsValidated
Question 13 (4 points)
Listen
When data validation fails for an <input> element and MVC emits the HTML result, what CSS
class does MVC add to the <input> element?
Question 13 options:
input-failure
input-verificantion
input-validation-error
validation-input-error
Question 14 (4 points)
Listen
Which ValidateSummary enum value can you use to display model-level validation messages, not
property-level messages?
Question 14 options:
All
None
NoProperty
ModelOnly
Question 15 (4 points)
Listen
To create a custom attribute for server-side validation, you should write a class that inherits the
____________ class.
Question 15 options:
Newtonsoft.Json
ValidityBase
ValidationContext
ValidationAttribute
remote procedure call
cookie
session state
hidden field

More Related Content

PPTX
Wire Mock API, implementation using JAVA wiremock_workshop.pptx
PDF
How can you change the default browser that Visual Studio uses when yo.pdf
DOCX
CIS 336 Inspiring Innovation/tutorialrank.com
DOCX
Latest .Net Questions and Answers
PDF
Acquia Drupal Certification
PDF
Ruby on Rail Training in Bangalore by myTectra
PDF
Ruby on Rail Training in Bangalore by myTectra
PPTX
Self healing test automation with Healenium and Minimization of regression su...
Wire Mock API, implementation using JAVA wiremock_workshop.pptx
How can you change the default browser that Visual Studio uses when yo.pdf
CIS 336 Inspiring Innovation/tutorialrank.com
Latest .Net Questions and Answers
Acquia Drupal Certification
Ruby on Rail Training in Bangalore by myTectra
Ruby on Rail Training in Bangalore by myTectra
Self healing test automation with Healenium and Minimization of regression su...

Similar to C Language Question 1 4 points Listen Which of the fo.pdf (20)

DOC
Considered the brain of the computer gpu cpu/tutorialoutlet
PDF
CMSC 330 QUIZ 4
PPT
selenium.ppt
PPT
selenium.ppt
PDF
P mysql training in bangalore
PDF
PHP & mySQL Training in Bangalore at myTectra
PPTX
J2EE : Java servlet and its types, environment
PPTX
Mining Code Examples with Descriptive Text from Software Artifacts
PPT
selenium.ppt
PDF
Latest Selenium Interview Questions And Answers.pdf
PPTX
SCWCD : The servlet model CHAP : 2
PPTX
Certification preparation - Net classses and functions.pptx
PDF
.Net Classes and Objects | UiPath Community
DOC
Quiz With Answers Drupal
PPTX
03 object-classes-pbl-4-slots
PPTX
03 object-classes-pbl-4-slots
PPTX
SCWCD : The servlet model : CHAP : 2
PDF
CoreJava_training_material for beginners
PDF
Infosys Interview Questions By ScholarHat
PDF
Data Seeding via Parameterized API Requests
Considered the brain of the computer gpu cpu/tutorialoutlet
CMSC 330 QUIZ 4
selenium.ppt
selenium.ppt
P mysql training in bangalore
PHP & mySQL Training in Bangalore at myTectra
J2EE : Java servlet and its types, environment
Mining Code Examples with Descriptive Text from Software Artifacts
selenium.ppt
Latest Selenium Interview Questions And Answers.pdf
SCWCD : The servlet model CHAP : 2
Certification preparation - Net classses and functions.pptx
.Net Classes and Objects | UiPath Community
Quiz With Answers Drupal
03 object-classes-pbl-4-slots
03 object-classes-pbl-4-slots
SCWCD : The servlet model : CHAP : 2
CoreJava_training_material for beginners
Infosys Interview Questions By ScholarHat
Data Seeding via Parameterized API Requests

More from jaipur2 (20)

PDF
Business inventories increased 19 billion in the second qua.pdf
PDF
Bu yaz kamyonu farkl yerel topluluk etkinliklerine gtryor.pdf
PDF
BU Contractors received a contract to construct an office bu.pdf
PDF
Bu senaryo bir geici zm en iyi ekilde aklar Etkili.pdf
PDF
Bu durum iin tam binom olaslk dalmn sadaki bir tabloda olut.pdf
PDF
Bu derste T hcreleri iin merkezi ve evresel tolerans mek.pdf
PDF
Bullseye Corp is a private company in the state of Illinois .pdf
PDF
Bulging and herniated discs can cause major problems when th.pdf
PDF
Bullying according to noted expert Dan Olweus poisons t.pdf
PDF
C++ Please I am posting the fifth time and hoping to get th.pdf
PDF
C++ only plz Write a function that takes two arguments and .pdf
PDF
C++ only 319 LAB Exact change Write a program with total c.pdf
PDF
C++ Help with the section for doEditTweet only Program .pdf
PDF
C++ is a highlevel programming language that consists of v.pdf
PDF
C++ Help with the section for getNextId only Program to.pdf
PDF
C++ Help with the section for doEditTweet only NOT using s.pdf
PDF
C++ Programming Exercise 9 from Chapter 16 Upload your so.pdf
PDF
BU RESTORAN KURTARILABLR M Juan ve Bonita Gonzales Ohio .pdf
PDF
C Sao Paulodaki Lumiar okulunda snf ev devi veya oyun zam.pdf
PDF
Bu eitim modlnde sunulan biyolojik tehlike tanmndaki gve.pdf
Business inventories increased 19 billion in the second qua.pdf
Bu yaz kamyonu farkl yerel topluluk etkinliklerine gtryor.pdf
BU Contractors received a contract to construct an office bu.pdf
Bu senaryo bir geici zm en iyi ekilde aklar Etkili.pdf
Bu durum iin tam binom olaslk dalmn sadaki bir tabloda olut.pdf
Bu derste T hcreleri iin merkezi ve evresel tolerans mek.pdf
Bullseye Corp is a private company in the state of Illinois .pdf
Bulging and herniated discs can cause major problems when th.pdf
Bullying according to noted expert Dan Olweus poisons t.pdf
C++ Please I am posting the fifth time and hoping to get th.pdf
C++ only plz Write a function that takes two arguments and .pdf
C++ only 319 LAB Exact change Write a program with total c.pdf
C++ Help with the section for doEditTweet only Program .pdf
C++ is a highlevel programming language that consists of v.pdf
C++ Help with the section for getNextId only Program to.pdf
C++ Help with the section for doEditTweet only NOT using s.pdf
C++ Programming Exercise 9 from Chapter 16 Upload your so.pdf
BU RESTORAN KURTARILABLR M Juan ve Bonita Gonzales Ohio .pdf
C Sao Paulodaki Lumiar okulunda snf ev devi veya oyun zam.pdf
Bu eitim modlnde sunulan biyolojik tehlike tanmndaki gve.pdf

Recently uploaded (20)

PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Classroom Observation Tools for Teachers
PDF
Complications of Minimal Access Surgery at WLH
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Presentation on HIE in infants and its manifestations
PPTX
Cell Structure & Organelles in detailed.
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Classroom Observation Tools for Teachers
Complications of Minimal Access Surgery at WLH
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Anesthesia in Laparoscopic Surgery in India
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Presentation on HIE in infants and its manifestations
Cell Structure & Organelles in detailed.
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Computing-Curriculum for Schools in Ghana
Microbial disease of the cardiovascular and lymphatic systems
102 student loan defaulters named and shamed – Is someone you know on the list?
A systematic review of self-coping strategies used by university students to ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
202450812 BayCHI UCSC-SV 20250812 v17.pptx

C Language Question 1 4 points Listen Which of the fo.pdf

  • 1. C# Language Question 1 (4 points) Listen Which of the following is NOT a common web programming technique for maintaining state? Question 1 options: remote procedure call cookie session state hidden field Question 2 (4 points) Listen To enable session state, the Startup.cs file must call all of the following methods except Question 2 options: UseSession() AddMemoryCache() AddSession() EnableCookies() Question 3 (4 points) Listen The _________________ method can convert a .NET object to JSON format. Question 3 options: StoreJsonObject() SerializeObject() SerializeJson() DeserializeJson() Question 4 (4 points) Listen To encapsulate the functionality of another class, it is common to write a Question 4 options: wrapper class session class unit test class encapsulator class Question 5 (4 points) Listen The dictionary used to retrieve values from a query string parameter is ____________, and the dictionary used to retrieve values from the body of a POST request is _____________. Question 5 options: Request.Form - Request.Values Response.Data - Request.Data Request.Query - Request.Form RouteData.Id - RouteData.Post
  • 2. Question 6 (4 points) Listen To bind data to an action method parameter, MVC begins by looking in the POST request. Next, it looks in the Question 6 options: route values in the URL query string paramters in the URL GET request ViewBag Question 7 (4 points) Listen Within a form, a button's value attribute specifies the value that's posted to the server, and its _______ attribute specifies the name that the server can use to access this value. Question 7 options: id name form-data key Question 8 (4 points) Listen You can change the order in which MVC looks for data to bind to an action method parameter, or even change the source of the data entirely, by using Question 8 options: wrapper classes From attributes Body attributes Browser attributes Question 9 (4 points) Listen Which data attribute can you use to indicate that a property in a model class must not be an empty value? Question 9 options: NotNull NonNullable Range Required Question 10 (4 points) Listen Which of the following is NOT a common data attribute used for validation? Question 10 options: Password Range
  • 3. Compare StringLength Question 11 (4 points) Listen Which of the following is a tag helper that displays validation messages? Question 11 options: asp-for asp-message asp-validation-summary asp-validation-messages Question 12 (4 points) Listen Which of the following is a property of the ModelState property that you can use to check whether the model stores valid data? Question 12 options: IsRequired IsValid IsCorrect IsValidated Question 13 (4 points) Listen When data validation fails for an <input> element and MVC emits the HTML result, what CSS class does MVC add to the <input> element? Question 13 options: input-failure input-verificantion input-validation-error validation-input-error Question 14 (4 points) Listen Which ValidateSummary enum value can you use to display model-level validation messages, not property-level messages? Question 14 options: All None NoProperty ModelOnly Question 15 (4 points) Listen To create a custom attribute for server-side validation, you should write a class that inherits the ____________ class. Question 15 options: