CS506 sub finl by Humda.docx
Verified academic study resource for CS506 (Enterprise Application Development) under the Computer Science at Virtual University of Pakistan. This DOC document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS506 – Enterprise Application Development
- Faculty
- Computer Science
- Format
- DOC
- Type
- Study Resource
- Coverage
- Full Course Curriculum
Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.
What this file covers — CS506 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download CS506 sub finl by Humda.docx for free?
You can preview and download "CS506 sub finl by Humda.docx" (CS506 DOC, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs506-sub-finl-by-humda-docx) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS506 file?
This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.
What is the passing criteria for CS506 under the VU 20% Two-Half Rule?
Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.
Are CS506 solved past papers and handouts verified for 2026 exams?
Yes. All CS506 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.
Inside this file
Current Papers CS 506 Spring 2014 Solved By Humda Subjective Questions. Mit 4th SEM 7 march 2015
Difference b/w web page and web service
A web service is equivalent to a method in java that has a web wrapper around it. It lives on the server and it can be sent data / queried etc. and may or may not return a result. It does not have any front end it can only be accessed via http get, put, delete etc.
A web Application is a fully functional piece of software that lives on a sever that is designed to help people achieve a task. This would have a front end that would allow users to interact with it / enter data etc.
A web application could use multiple web services to achieve its goal / end result
how to include classes in JSP
<%@ page import="java.util.List" %>
Features of JSF
Difference between MVC1 and MVC2
The main difference is MVC1 Combines both presentation
logic with the Business logic. But, Mvc2 gives separation
between presentation and business logic.
Difference between normal beans and ejbs
How we can overcome starvation in Priorities
Aging - is the technique to overcome this issue
EL version and RT version
EL is supported outside of tags and is a part of JSP 2.0 whereas RT is compatible with earlier JSP versions
Write Page directive syntax
<%@ page attribute="value" %>
writeWeb xml ? Where Name welcome
<welcome-file-list>
<welcome-file>index</welcome-file>
</welcome-file-list>
Information present in .tld file?
The .tld files are the XML document that contains information about the whole library and about each tag contained in the library. These files are used by a web container to validate the tags and by JSP page development tools. In order to redistribute the tag files or to implement the custom tags with tag handlers in Java, the tags in a tag library descriptor (TLD).
Benefits of a custom tag
• It can reduce or eliminate scriptlets in our JSP applications. Any necessary parameters to the tag can be passed as attributes or as body content, and therefore no Java code is needed to initialize or set component properties.
• It has a simpler syntax. A scriptlet is written in Java, but a custom tag can be used in an HTML-like syntax.
• It can improve the productivity of nonprogrammer content developers, by allowing them to perform tasks that cannot be done with HTML.
• It is reusable. It saves development and testing time. A scritplet is not reusable, unless we do cut-and-paste reuse.
Why cookies better than url rewriting
Cookies are a good way of session maintenance
Name of action elements in java bean
<jsp:useBean/> - find or instantiate a Java Bean
<jsp:setProperty/> - sets the property of a Java Bean
<jsp:getProperty/> - gets the value of a JavaBeans property-
Syntax of EL
${ EL expression }
Disadvantage of page centric approach
Declare a private integer variable into JSP declaration tag
<%! [Variable or method declaration] %>
For example:
<% private int id; %>
Three session tracking techniques
1. User authorization
2. Hidden fields
3. URL rewriting
4. Cookies
5. Session tracking API
Explain the “include” method of “Request Dispatcher” with the help of diagram
What does response code 403 indicates?
Why JSP is considered better to ASP?
JSPs have dynamic scripting capability that works in tandem with HTML code, separating the page logic from the static elements the actual design and display of the page
JSP is an extension to Java Servlets allowing the dynamic generation of web pages.
JSP is a technology that enables the mixing of regular static web pages (HTML) with content generated dynamically by Java Servlets.
JSP can be used with Solaris and Linux platforms
Page centric approach advantage:
Simplicity
Homogeneity
Time-to-Market
Accessibility
Where to use yield() method in multithreading
The Yield method is used in java multi-threading to force the processor to skip the current running thread and send it to end of running queue of the same priority
Difference between doGet and doPost
• In doGet(), the parameters are appended to the URL and sent along with header information. This does not happen in case of doPost(). In doPost(), the parameters are sent separately.
• Since most of the web servers support only a limited amount of information to be attached to the headers, the size of this header should not exceed 1024 bytes. doPost() does not have this constraint.
• doGet() shall be used when small amount of data and insensitive data like a query has to be sent as a request.
• doPost() shall be used when comparatively large amount of sensitive data has to be sent. Examples are sending data after filling up a form or sending login id and password.
• Expression Language
The Java Unified Expression Language is a special purpose programming language mostly used in Java web applications for embedding expressions into web pages
Features
• Deferred evaluation
• Support for expressions that can set values and expressions that can invoke methods
• A pluggable API for resolving expressions
1. Why th reads are called light weight
Name of techniques from client and server side validation
Traditional web validation techniques
Difference between cooperative and preemptive multithreading components
In cooperative models, once a thread is given control it continues to run until it explicitly yields control or it blocks. In a preemptive model, the virtual machine is allowed to step in and hand control from one thread to another at any time
Every java class should fulfill some requirements to become java been- what are these requirements
All the requirements of equals and hash Code methods should be fulfilled
Ways to read initialization parameter of servlet
context init parameters
servlet init parameters
1. Why HTTP protocols are stateless?? 3
Ans:
HTTP is a stateless protocol, which means that the connection between the browser and the server is lost once the transaction ends.
2. Write code to set thread priority to maximum 3
Ans:More CS506 files
- CS506 - Web Design and Development 2.pdf (PDF · Study Resource)
- CS506 - Web Design and Development 2.pdf (PDF · Study Resource)
- CS506 All in 1 Mid CS506All files and PICS.pdf (PDF · Study Resource)
- CS506 Important Topics By Sir Zeeshan Salik (Virtual Tutors) (PDF · Study Resource)
- CS506.pdf (PDF · Study Resource)
- CS506_MID_SPRING2006-1.pdf (PDF · Study Resource)
- CS506_MID_SPRING2006.pdf (PDF · Study Resource)
- Fall 2022_CS506_2.doc (DOC · Study Resource)