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
Website Development (Full Section) Quiz
Answer all questions to test your understanding
1
Why is planning important for website development?
It saves time and reduces costs
It makes the website look better
It guarantees more visitors
It reduces server costs
2
What are functional requirements in a website project?
What the system should do
How fast the system should be
What colors to use
How many users to support
3
What are non-functional requirements?
Design specifications
How the system should perform (speed, security, scalability)
Content requirements
User interface requirements
4
What is a sitemap in web development?
A list of all images on the website
A map showing the structure and pages of the website
A file for SEO optimization
A CSS file
5
What is scope creep?
When the project stays within budget
When features keep expanding beyond the original plan
When the project is completed early
When the team communicates well
6
What is a wireframe used for?
To write HTML code
To visualize the layout and structure of a website
To create CSS styles
To test database connections
7
What is Separation of Concerns in project structure?
Each component has a single, well-defined responsibility
All code goes in one file
Using only one programming language
Having no comments in code
8
Which naming convention is used for classes in C#?
camelCase
PascalCase
snake_case
UPPER_CASE
9
Which naming convention is used for private fields in C#?
_camelCase
PascalCase
camelCase
UPPER_CASE
10
What is the Repository pattern used for?
To store user interface code
To separate data access logic from business logic
To store configuration files
To manage frontend code
11
What is a God Object in programming?
A class with too many responsibilities
An empty class
A class that is perfectly designed
A class that only contains constants
12
What is Dependency Injection used for?
To inject CSS styles
To provide loose coupling between components
To inject JavaScript code
To inject database connections
13
What is responsive design?
Designing for desktop only
Designing web pages that work well on all devices and screen sizes
Designing for mobile only
Designing without CSS
14
How many columns does the Bootstrap grid system use?
8 columns
10 columns
12 columns
16 columns
15
What class prefix is used for medium screen devices (tablets) in Bootstrap?
.col-xs-
.col-sm-
.col-md-
.col-lg-
16
What does the navbar-toggler class do in Bootstrap?
Changes the navbar color
Toggles the navbar on small screens
Adds animation to the navbar
Makes the navbar sticky
17
Which component is best for creating a grid of items in Bootstrap?
Navbar
Card
Modal
Carousel
18
What is the purpose of the data-bs-toggle attribute in Bootstrap modals?
To toggle CSS styles
To control the modal's visibility
To change the modal's color
To add animation to the modal
19
What is Git used for?
To host websites
To track changes in code and enable collaboration
To create databases
To design graphics
20
What command stages all changes for commit?
git commit
git add .
git push
git pull
21
What is the purpose of a Pull Request?
To delete a branch
To merge code changes and enable code review
To create a new repository
To push changes without review
22
Which workflow uses main, develop, feature, release, and hotfix branches?
GitHub Flow
Git Flow
GitLab Flow
Trunk-Based Development
23
What is a merge conflict?
When Git automatically merges changes
When changes in different branches conflict with each other
When a branch is deleted
When a repository is created
24
Which command creates a new branch and switches to it?
git branch new-branch
git checkout -b new-branch
git push new-branch
git clone new-branch
25
What should a good commit message include?
A descriptive summary of changes with type prefix (feat, fix, docs, etc.)
Just the word 'update'
A long essay about the changes
Only the bug number
26
What does the --force-with-lease flag do?
Deletes the repository
Safely forces a push if no one else has pushed
Creates a new branch
Merges without conflicts
Submit Quiz