CS506 Web Design and Development Solved Objective Midterm Papers For Preparation of Midterm Exam.pdf
Verified academic study resource for CS506 (Enterprise Application Development) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- OBJECTIVE, SOLVED, MIDTERM
Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS506.
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)
Frequently asked questions
Where can I download CS506 Web Design and Development Solved Objective Midterm Papers For Preparation of Midterm Exam.pdf for free?
You can preview and download "CS506 Web Design and Development Solved Objective Midterm Papers For Preparation of Midterm Exam.pdf" (CS506 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs506-web-design-and-development-solved-objective-midterm-papers-for-preparation-of-midterm-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS506 file?
This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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
CS506 Web Design and Development Solved Objective Midterm
Papers For Preparation of Midterm Exam
Question No: 1 ( Marks: 1 ) - Please choose one
If we remove static from main then program _
►Program cannot compile
►Program will compile and work properly
►Run time errors
►Exception throws in main Click here for Detail
Question No: 2 ( Marks: 1 ) - Please choose one
If we remove String array from main then program
►Program cannot compile
►Program will compile and work properly
►Run time errors Click here for Detail
►Exception throws in main
Question No: 3 ( Marks: 1 ) - Please choose one Java developed in
►1990
►1995 (Page 12)
►1997
Virtualians Social Network www.virtualians.pk Prepared by: Irfan Khan
1
MIDTERM EXAMINATION
Fall 2008
CS506- Web Design and Development (Session - 2)
Question No: 1 ( Marks: 1 ) - Please choose one
Which of the following methods are invoked by the AWT to support paint and repaint operations?
► paint( ) Click here for Detail
► repaint( )
► draw( )
► redraw( )
Question No: 2 ( Marks: 1 ) - Please choose one
When defining a method you must include a to declare any exception that might be thrown but is
not caught in the method.
► try block
► finally block
► catch block
► throws-clause Click here for Detail
Question No: 3 ( Marks: 1 ) - Please choose one
Aside from the Scanner class, which of the following classes can be used for text-file file input?
► ObjectInputStream
► BufferedReader Click here for detail
► StringTokenizer
► None of these
Question No: 4 ( Marks: 1 ) - Please choose one
Which of the following statements is true regarding Vectors with no specified base type?
► A base type is needed, because Java needs to know how to allocate memory.
► No base type is needed, because Java will use the Object class as a base type. Click here for detail
► If a base type is not specified the code will not compile.
► No base type is needed because Vectors default to storing String objects.
Question No: 5 ( Marks: 1 ) - Please choose one
A serializable class must implement the method(s) .
► readObject and writeObject
► Either readObject or writeObject, or both, depending upon the desired behavior
Virtualians Social Network www.virtualians.pk Prepared by: Irfan Khan
2
► No need to implement any method Click here for Detail
► None of the given option
Virtualians Social Network www.virtualians.pk Prepared by: Irfan Khan
3
Question No: 6 ( Marks: 1 ) - Please choose one
You can ---------to a network using sockets.
► Read
► Write
► Read/Write (Page 222)
► None of these
Question No: 7 ( Marks: 1 ) - Please choose one
Socket is a --------------communication channel between hosts.
► Uni-directional
► Bi-directional (Page 211)
► Multi-directional
► None of these
Question No: 8 ( Marks: 1 ) - Please choose one
Which of the following are passed as an argument to the paint ( ) method?
► A Canvas object
► A Graphics object Click here for detail
► An Image object
► A paint object
Question No: 9 ( Marks: 1 ) - Please choose one
The code below draws a line. What color is the line?
g.setColor(Color.red.green.yellow.red);
g.drawLine(0, 0, 100,100);
► Red
► Green
► Yellow
► Black
Question No: 10 ( Marks: 1 ) - Please choose one
To create DataBaseMetaData object we write following line of code
► DataBaseMetaData db = con.getMeataData(); (Page 177)
► ResultSetMetaData rsmd = rs.getMetaData();
► ResultSetMetaData rsmd = rs.setMetaData();
► DataBaseMetaData db = con.setMeataData();
3
Question No: 11 ( Marks: 1 ) - Please choose one
Event source can have --------- listeners registered on it.
► Single
► Double
► Triple
► Multiple (Page 125)
Question No: 12 ( Marks: 1 ) - Please choose one
An abstract class --------------- instantiated.
► Can’t be (Page 96)
► Can be
► Must
► None of these
Question No: 13 ( Marks: 1 ) - Please choose one
A defines the way and method of communication between two parties.
► Compiler
► Protocol (Page 242)
► Tool
► Technique
Question No: 14 ( Marks: 1 ) - Please choose one
What if the static modifier is removed from the signature of the main method?
► The program does not compile
► The program compiles but does not run
► The program compiles and runs properly
► The program throws an exception on compile time Click here for Detail
Question No: 15 ( Marks: 1 ) - Please choose one
What if the main method is declared as private?
► The program does not compile…
► The program compiles but does not run Click here for Detail
► The program compiles and runs properly
► The program throws an exception on compile time
Question No: 16 ( Marks: 1 ) - Please choose one
A member variable or method prefixed by the protected access modifier can be accessed:
► Within the same class
► Within the sub-class
► Within the same package
► All of the above Click here for Detail
4
MIDTERM EXAMINATION
Spring 2006More CS506 files
- CS506 MIDTERM FILE 1 SOLVED BY TEAM HADI (1).pdf (PDF · Midterm)
- CS506 MIDTERM FILE 1 SOLVED BY TEAM HADI-1.pdf (PDF · Midterm)
- CS506 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS506 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS506 MIDTERM FILE 2 SOLVED BY TEAM HADI (1).pdf (PDF · Midterm)
- CS506 MIDTERM FILE 2 SOLVED BY TEAM HADI-1.pdf (PDF · Midterm)
- CS506 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS506 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)