|
INTERVIEW QUESTIONS
MICROSOFT
ASP.NET
DETAILS
Question: What is strong-typing versus weak-typing? Which is preferred? Why?
Answer: Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what you want. For scripts & quick stuff you’ll usually want weak typing, because you want to write as much less code as possible. In big programs, strong typing can reduce errors at compile time.
|
|
|
Category |
ASP.NET Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7032 users |
Added on |
9/17/2014 |
Views |
70772 |
Rate it! |
|
|
Question:
What is strong-typing versus weak-typing? Which is preferred? Why?
Answer:
Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what you want. For scripts & quick stuff you’ll usually want weak typing, because you want to write as much less code as possible. In big programs, strong typing can reduce errors at compile time. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the difference between an EXE and a DLL?
|
View Answer
|
|
What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
|
View Answer
|
|
Describe the difference between a Thread and a Process?
|
View Answer
|
|
What is the difference between boxing and unboxing ?
|
View Answer
|
|
What is the standard you use to wrap up a call to a Web service?
|
View Answer
|
|
What tags do you need to add within the asp:datagrid tags to bind columns manually?
|
View Answer
|
|
What are the disadvantages of viewstate/what are the benefits?
|
View Answer
|
|
Describe session handling in a webfarm, how does it work and what are the limits?
|
View Answer
|
|
How many classes can a single .NET DLL contain?
|
View Answer
|
|
True or False: To test a Web service you must create a windows application or Web application to consume this service?
|
View Answer
|
|
Which control would you use if you needed to make sure the values in two different controls matched?
|
View Answer
|
|
What tags do you need to add within the asp:datagrid tags to bind columns manually?
|
View Answer
|
|
Where on the Internet would you look for Web services?
|
View Answer
|
|
What does WSDL stand for?
|
View Answer
|
|
True or False: A Web service can only be written in .NET.?
|
View Answer
|
|
What is the transport protocol you use to call a Web service?
|
View Answer
|
|
Which method do you use to redirect the user to another page without performing a round trip to the client?
|
View Answer
|
|
How do you create a permanent cookie?
|
View Answer
|
|
Which two properties are on every validation control?
|
View Answer
|
|
How do you turn off cookies for one page in your site?
|
View Answer
|