CS506 Mcqs MidTerm By Vu Topper RM.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
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
MCQ, 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

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. 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 Mcqs MidTerm By Vu Topper RM.pdf for free?

You can preview and download "CS506 Mcqs MidTerm By Vu Topper RM.pdf" (CS506 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs506-mcqs-midterm-by-vu-topper-rm-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

 Cs-506 Important Mid Term
Mcq’s Solution 100% Correct :
  Solve By Vu-Topper RM!!

Question No:1                    (Marks:1)                       Vu-Topper RM
How many ports are available for TCP socket?
64k                           Page 193

Question No:2                    (Marks:1)                       Vu-Topper RM
In Java, ____________ types of statement objects are available for sending SQL
queries to the databases.
Three                     Page 140

Question No:3                    (Marks:1)                       Vu-Topper RM
Which of the following statement object is used to execute stored procedures?
CallableStatement          Page 159

Question No:4                       (Marks:1)                        Vu-Topper RM
If you want the timer to fire only the first time and then stop, invoke
______________.
SetRepeats                G

Question No:5                    (Marks:1)                       Vu-Topper RM
How many ports are available for UDP socket?
64k                           Page 193

Question No:6                      (Marks:1)                      Vu-Topper RM
In order to include graphics in your Java program, it is mandatory to extend from-
---------class.
JPanel                 G

Question No:7                   (Marks:1)                        Vu-Topper RM
Which of the following methods is called only once during the life cycle of an
Applet?
init( )                     Page 184

Question No:8                    (Marks:1)                   Vu-Topper RM
An applet can be defined as:
A small program written in java and included in an HTML page        G

Question No:9                   (Marks:1)                      Vu-Topper RM
Which of the following methods is used to determine whether a database is read
only or not?
isReadOnly()                      Page 177

Question No:10                    (Marks:1)                      Vu-Topper RM
Timer t = new Timer (1000, this);
action events                       Page 179
For More Help Vu-Topper RM Contact What's app 03224021365

Question No:11                (Marks:1)                    Vu-Topper RM
How many simultaneous connections can be opened using TCP and UDP ports?
128k                 Page 193

Question No:12                   (Marks:1)                     Vu-Topper RM
There are ________ steps in order to communicate successfully with database.
Eight                   Page 144

Question No:13                   (Marks:1)                      Vu-Topper RM
An applet is typically embedded in a Web page and can be run from a browser.
False                  Page 181

Question No:14                    (Marks:1)                       Vu-Topper RM
In the context of Java Graphics; most of time, painting is done automatically.
Java components                  Page 165

Question No:15                      (Marks:1)                   Vu-Topper RM
If we want to animate something like ball, moving from one place to another, we
constantly need to call paint ( ) method.
False            G

Question No:16                 (Marks:1)                    Vu-Topper RM
In ResultSetMetaData methods, ____________ method returns the suggested
column label for printouts.
The getColumnLabel()        Page 157

Question No:17                      (Marks:1)                        Vu-Topper RM
The server just waits, listening to the socket for a client to make a connection
request.
Client - Server Communicate           Page 193

Question No:18                  (Marks:1)                   Vu-Topper RM
Which of the following methods is invoked by the AWT package to support paint
and repaint operations?
paint( )    Page 180

Question No:19                   (Marks:1)                      Vu-Topper RM
Which of the following statement object is used to execute precompiled SQL
statements?
PreparedStatement          Page 147

For More Help Vu-Topper RM Contact What's app 03224021365

Question No:20                    (Marks:1)                        Vu-Topper RM
Which of the following is the correct java code statement that is used to establish
the connection?
Connection con = DriverManager.getConnection(url);                 Page 153
Question No:21                    (Marks:1)                        Vu-Topper RM
Which of the following syntaxe is used to get ResultSetMetaData object?
MetaDataEx              Page 157

Question No:22                   (Marks:1)                   Vu-Topper RM
FTP (File Transmission Protocol) works on _____________ port.
21         Page 194

Question No:23                   (Marks:1)                        Vu-Topper RM
Exception handling code is written in ______.
catch block          Page 72

Question No:24                   (Marks:1)                      Vu-Topper RM
The classes which contain the word _____ in their name are byte oriented streams.
Stream           Page 84

Question No:25                (Marks:1)                     Vu-Topper RM
Which command of the following commands is used to compile “Java Test” java
file’s code?
javac JavaTest.java        G

Question No:26                  (Marks:1)                         Vu-Topper RM
WindowListener interface contains ________ methods.
Seven          Page 116

Question No:27                    (Marks:1)                       Vu-Topper RM
Java developed in __________
1995        Page 12

Question No:28                    (Marks:1)                       Vu-Topper RM
You can ---------to a network using sockets.
Read/Write          Page 222

Question No:29                    (Marks:1)                       Vu-Topper RM
Socket is a --------------communication channel between hosts.
Uni-directional
Bi-directional           Page 211

For More Help Vu-Topper RM Contact What's app 03224021365

Question No:30                 (Marks:1)                       Vu-Topper RM
To create DataBaseMetaData object we write following line of code
DataBaseMetaData db = con.getMeataData();                  Page 177

Question No:31                      (Marks:1)                 Vu-Topper RM
Event source can have --------- listeners registered on it.
Can’t be       Page 96

More CS506 files

All CS506 files · Midterm Prep 2026 · MCQs Bank