CS508-FinalTerm MCQs With Reference Solved By Arslan.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, SOLVED, 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-FinalTerm MCQs With Reference Solved By Arslan.pdf for free?

You can preview and download "CS508-FinalTerm MCQs With Reference Solved By Arslan.pdf" (CS508 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs508-finalterm-mcqs-with-reference-solved-by-arslan-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

                                             Solved MCQ(S)                                   Jan
                                          From FinalTerm Papers                            14, 2018
                                                BY Arslan
     V-U               For Updated Files Visit Our Site : Www.VirtualUstaad.blogspot.com   Updated.

               Final-Term Papers Solved MCQS with Reference
1. The syntax of PHP foreach loop is similar to ___________ loop.

   o C++ foreach

   o C# foreach

   o Java foreach

   o C++ for

2. With programming in ____________ we state what and not how.

   o Prolog                           PG # 92

   o Algol

   o C#

   o Fortran

3. When the type is fixed before run time then this is called as ___________.

   o Load time binding

   o Static binding                         Click Here For Reference

   o Dynamic binding

   o None of the given

4. A programming language is ___________ typed if type errors are _____________ detected.

   o Weakly, Always

   o Always, weakly

   o Strongly, often

   o Strongly, always                           PG # 171

5. All objects in Java are _______________.

   o Explicit heap dynamic

   o Dynamic storage binding

   o Stack dynamic storage binding

   o Static storage binding

6. _________________ usually a logical grouping of heterogeneous elements.

   o Array is

   o Record is                                  PG # 176

   o Structure is

   o Both Structure and Record are

7. In Java the arithmetic expression evaluation order is always from ____________

   o Centre to right

   o Right to Left

   o Centre to left

   o Left to right                             Click Here For Reference

8. A control structure is a ____________ and the statement whose execution it controls.

   o Control algorithm

   o Control statement                        PG # 185

   o Control keyword

   o None of the given

9. In ____________ control statements were based directly on IBM 704 hardware.

  o Ada

  o FORTAN I                                  PG # 185

  o FORTRAN 77

  o IBM Assembly language

10. We cannot pass array in _________ by value as it has no fix size. But it has fixed size in structure.

   o C#

   o Java

   o C++

   o C

11. ________________ is a language for symbolic computation and its syntax is based on lambda calculus.

  o ALGOL

  o MATLAB

  o C

  o LISP                                   PG # 27

12. Ada is a_________ typed language.

   o Weakly

   o Random

   o Strongly                              PG # 48

   o List

13. The integrity of types is checked from all together in ____________.

   o SNOBOL

   o ALGOL

   o Plankal Koll

   o Ada

14. A language is reliable if during execution it does not create _____________.

   o Result

   o Error

   o Bytecode

   o Malfunction

15. _________________ is not a valid Prolog atom.

  o this_is_it

  o Mary, _c1

  o ‘Hello’

  o f

16. _______________ generates readable code which is easy to maintain.

  o Clauses

  o Backtracking                              PG # 97

  o Inference mechanism

  o Facts

17. In C#, value type objects use memory of _____________ data structure.

   o List

   o Tree

   o Stack

   o Heap

18. ____________ is an 8-byte Integer.

  o Short

  o Long

  o Byte

  o Char

19. Simple data structure and large floating point operations are linked to ______________.

  o Artificial intelligence language domain

  o Parallel programming domain

  o Scientific application programming domain

  o System programming domain

20. Each source file in _____________ has a public class

   o C++

   o C#

   o Java                               PG # 98

   o None of the given

21. There is no automatic type conversion in _______________.

  o C

  o Both Java and C++

  o Java

  o C++

22. Every class in Java is part of some ________________.

  o Subclass

  o Method

  o Package                             PG # 107

  o Object

23. Automatic garbage collection in Java prevents _________________.

  o Multithreading

  o Exception handling

  o Indirect referencing

  o Dangling pointers                      PG # 117

24. Value types in C# are inherited from ________________.

  o Java Primitive type

  o Object

  o Reference

  o None of the given

25. In C# the if statement condition is an/a ________________.

   o Arithmetic expression

   o Boolean expression

   o Numeric expression

   o Both Numeric expression and Boolean expression

26. PHP supported all major Databases including ______________.

   o None of the given

   o ODBC

   o ORACLE

   o SQL Server

   27. In _____________ the Break statement may have the optional parameter or argument.

      o C/C++

      o Java

      o PHP

      o Java Script

   28. Classes and objects of PHP are similar to _____________.

       o Classes and objects of C++

       o Classes and objects of Java

       o Classes and objects of C

       o Classes and objects of Basic

   29. ____________________ operator in Prolog is used for List construction and also for List dismantling.

      o |(Vertical Slash)                           PG # 90

      o !(Sign of exclamation)

      o :(Colon)

      o None of the given

The | has dual purpose in Prolog; it is used for list construction as well as list dismantling.

   30. In JavaScript ________________ operator is used for concatenation.

      o Dot (.)

      o Plus (+)                                  PG # 152

      o |

      o ^

31. The resultant value of variable „ x „ in JavaScript statement var x = "5” - “2”; will be _____________.

  o 5-2

  o 52

  o “5” - “2”

  o 3

32. The ____________ model in JavaScript provides access to the contents of the browser window.

   o DOM                                  PG # 155

   o BOM

   o ROM

   o COM

33. In ____________ we may specify the range and precision for floating point numbers.

  o C#

  o C/C++

  o Ada

  o Both Ada and C#

34. _______________ parameters are declared inside a subprogram.

  o Default

  o Actual

  o Formal

  o Copy

More CS508 files

All CS508 files · Midterm Prep 2026 · MCQs Bank