Computer Science
CS506 Past Papers
Web Design and Development
CS506 current papers · Fall 2026
Questions students remember from this semester's exams
Midterm
4 PDFs
CS506 Midterm Compiled
- Solved subjective · by Moaaz Siddiq
- Solved MCQs · by Moaaz Siddiq
Final Term
3 PDFs
CS506 Final Term Compiled
- Solved subjective · by Moaaz Siddiq
- Solved MCQs · by Moaaz Siddiq
About CS506
Web Design and Development, course code CS506, is the Virtual University course on Java programming and Java-based web applications. The official synopsis says the course has two modules. The first covers basic Java concepts and advanced topics including graphical user interfaces, Java database connectivity, Java graphics, socket programming, serialisation and multithreading. The second covers web application development with servlets, JavaServer Pages, JavaBeans and JavaServer Faces. The synopsis also names the tools: JDK 1.8, Tomcat 9.0.0 and NetBeans IDE 8.2. The official course calendar starts with Java features, the Java virtual machine and runtime environment, language basics, object-oriented programming and inheritance, collections, exceptions and streams, and abstract classes and interfaces. GUI programming follows with event handling and adapter classes. Database work is covered through JDBC, result sets and metadata, and the first module reaches Java graphics, where the calendar places the midterm. After the midterm, students learn animation and applets, socket programming, serialisation and multithreading, and then begin web application development. Java servlets are treated in detail: building a simple web application in Tomcat, the servlet lifecycle, dispatching requests, session tracking, and an address-book case study. JavaServer Pages follow, with JavaBeans, JSP action elements and scope, and custom tags. The course then explains the MVC pattern with a case study, MVC Model 2 architecture, and layers and tiers, before covering the expression language, the JSP Standard Tag Library, client-side validation, and JavaServer Faces. According to the official learning outcomes, a learner should be able to describe basic and advanced Java concepts, build a GUI in Java, design and develop a web-based enterprise application, and choose the right Java technology for a given situation. Because the course is code-heavy, practising short programs with servlets and JSP is useful preparation. Solved CS506 past papers are listed here as they are added.
More Computer Science courses
- CS101Introduction to Computing
- CS201Introduction to Programming
- CS205Information Security
- CS301Data Structures
- CS302Digital Logic Design
- CS304Object Oriented Programming
- CS401Computer Architecture and Assembly Language Programming
- CS402Theory of Automata