Cs310 Slides in PDF Format Pin✌️.pdf
Verified academic study resource for CS310 (Introduction to Programming (Python)) under the Computer Science at Virtual University of Pakistan. This PDF document (Official Lecture Handouts & Highlighted Notes) covers Complete Course Handouts (Lectures 1 to 45) spanning approximately 450 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS310 – Introduction to Programming (Python)
- Faculty
- Computer Science
- Format
- Type
- Handout
- Coverage
- Complete Course Handouts (Lectures 1 to 45)
- Tags
- SLIDES
Virtual University examiners construct 100% of objective MCQs and subjective marking schemes directly from the official CS310 handouts.
What this file covers — CS310 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 Cs310 Slides in PDF Format Pin✌️.pdf for free?
You can preview and download "Cs310 Slides in PDF Format Pin✌️.pdf" (CS310 PDF, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs310-slides-in-pdf-format-pin-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS310 file?
This document covers Complete Course Handouts (Lectures 1 to 45) 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 CS310 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 CS310 solved past papers and handouts verified for 2026 exams?
Yes. All CS310 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
PHP is a server scripting language, and a
powerful tool for making dynamic and
interactive Web pages.
PHP is a widely-used, free, and efficient
alternative to competitors such as Microsoft's
ASP.
While PHP originally stood for Personal Home
Page, it now stands for (PHP: Hypertext
Preprocessor), which is a recursive acronym.
P -> PHP
H -> Hypertext
P -> Preprocessor
It is powerful enough to be at the core of the
biggest blogging system on the web
(WordPress)!
It is deep enough to run the largest social
network (Facebook)!
It is also easy enough to be a beginner's first
server side language!
PHP can generate dynamic page content
PHP can create, open, read, write, delete, and
close files on the server
PHP can collect form data
PHP can send and receive cookies
PHP can add, delete, modify data in your
database
PHP can be used to control user-access
PHP can encrypt data
With PHP you are not limited to output HTML.
You can output
Images
PDF files
Flash movies
XHTML
XML.
PHP runs on various platforms (Windows,
Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers
used today (Apache, IIS, etc.)
PHP supports a wide range of databases like
MySQL, MS Access, MS SQL Server, Oracle, etc
PHP is free.
PHP is easy to learn and runs efficiently on
the server side
PHP is FREE
It runs on Linux which is FREE
It support MySQL Free
It runs on Apache which is also free
That is why most of the time hosting of PHP is
cheap.
A PHP script can be placed anywhere in the
document.
A PHP script starts with <?php and ends
with ?>:
<?php
// PHP code goes here
?>
Extension of PHP page should be .php
PHP statements end with a semicolon (;)
To get the PHP running at your computer you
will need to
install a web server
install PHP
install a database, such as MySQL
The official PHP website (PHP.net) has
installation instructions for
PHP: http://php.net/manual/en/install.php
Installation and configuration process of PHP
can be easily done using Bundled Software
know as LAMP and WAMP
LAMP Stands for Linux, Apache, MySQL
and PHP.
WAMP is Windows, Apache, MySQL and PHP.
We will be using a WAMP bundle
This is a open source platform.
WAMP Server works on Windows Operating
System only.
WAMP is a combine
package of Windows, Apache, MySQL
and PHP.
.
VertrigoServ is easy to install package
consisting of
Apache (HTTP web server)
PHP(Server Side Scripting)
MySQL (SQL Database Management System)
PhpMyAdmin (tool written in PHP intended to
handle the administration of MySQL)
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>
In PHP there are two basic ways to get output:
echo
h andd print.
i t
The differences are small:
echo has no return value while print has a
return value of 1 so it can be used in
expressions.
i
echo can take multiple parameters (although
such usage is rare) while print can take one
argument.
echo is marginally faster than print.
The echo statement can be used with or
without parentheses: echo or echo().
The following example shows how to output
text with the echo command (notice that the
text can contain HTML markup)
<?php
echo "<h2>PHP is Fun!</h2>";
echo "Hello world!<br>";
echo "I'm
I m about to learn PHP!<br>";
PHP!<br> ;
echo "This ", "string ", "was ", "made ",
"with multiple
p p parameters.";;
?>
<?php
$txt1 = "Learn PHP";
$txt2 = "W3Schools.com";
$x = 5;
$y = 4;
echo "<h2>$txt1</h2>";
echo "Study PHP at $txt2<br>";
h $
echo $x + $
$y;
?>
The following example shows how to output
text with the print command (notice that the
text can contain HTML markup)
<?php
print "<h2>PHP
<h2>PHP is Fun!</h2>";
Fun!</h2> ;
print "Hello world!<br>";
print "I'm about to learn PHP!";
?>
A comment in PHP code is a line that is not
read/executed as part of the program. Its only
purpose is to be read by someone who is
looking at the code.
Comments can be used to:
Let others understand what you are doing
Remind yourself of what you did - Most
programmers have experienced coming back
to their own work a year or two later and
having to re-figure
re figure out what they did.
Comments can remind you of what you were
thinking when you wrote the code.
PHP supports several ways of commenting:
// (Single Line Comment)
# (Single Line Comment)
/* */ (Multiple Line Comments)
<!DOCTYPE html>
<html>
<body>
<?php
// This is a single-line comment
# This is also a single-line comment
/*
This is a multiple-lines
multiple lines comment block
that spans over multiple
lines
*/
<?>
</body>
</html>
<!DOCTYPE html>
<html>
ht l
<body>
<?php>
// You can also use comments to leave out
parts of a code line
$ = 5 /* + 15 */ + 5
$x 5;
echo $x;
?>
</body>
</html>
In PHP, all keywords (e.g. if, else, while, echo,
etc.), classes, functions, and user-defined
functions are NOT case-sensitive.
case sensitive
<!DOCTYPE html>
<html>
<body>
<?php
ECHO "Hello World!<br>";
echo "Hello
Hello World!<br>
World!<br>";;
EcHo "Hello World!<br>";
?>
</body>
</html>
All variable names are case-sensitive
<!DOCTYPE html>
<html>
<body>
<?php
$color = "red";
echo "My
My car is " . $color . "<br>";
<br> ;
echo "My house is " . $COLOR . "<br>";
echo "My boat is " . $coLOR . "<br>";
?>
</body>
</html>
A variable can have a short name (like x and
y) or a more descriptive name (age,
studentname, total_volume).
A variable starts with the $ sign, followed by
the name of the variable
A variable
i bl name must start withMore CS310 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS310 Mcq_s FinalTerm By Vu Topper RM.pdf (PDF · Final-Term)
- CS310_Final-2.pdf (PDF · Final-Term)
- Cs-310 Solved Mcq_s Final Term By Vu Topper RM.pdf (PDF · Final-Term)
- cs310 & cs311 final.rar (ARCHIVE · Final-Term)
- cs310 & cs311 final.rar (ARCHIVE · Final-Term)
- cs310-midterm-mcqs-with-reference-solved-by-arslan.pdf (PDF · Midterm)