CS202 Mid Term Subjective File by Tanveer Online Academy.docx
Verified academic study resource for CS202 (Web Design & Development) under the Computer Science at Virtual University of Pakistan. This DOC 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
- CS202 – Web Design & Development
- Faculty
- Computer Science
- Format
- DOC
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- SUBJECTIVE, 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 CS202.
What this file covers — CS202 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 CS202 Mid Term Subjective File by Tanveer Online Academy.docx for free?
You can preview and download "CS202 Mid Term Subjective File by Tanveer Online Academy.docx" (CS202 DOC, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs202-mid-term-subjective-file-by-tanveer-online-academy-docx) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS202 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 CS202 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 CS202 solved past papers and handouts verified for 2026 exams?
Yes. All CS202 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
CS202 Mid Term Subjective File by Tanveer Online Academy
Write the code in CSS for table with border 1px and background color should be green. (3𝗆𝖺𝗋𝗄𝗌)
Answer:
table
{
border: 1px solid black; /* 1px solid black border */
background-color: green; /* Green background color */
}
H2O is given as text and you have to write 2 is subscript.
Answer:
To write H2O with the "2" as a subscript, you can use HTML formatting as follows:
H<sub>2</sub>O
This will display "H₂O" with the "2" subscripted.
Write output of the following code:
<html>
<body>
<h2> HTML List</h2>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
</body>
</html>
Answer:
HTML List
• Coffee
• Tea
• Milk
How to convert HTML code to XHTML? Write 4 points
Answer:
To convert HTML code to XHTML:
• Add an XML declaration (<?xml version="1.0" encoding="UTF-8"?>).
• Replace the HTML doctype with an XHTML doctype.
• Ensure all elements have proper closing tags.
• Quote all attribute values using double quotes.
Write the syntax of comments in java script?
Answer:
Single-line Comments:
// This is a single-line comment
Multi-line Comments:
/*
This is a multi-line comment
*/
Create a form in html of student name and roll number?
Answer:
<! DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Information Form</title>
</head>
<body>
<h2>Student Information Form</h2>
<form action="#" method="POST">
<label for="studentName">Student Name:</label><br>
<input type="text" id="studentName" name="studentName"><br><br>
<label for="rollNumber">Roll Number:</label><br>
<input type="text" id="rollNumber" name="rollNumber"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
Output of the above code:
Define URL?
Answer:
A URL (Uniform Resource Locator) is a reference to a web resource that specifies its location and, optionally, a protocol for accessing it. It serves as a standardized way to identify resources on the internet.
Types of Lists in HTML?
Answer:
In HTML, there are three main types of lists:
• Ordered List (<ol>)
• Description List (<dl>)
• Unordered List (<ul>)
Why we use comments?
Answer:
Comments Markup languages like HTML serve to enhance code readability and understanding. They act as documentation, clarify complex sections, aid debugging, facilitate communication within teams, and enable temporary code adjustments without deletion. Overall, they are essential for code maintenance and collaboration.
Differentiate between Div and Span?
Answer:
<div> (Division):
The <div> element is a block-level element, meaning it typically starts on a new line and takes up the full width available.
It is used to group together HTML elements and create divisions or sections within a web page.
<div> elements are often used to structure the layout of a webpage, such as defining sections, sidebars, headers, footers, etc.
It is commonly styled with CSS to control its appearance, layout, and positioning.
Examples: <div id="header">, <div class="sidebar">, <div class="container">.
<span> (Inline Span):
The <span> element is an inline-level element, meaning it does not start on a new line and only takes up as much width as its content requires.
It is used to apply styles to a specific portion of text or content within a larger block of text.
<span> elements are often used to apply CSS styles, such as color, font size, font weight, etc., to individual words or phrases within a paragraph.
It does not affect the layout of the document and is typically used for small-scale styling or scripting purposes.
Examples: <span class="highlight">, <span style="color: red;">.
More CS202 files
- CS202 Current Midterm 2022 Papers.pdf (PDF · Midterm)
- CS202 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS202 MIDTERM SOLVED MCQS BY JUNAID MALIK.pdf (PDF · Midterm)
- CS202 Mid Term Objective by VU Stars.pdf (PDF · Midterm)
- CS202 Mid Term Objective by VU Stars.pdf (PDF · Midterm)
- CS202 Mid Term Subjective File by Tanveer Online Academy.pdf (PDF · Midterm)
- CS202 Mid Term Syllabus.pdf (PDF · Midterm)
- CS202 Mid Term Syllabus.pdf (PDF · Midterm)