CS508-MidTerm-By_Rana_Abubakar_Khan.pdf
Verified academic study resource for CS508 (Modern Programming Languages) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File compiled by Rana Abubakar Khan) 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
- CS508 – Modern Programming Languages
- Faculty
- Computer Science
- Format
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Compiled by
- Rana Abubakar Khan
- Tags
- 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 CS508.
What this file covers — CS508 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 CS508-MidTerm-By_Rana_Abubakar_Khan.pdf for free?
You can preview and download "CS508-MidTerm-By_Rana_Abubakar_Khan.pdf" (CS508 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs508-midterm-by-rana-abubakar-khan-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS508 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 CS508 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 CS508 solved past papers and handouts verified for 2026 exams?
Yes. All CS508 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
Rana Abubakar Khan
If you want to learn computer programming then contact with me
truefriendlion@gmail.com
JOIN FB GROUP FOR VU HELP
www.facebook.com/groups/vu1234/
CS508 MID TERM PAPER SHARED BY STUDENT
ON JUNE 29, 2018 AT 1:11PM
Today's paper was very tough
no mcq from past papers
why fortran60 was not widely used? 5 marks
language used for Artificial intelligence ? 3 marks
Snobol se zyada paper aya tha.
CS508 MID TERM PAPER SHARED BY STUDENT
ON DECEMBER 27, 2018 AT 10:19AM
My Paper today at 8:30
Total MCQs=18 (17 from Past papers and 1 was new)
Total Subjective = 5 (3+3+5+5+5)
Define a record of Cat aour us k attributes diay huay thy (5 M)
1
If Zuse’s Plankalkül Language was introduced earlier which 2 languages we may not seen? And why? (5)
Answer
FORTRAN & COBOL
Code was given in SNOBOL jis main size function sy resultant string aour us ka size batana tha (5)
Language which do not supply array bound checking at compile time.And what will be the problem
Answer
I think java provides it. Problem will be at run time and an exception will occure
Three Math Functions in LISP (3 M)
Answer
Sin, Cos, Tan, Exp
Objective k file attach hy all in 1 past papers and quizes
CS508 MID TERM PAPER SHARED BY STUDENT
ON DECEMBER 17, 2016 AT 12:10PM
Here I am going to share my cs508 paper which was held on 17 december 2016 The questions in cs508 current
paper was like:
1. Which language had a strong influence on one of the high level system programming language like C?
2. What is the role of Atoms in LISP?
3. Which of the languages first provided a structured exception handling mechanism among Ada and C++?
4. Considering ‘Generalization’ as an important factor that helps to manage complexity of any programming
language. Briefly mention how could generality be considered as an important language evaluation criteria?
2
5. Explain the concept of dangling else with an example. And also explain the solution to this problem. 6.
Suppose you have to write a program in Ada Language for calculating marks of a student for 3 subjects. The total
marks for each subject is as follow: Subject1= 100 Subject2= 200 Subject2= 400 How will you restrict users to not
enter values less than 0 and greater than total marks? Also write code snippet for this.
Note: The use of loops and conditions are not allowed.
CS508 MID TERM PAPER SHARED BY STUDENT
ON DECEMBER 17, 2016 AT 1:10PM
1.Why COBOL was encountered at the start with problems? 2 marks.
2.From the following code snippet in Ada execute which statement if "A" contains "12". 2 marks.
Case "A" is
When 1 => fly
When 11| 14 => null;
When 22|20..30=> ;
When others=>complain;
End case;
3.Code given tha us ka output btana tha Lisp mein tha code. 3 marks.
4.In SnoBol4 create a table of unspecified length. 3 marks.
5.In transition C++ in Java what data structures are eliminated.Also give the reasons of elimination of data
structure of C++ in Java. 5 marks.
5.In Ada how is different 5 marks.
I) C expression symbolic literals.
II)C++ operator overloading.
CS508 MID TERM PAPER SHARED BY STUDENT
CURRENT PAPER CS508 17/12/2016
1. Write two data type use in SNOBOL.
2. Why we say expansion handling mechanism of Ada good then other language.
3. Type BIG is mod 8;
big1: BIG:=3; any error in Ada code
4. Write three aspect of Readability.
5. Why we not write > (squire x) in lips. Write any way to assign value to x.
6.Why Readability preferred over writability when conflicting satiation occur. Explain
3
CS508 MID TERM PAPER SHARED BY STUDENT
MY TODAY PAPER OF CS508 (19/12/2016)
Question # (01):
Explain the term Writability as a measure of supports for abstraction with example?
Question # (02):
Find the length of the LIST L’ (D E F G I) by using List manipulation function?
Question # (03):
In which a program will crash, in run time checking or compile time checking? And briefly explain program
reason?
Question # (04):
Write the name of operators which are available in Ada but not in C/C++?
Question # (05):
Convert the following facts into Prolog facts
Fred Eats Orange
Dolphin Is A Mammal
John Likes Merry
Sana Sing Song
Azmat Cooks Food
Question # (06):
A XYZ school requires a scientific system, The system will be responsible for delivering full understanding of the
subjects to students by implementing all the mathematical rules and formulae e.g. Solving differential equation,
evaluating integrals etc, Being a programmer identify the language which is most suitable for the design of this
system, Also explain the reason for selection
CS508 MID TERM PAPER SHARED BY STUDENT
MY TODAY PAPER OF CS508 (19/12/2016)
Question # (01):
Explain the term Writability as a measure of supports for abstraction with example?
Question # (02):
Find the length of the LIST L’ (D E F G I) by using List manipulation function?
Question # (03):
In which a program will crash, in run time checking or compile time checking? And briefly explain program
reason?
4
Question # (04):
Write the name of operators which are available in Ada but not in C/C++?
Question # (05):
Convert the following facts into Prolog facts
1. Fred Eats Orange
2. Dolphin Is A Mammal
3. John Likes Merry
4. Sana Sing Song
5. Azmat Cooks Food
Question # (06):
A XYZ school requires a scientific system, The system will be responsible for delivering full understanding of the
subjects to students by implementing all the mathematical rules and formulae e.g. Solving differential equation,More CS508 files
- CS508 CURRENT MIDTERM SOLVED SUBJECTIVE By JUNAID.pdf (PDF · Midterm)
- CS508 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS508 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS508 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS508 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS508 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS508 MIDTERM SOLVED MCQS By JUNAID (1).pdf (PDF · Midterm)
- CS508 MIDTERM SOLVED MCQS By JUNAID-1.pdf (PDF · Midterm)