NET Centric Computing · Unit 1
Core .NET Framework Fundamentals
Exam-focused notes for Core .NET Framework Fundamentals (NET Centric Computing, BIT351): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.
What this unit covers
- MSIL and CLR architecture
- Lambda expressions
- Abstract classes and inheritance
- Polymorphism and code extensibility
- Base keyword usage
- Indexers
- Collections and generics
- Partial classes
Indexers
Define indexers. What is the use of base keyword? How can you apply polymorphism in code extensibility?[10]
Note: No specific curriculum notes were provided for this question. The answer below is based on standard C / Object-Oriented Programming concepts as taught in TU BSc CSIT curriculum. --- An indexer is a special class member in C that allows an object to be...
Full solved answer →Collections and generics
Differentiate between collection and generics. [5]
Note: The reference notes did not contain this topic directly. The following answer is based on standard Java/C programming concepts as taught in BSc CSIT curriculum. --- A Collection is a framework/architecture that provides a set of classes and interfaces...
Full solved answer →MSIL and CLR architecture
Explain about MSIL and CLR. [5]
Note: Reference notes were not available for this topic. The following answer is based on standard .NET / C curriculum content taught in BSc CSIT. --- MSIL (also called CIL - Common Intermediate Language) is a low-level, platform-independent instruction set...
Full solved answer →Explain about MSIL and CLR. [5]
Note: The reference notes did not contain this topic. The following answer is based on standard .NET / C curriculum content taught in BSc CSIT. --- MSIL (also called CIL - Common Intermediate Language) is a low-level, platform-independent instruction set in...
Full solved answer →Abstract classes and inheritance
Why do we need abstarct class? Explain with an example. [5]
An abstract class is a class that is deliberately incomplete. It is declared with the abstract keyword, it cannot be instantiated with new, and it may declare abstract members that carry no body at all. Its purpose is to sit at the top of a family of relate...
Full solved answer →Base keyword usage
Define JSON. What is the use of base keyword? Give an example. [5]
--- JSON is a lightweight, text-based, language-independent data interchange format that is easy for humans to read and write, and easy for machines to parse and generate. It is based on a subset of JavaScript but is language-independent and is widely used ...
Full solved answer →Lambda expressions
What is lambda expression? Describe the needs of asynchronous programming. [5]
A lambda expression is an anonymous function written inline, at the point where it is needed, instead of being declared as a named method somewhere else. In C it is written with the = token, called the lambda operator, with the parameters on the left and ei...
Full solved answer →Make Unit 1 stick
Practice BIT351 with flashcards & quizzes