CS508 Latest Mcq_s Final-Term.pdf

Verified academic study resource for CS508 (Modern Programming Languages) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 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
PDF
Type
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Tags
MCQ, FINALTERM

Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS508, regardless of midterm scores.

What this file covers — CS508 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. 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 CS508 Latest Mcq_s Final-Term.pdf for free?

You can preview and download "CS508 Latest Mcq_s Final-Term.pdf" (CS508 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs508-latest-mcq-s-final-term-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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 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

        MUHAMMAD FAISAL 
                         MIT 4th Semester
        Al-Barq Campus (VGJW01) Gujranwala
               faisalgrw123@gmail.com
   MEGA File Solved MCQ’s For Final TERM EXAMS
     CS508- Modern Programming Languages

Question No: 1 ( Marks: 1 ) - Please choose one
One difference LISP and PROLOG is

      AI
      Puzzle
      Game
      All f the given

Question No: 2 ( Marks: 1 ) - Please choose one
Variable of ________ is not an object of java

      Primitive
      Reference
      Integer type
      Both reference and Primitive

Question No: 3 ( Marks: 1 ) - Please choose one
In ________ every class in Java is part is overloaded

      C++
      Java
      C#
      C# and java

Question No: 4 ( Marks: 1 ) - Please choose one
C# and C++ have ________ size.

      Same
      Different
      Distinct
      None of the given

Question No: 5 ( Marks: 1 ) - Please choose one
________ compile into machine independent language, independent code which run in a
managed execution environment.

      C#
      Java
      C++
      Ada

Question No: 6 ( Marks: 1 ) - Please choose one
 ________ compile initially to an intermediate. Which can be run by interpretation or just
in time compilation or an appropriate virtual machine?

      C++ and C#
      C# and Java
      Java and C++
      Ada , C++

Question No: 7 ( Marks: 1 ) - Please choose one
 In _________ the relationship between a get and set method is inherited, while in
_________ it has to be maintained.

      Java , C++
      C++ , C#
      Ada , Java
      C# , Java or C++

Question No: 8 ( Marks: 1 ) - Please choose one
How many modes for the source code are in C#?

      One
      Two
      Three
      Four

Question No: 9 ( Marks: 1 ) - Please choose one
Which chaining type is used by Prolog?

      Backward
      Forward
      Up
      Horizontal

Question No: 10 ( Marks: 1 ) - Please choose one
_______exception inherits from exception class and _________ exception is anywhere in
the program.

      Java , C#
      C++ , C# c
      C# , Java
      Java ,C++

Question No: 11 ( Marks: 1 ) - Please choose one
In C# Managed code is executed under the control of

      CLR
      CRL
      Both of the above options
      None of the given

Question No: 12 ( Marks: 1 ) - Please choose one
In______ Boolean expression is convertible into integer type.

      C#
      C++
      JAVA
      Ada

Question No: 13 ( Marks: 1 ) - Please choose one
PHP syntax looks like ___________

      ASP syntax
      C/C++ syntax
      Both of the above options
      None of the given

Question No: 14 ( Marks: 1 ) - Please choose one
For narrowing conversion which type conversion is appropriate?

      Implicit Conversion
      Explicit Conversion
      Both of the above options
      None of the given

Question No: 15 ( Marks: 1 ) - Please choose one
In Java we can make pointer of_________.

      Any type
      Reference type only
      Both of the above options
      None of the given

Question No: 16 ( Marks: 1 ) - Please choose one
The concept of package in Java is similar to _________

      Assembly in C#
      Global class in C#
      Function in C#
      None of the given

Question No: 17 ( Marks: 1 ) - Please choose one
The concept of C# jagged array is similar in function to _________

      C++ rectangular Array
      Java Array of Array
      Java pointer Array
      C# Array

Question No: 18 ( Marks: 1 ) - Please choose one
Java has a String class which is not exactly an array of

      Char
      Elements
      Indices
      Long

Question No: 19 ( Marks: 1 ) - Please choose one
How many string operators are in PHP?

      2
      3
      4
      10

Question No: 20 ( Marks: 1 ) - Please choose one
C# code when compiled is converted into ________ code.

      MSIL
      MISL
      MSLI
      None of the given

Question No: 21 ( Marks: 1 ) - Please choose one
In C# _________can be inherited from other class but no inheritance from it. On the
other hand _________ cannot be inherited not inheritance is possible from it is possible.

      Private class , public class
      Sealed class ,struct in C#
      struct in C# , Sealed class
      public class , inherited class

Question No: 22 ( Marks: 1 ) - Please choose one
The concept of sealed class in C# is similar to ________

      Struct in C#,
      Struct in C++
      Abstract class in C#
      None of the given

Question No: 23 ( Marks: 1 ) - Please choose one
Enumeration type in C# may take any type of _______ in contrast to C++ where it take
only _________

   1) Numeric value, integer value
   2) Value type value, numeric value
   3) Primitive type value, reference type value
   4) Value type value, reference type value

Question No: 24 ( Marks: 1 ) - Please choose one
The IS operator in C# is used for_________

   1) Run time type conversion
   2) Run time type checking
   3) Run time type casting
   4) None of the given       (The ‘is’ operator supports run time type information)

Question No: 25 ( Marks: 1 ) - Please choose one
PHP is a __________typed language.

   1) Strongly
   2) Dynamic
   3) Static
   4) None of Given

Question No: 26 ( Marks: 1 ) - Please choose one
_________is more strongly typed language then __________

   1) C++, C#
   2) C#, C++
   3) C++, Java
   4) None of the given

Question No: 27 ( Marks: 1 ) - Please choose one
Anything starting with Capital or underscore is a variable in ____________

   1) Prolog,
   2) Lisp,
   3) COBOL
   4) None of the given

Question No: 28 ( Marks: 1 ) - Please choose one
In C# the if statement condition is an/a ________

   1) Arithmetic expression
   2) Boolean expression
   3) Numeric expression
   4) Both Numeric expression and Boolean expression

Question No: 29 ( Marks: 1 ) - Please choose one

More CS508 files

All CS508 files · Midterm Prep 2026 · MCQs Bank