Lab Manuals
Lab exercises are the heart of hands-on learning in this course. Each lab is designed to give you practical experience with the concepts covered in lectures.
Lab Structure
Each lab session includes:
- Pre-lab preparation: Readings and setup instructions
- Lab exercises: Step-by-step activities with clear objectives
- Post-lab activities: Reflection questions and additional challenges
- Submission requirements: What to turn in and how
Lab Guidelines
General Instructions
- Come prepared: Review the lab manual before the session
- Work systematically: Follow the steps in order
- Experiment: Try variations to deepen understanding
- Document your work: Take screenshots and notes
- Ask questions: Lab time is for getting help!
Lab Reports
For each lab, you must submit:
- Completed code files
- Screenshots of working output
- Answers to lab questions
- Brief reflection on what you learned
Submission Format
RollNumber_LabNumber_Name.zip
Example: MCA2345_Lab01_JohnDoe.zip
Contents:
├── code/
│ ├── (all your HTML/CSS/JS files)
├── screenshots/
│ ├── screenshot1.png
│ ├── screenshot2.png
├── answers.pdf (or answers.docx)
└── README.txt
Lab Schedule
Lab 1: HTML Page Foundation
Week 1 | Due: January 28, 2026
Create a simple HTML page and a paragraph-alignment page with an image.
Lab 2: Lists, Frames, and Media Embedding
Week 2 | Due: February 4, 2026
Create lists in multiple styles and build an iframe-based media page.
Lab 3: CSS Design and JavaScript Validation
Week 3 | Due: February 11, 2026
Design a page using external CSS and validate a form with JavaScript.
Lab 4: JavaScript Array Methods and Nested Functions
Week 4 | Due: February 18, 2026
Practice array methods, nested functions, and JavaScript scope.
Lab 5: Browser Information, Objects, and Script Reuse
Week 5 | Due: February 25, 2026
Use browser APIs, merge objects, and split reusable JavaScript across files.
Lab 6: Servlet Authentication with Database Validation
Week 8 | Due: March 18, 2026
Build a login servlet that validates credentials from a database.
Lab 7: JSP Registration and CRUD with Session Management
Week 9 | Due: March 25, 2026
Create JSP and Servlet pages for registration, CRUD, and session-protected workflows.
Lab 8: JDBC Retrieval and Spring Fundamentals
Week 10 | Due: April 1, 2026
Retrieve employee data with JDBC and build a basic Spring Boot application.
Lab 9: REST Service and Spring Boot Web Application
Week 11 | Due: April 8, 2026
Create REST endpoints and a simple Spring Boot web application.
Lab Policies
Attendance
- Lab attendance is mandatory
- You must attend your assigned lab section
- If you must miss a lab, email the instructor in advance
- Make-up labs are offered only for documented emergencies
Grading
Labs are graded on:
- Completion: Did you finish all required tasks? (60%)
- Correctness: Does your code work as expected? (25%)
- Documentation: Did you answer questions thoroughly? (10%)
- Code Quality: Is your code well-organized? (5%)
Late Policy
- Labs submitted within 24 hours of deadline: 10% penalty
- Labs submitted after 24 hours: 25% penalty
- Labs submitted after 1 week: Not accepted
Common Lab Issues
Issue: Code Doesn’t Work
Troubleshooting Steps: 1. Check the browser console for errors (F12) 2. Validate your HTML at W3C Validator 3. Compare your code with the examples 4. Ask your lab instructor for help
Issue: Can’t Find Files
Solution: Always use relative paths and check that: - Files are in the project folder - File names match exactly (case-sensitive) - Paths use forward slashes (/) not backslashes
Issue: Different Output Than Expected
Solution: - Clear browser cache (Ctrl+F5) - Check for typos in your code - Verify you’re using the latest version of your browser
Tips for Success
- Review the manual beforehand so you can use lab time effectively
- Work with partners but write your own code
- Try the bonus challenges to deepen your learning
- Save your work frequently to prevent data loss
- Test each step before moving to the next
Additional Practice
Want more practice? Try these resources:
- FreeCodeCamp - Free interactive coding challenges
- Codecademy - Interactive tutorials
- MDN Web Docs - Comprehensive reference and tutorials
Questions?
If you have questions about lab exercises:
- Ask during lab sessions
- Visit office hours
- Email prashantkumar.nag@galgotiacollege.edu
- Check the Resources page