C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
Project Workflow (Full Section) Quiz
Answer all questions to test your understanding
1
What are functional requirements?
How the system should perform
What the system should do
System security requirements
System scalability requirements
2
What are non-functional requirements?
What the system should do
How the system should perform
User interface requirements
Database requirements
3
What does MoSCoW stand for in requirement prioritization?
Must have, Should have, Could have, Won't have
Major, Minor, Critical, Optional
Mandatory, Standard, Conditional, Optional
Most, Some, Can, Won't
4
What is scope creep in project management?
Adding features without proper evaluation
Reducing project scope
Following project scope
Removing unnecessary features
5
What is a user story?
A technical specification
A requirement written from an end-user perspective
A database schema
A code comment
6
What are acceptance criteria in requirements?
The definition of done for a user story
The project budget
The project timeline
The team members assigned
7
What is the purpose of project planning?
To reduce risks and save time
To make the project more complex
To delay the project
To increase costs
8
What are the typical layers in a layered architecture?
UI, Business Logic, Data Access, Database
Frontend, Backend, Database
Client, Server, Database
Presentation, Application, Infrastructure
9
What is Clean Architecture?
An architecture that separates domain, application, infrastructure, and presentation
An architecture that only uses one layer
An architecture without any layers
An architecture that only focuses on the database
10
What should you consider when selecting technology for a project?
Project requirements, team expertise, scalability, community support, cost
Only the cost
Only the team expertise
Only the project requirements
11
What is the purpose of an Entity-Relationship (ER) diagram?
To visualize database entities and their relationships
To create user interfaces
To write code
To test applications
12
Which HTTP method is used to create a new resource in a REST API?
GET
POST
PUT
DELETE
13
What is the purpose of a Git branching strategy?
To complicate the development process
To enable team collaboration and stable releases
To delete branches
To slow down development
14
What is Git Flow?
A simple branching strategy with only main branch
A branching strategy with main, develop, feature, release, and hotfix branches
A strategy that doesn't use branches
A strategy only for bug fixes
15
What is GitHub Flow?
A complex branching strategy
A simpler branching strategy with only main and feature branches
A strategy that doesn't use pull requests
A strategy only for releases
16
What is a Pull Request?
A request to delete a branch
A request to merge code changes
A request to create a new repository
A request to push changes
17
What is a merge conflict in Git?
When Git automatically merges changes
When changes in different branches conflict with each other
When a branch is deleted
When a commit is pushed
18
Which command creates a new branch and switches to it in Git?
git branch new-branch
git checkout -b new-branch
git switch -c new-branch
Both B and C
19
Why are coding standards important?
To make code less readable
To ensure readable, maintainable, and consistent code
To slow down development
To make code reviews harder
20
What naming convention is used for classes in C#?
camelCase
PascalCase
snake_case
UPPER_CASE
21
What naming convention is used for private fields in C#?
_camelCase
PascalCase
camelCase
UPPER_CASE
22
What does the Single Responsibility Principle state?
A class should have multiple responsibilities
A class should have only one reason to change
A class should not have any responsibilities
A class should be responsible for everything
23
What is a guard clause?
A clause that validates inputs at the start of a method
A clause that catches exceptions
A clause that returns early
A clause that logs errors
24
What should you review during a code review?
Only the code style
Functionality, standards, security, performance, test coverage, and documentation
Only the functionality
Only the performance
25
What is Unit Testing?
Testing the entire application
Testing individual components in isolation
Testing the user interface
Testing the database
26
What is the TDD cycle?
Write code, test, deploy
Write a failing test, write code to make it pass, refactor
Design, code, test
Plan, code, test
27
What is Integration Testing?
Testing individual units
Testing how components work together
Testing the user interface
Testing performance
28
What is Continuous Integration (CI)?
Manual testing before deployment
Automatically building and testing code on every push
Deploying code to production
Writing code continuously
29
What is Blue-Green Deployment?
Deploying to production directly
Using two identical environments for zero-downtime deployment
Deploying to a single server
Deploying to development only
30
What is Canary Deployment?
Deploying all at once
Gradually rolling out a change to a small subset of users first
Deploying only to test environment
Deploying without testing
Submit Quiz