CS508-Midterm-Grand-Solved-Quiz-1.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) 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
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
SOLVED, 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

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. 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-Grand-Solved-Quiz-1.pdf for free?

You can preview and download "CS508-Midterm-Grand-Solved-Quiz-1.pdf" (CS508 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs508-midterm-grand-solved-quiz-1-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

               LMS handling service are
                     available
                         PAID
               Assignment, QUIZ, GDBZ and
                GRAND QUIZ SERVICE are
GRAND QUIZ             available

                     0304-1659294
0304-1659294
JUNAID MALIK

AL-JUNAID INSTITUTE GROUP
        CS508 GRAND QUIZ BY JUNAID
Sr No   MCQS      QUESTION                                                   ANSWER
1       _______was designed primarily for system simulation                  Simula

2       Which of the following is not a discrete type in ada.                String Type

3       The property list in LISP is a substitute of______.                  C/C++ Structure

4       Which of the following operator is used for pattern matching is      (Space)
        SNOBOL?
5       In SNOBOL, we can create new pattern by____ two or more              Concatenating
        pattern.

6       A_____ is used to signify a potentially infinite loop in ada.        Simple loop

7       The design and evaluation of a particular_____ is highly dependent   Programming
        on the domain in which it is to used.                                language

8       “Everything for everybody” was the motive of the language            PL/1

9       Which of following is not part of standard SNOBOL4 statement         END
        structure?
10      The first programming language was______. Developed by Zuse in       Plankalkul
        isolation.
11      The tools we use have a profound (and devious!) influence on         Thinking
        our____ habits and. Therefore, on our thinking abilities.
12      Which of the following functions assigns value 5 to symbol y.?       >(setq y 5)

13      _____ was considered good for describing algorithms.                 ALGOL

14      ______ was developed at Bell labs by Stroustrup. It evolved from C   C++
        and SIMULA 67.
15      What is maximum length of variable name is Snobol?                   120

16      The first programming language to support Recursion was_____.        LISP

17      Two important versions of LISP are_________.                         Scheme and Common
                                                                             Lisp
18      Pascal language was popular in Colleges and universities to teach:   Structured
                                                                             Programming
19      _____was developed at Sun in the early 1990s and is based on C++.    Java

20      To implement a counter-controlled loop in LISP. Which of the         Dotimes
        following statement is used?
21      Measure of______ is considered as the cost of writing                Productivity
        programming language.
22      _____ was the era when programming language design took an           1950s

AL-JUNAID INSTITUTE GROUP
     empirical approach.
23   _____ are a type of Aliasing.                                          Pointers

24   Some languages allow special keywords for signaling the start and      Readable
     of a construct. Making it more______ and less prone to errors.
25   In the Decimal fixed point type. The distance between values is        10
     implemented as a power of______.
26   Following are some of the reasons for studying concepts related to     Increased capability to
     different programming languages EXCEPT.                                design
                                                                            communication links
27   Which of the following statement is correct about SNOBOL?              Poor Readability poor
                                                                            Writability
28   A query given to a PROLOG system:                                      Is a pattern matching
                                                                            exercise
29   A loop in which condition is tested after executing the body of loop   ‘do while’ loop
     post-test loop. Which of the following post-test loop is not
     supported in Ads language?
30   Which of the following is an incorrect option from the                 Help in understanding
     following statements regarding ‘objectives of learning                 the language privacy
     new languages ’?                                                       policy.

31   Computer architecture has a major influence on the                     True
     design of programming language.

32   A language that is more orthogonal is usually more                     Readable
     _________.

33   The variable name has profound effect on _______________.              Readability

34   Following factors influences a portable language design                Programmer’s time
     EXCEPT.
35   In SONOBOL TABLES can be used in a manner similar to                   Array
     ___.
36   Programming Language is basically a tool for instructing a             True
     computer to perform specified set of task.

37   Initial version of SONOBOL only supports __________ and                Integer
     string
38   COBOL is mainly designed for _______.                                  Business
                                                                            application
39   Following are imperative languages EXCEPT                              LISP

40   Binary operator in SONOBOL must have at least ________                 1

AL-JUNAID INSTITUTE GROUP
     spaces on both sides.
41   _______ was the first object oriented language.                      SIMULA

42   COBOL was the first language that brings the concept                 Records
     of__________.
43   _____ are a type of Aliasing.                                        Arrays
44   A space is used as _____ for concatenation.                          Operator

45   The space operator in SNOBOL has _____ precedence than               Lower
     arithmetic operators.
46   First electronic computer was _________                              ENIAC
47   SNOBOL was designed for ___________ purpose.                         String manipulation

More CS508 files

All CS508 files · Midterm Prep 2026 · MCQs Bank