NET Centric Computing (BSc CSIT, CSC367): the questions likely to come
30 analyzed questions from 7 past papers (2074-2081), grouped by syllabus unit — each with its probability, how often it's been asked, and where to study the answer.
Describe the MVC design pattern. Explain the architecture and design principles of the ASP.NET Core framework with a diagram.
MVC Design Pattern
MVC (Model-View-Controller) is an architectural pattern that separates an application into three interconnected components, achieving separation of concerns, testability and parallel development.
- Model — represents the application's data and business logic (e.g. domain classes, validation, database access). It is independent of the UI.
- View — the presentation layer that renders the model as UI (HTML in web apps). It is passive and contains no business logic.
- Controller — handles incoming requests, processes user input, interacts with the model, selects a view and returns a response. It acts as the coordinator.
Flow / Diagram (described)
(1) HTTP Request
User ───────────────────────▶ Controller
▲ │ (2) updates / queries
│ ▼
│ Model ◀──▶ Database
│ │ (3) returns data
│ (5) rendered response ▼
└────────── View ◀──────────┘ (4) controller selects view + passes model
The controller receives the request, asks the model for data, passes it to a view, and the view renders the output back to the user.
ASP.NET Core Architecture
ASP.NET Core is a cross-platform, open-source, high-performance framework for building web apps and APIs. Its architecture is centred on:
- Kestrel web server — a lightweight cross-platform HTTP server hosting the app, often behind a reverse proxy (IIS/Nginx).
- Middleware pipeline — request processing is a chain of middleware components (authentication, routing, static files, MVC, error handling). Each can short-circuit or pass to the next, configured in
Program.cs. - Dependency Injection (DI) — a built-in IoC container registers services and injects them into controllers/components.
- Routing — maps incoming URLs to controller actions (attribute or conventional routing).
- Configuration — layered providers (
appsettings.json, environment variables, command line).
Request pipeline (described)
Request ▶ [Kestrel] ▶ [Exception/HSTS] ▶ [Static Files] ▶ [Routing]
▶ [Authentication] ▶ [Authorization] ▶ [Endpoint/MVC] ▶ Response
Design Principles of ASP.NET Core
- Modularity — features come as small NuGet packages added only as needed.
- Dependency Injection first-class — loose coupling and testability.
- Middleware-based, composable pipeline — each concern is a separate component.
- Cross-platform & cloud-ready — runs on Windows, Linux, macOS, containers.
- Convention over configuration with the option to override.
- Unified MVC + Web API + Razor Pages programming model.
Summary
MVC cleanly separates data (Model), presentation (View) and request handling (Controller). ASP.NET Core implements this on a modular, DI-driven, middleware pipeline hosted by Kestrel, giving a cross-platform, testable and high-performance web framework.
Server-Side Programming
Describe the MVC design pattern. Explain the architecture and design principles of the ASP.NET Core framework with a diagram.
Explain model binding and validation in ASP.NET Core MVC. How are data annotations used for client-side and server-side validation?
Explain the structure of the .NET framework. Discuss the Common Language Runtime (CLR), assemblies and the Common Type System.
What is URL routing in ASP.NET Core? Explain conventional routing and attribute routing with examples.
Explain dependency injection and the IoC container in ASP.NET Core. How is a service registered and consumed? Give an example.
Explain the ASP.NET Core request processing pipeline and middleware. Write a custom middleware component.
How does the system manage state in stateless HTTP? Explain the different state management techniques in ASP.NET Core with examples.
Write methods to insert, update, delete and read data using Entity Framework Core in an ASP.NET Core application.
Differentiate between struct and enum in C#.
Explain exception handling in C# with an example.
Differentiate between Entity Framework and ADO.NET.
Explain the role of the appsettings.json and configuration in ASP.NET Core.
What is a ViewModel? How does it differ from a model?
Explain the Startup class and the Program.cs in ASP.NET Core.
Explain the difference between TempData, ViewData and ViewBag.
Explain the lifecycle of a request in ASP.NET Core MVC.
What is the difference between AddSingleton, AddScoped and AddTransient?
Explain garbage collection in the .NET framework.
What is asynchronous programming in C#? Explain async and await.
Explain the use of migrations in Entity Framework Core.
What are tag helpers? Give two examples.
What is LINQ? Write a LINQ query to filter a list of integers.
Sit a probable paper
A full mock exam built from the most likely questions, mirroring the real paper's structure. Every slot is a real past question.
Most Probable Paper
Mirrors the real structure · 60 marks · based on 7 past papers
- 1.[10 marks]
Describe the MVC design pattern. Explain the architecture and design principles of the ASP.NET Core framework with a diagram.
This question has recurred in 3 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 2.[10 marks]
Explain model binding and validation in ASP.NET Core MVC. How are data annotations used for client-side and server-side validation?
This question has recurred in 2 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 3.[10 marks]
Explain the structure of the .NET framework. Discuss the Common Language Runtime (CLR), assemblies and the Common Type System.
This question has recurred in 2 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 1.[5 marks]
Differentiate between struct and enum in C#.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 2.[5 marks]
Explain exception handling in C# with an example.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 3.[5 marks]
Differentiate between Entity Framework and ADO.NET.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 4.[5 marks]
Explain the role of the appsettings.json and configuration in ASP.NET Core.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 5.[5 marks]
What is a ViewModel? How does it differ from a model?
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 6.[5 marks]
Explain the Startup class and the Program.cs in ASP.NET Core.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
- 7.[5 marks]
What are validation controls? Explain client-side validation in ASP.NET Core.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic (Markup Languages and Client-Side Scripting) appears in 100% of years.
- 8.[5 marks]
Explain the procedure to build, run and deploy an ASP.NET Core application.
This question has recurred in 4 of 7 years; so far only in internal assessments, not the board; and its topic recurs in 4 of 7 years.
- 9.[5 marks]
Explain the difference between TempData, ViewData and ViewBag.
This question has recurred in 3 of 7 years; so far only in internal assessments, not the board; and its topic (Server-Side Programming) appears in 100% of years.
Behind the numbers
The raw evidence the predictions are computed from: marks per unit per year, syllabus weights, trends, and coverage.
Show the heatmap, topic table and coverage analysis
The receipt: marks per unit, per year
Each row is a syllabus unit, each column an exam year, each cell the marks that unit earned that year. Click any cell to see the actual questions behind it.
| # | Syllabus unit | Probability | Appeared | Avg marks | Syllabus weight | Exam vs syllabus | Trend | Questions |
|---|---|---|---|---|---|---|---|---|
| 1 | U3Server-Side Programming | Very likely100% | 56.4 | 22%10 lecture hrs | Over-examinedexam 75% · syllabus 22% | Fading | 21 recurring22 total | |
| 2 | U2Markup Languages and Client-Side Scripting | Very likely100% | 10.7 | 20%9 lecture hrs | Under-examinedexam 14% · syllabus 20% | Steady | 5 recurring5 total | |
| 3 | U6Net-Centric Application Development and Emerging Trends | Likely57% | 5 | 11%5 lecture hrs | Under-examinedexam 4% · syllabus 11% | Steady | 1 recurring1 total | |
| 4 | U5Web Application Security | Possible43% | 5 | 11%5 lecture hrs | Under-examinedexam 3% · syllabus 11% | Steady | 1 recurring1 total | |
| 5 | U4Web Services and Service-Oriented Architecture | Occasional29% | 10 | 20%9 lecture hrs | Under-examinedexam 4% · syllabus 20% | Steady | 1 recurring1 total | |
| 6 | U1The Internet and World Wide Web | Occasional0% | 0 | 16%7 lecture hrs | Under-examinedexam 0% · syllabus 16% | Steady | None |
Study smart, not hard
Drag the slider: studying the top 2 units in priority order covers ~90% of all observed marks.
- ~80% line
Lecture time vs exam marks
Where the exam pays more than the curriculum spends: ● lectures vs ● exam marks, as a share of the whole course. A long teal-leading bar = high-yield unit.