CS508-MidTerm-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 (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
- Type
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- MCQ, 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
- 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-MCQs With Reference Solved By Arslan.pdf for free?
You can preview and download "CS508-MidTerm-MCQs With Reference Solved By Arslan.pdf" (CS508 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs508-midterm-mcqs-with-reference-solved-by-arslan-pdf-2) 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
CS508-Modern Programming
Solved MCQ(S) April
From Midterm Papers (1 TO 22 Lectures) 18,2017
BY Arslan
V-U For Updated Files Visit Our Site : Www.VirtualUstaad.blogspot.com Updated.
MidTerm Papers Solved MCQS with Reference (1 to 22 lectures)
1. Ada discriminate types is similar to ___________.
o C/C++ pointer
o C/C++ union
o C/C++ reference
o all of the given
2. The block structure feature of ALGOL60 has ________ scope.
o No
o Local PG # 27
o Universal
o Global
3. Unlike C/C++, Ada can have __________ within functions/procedures.
o Objects
o Functions/procedures
o Events
o Parameters
4. In the Decimal fixed point type, the distance between values is implemented as a power of _________.
o 2
o 10 PG # 53
o 8
o 16
5. Function must have at least ________ return statement.
o Three
o Two
o One Click Here For More Detail
o Four
Every function must have at least one return statement. A procedure is not required to have any return statements.
The expression in a function's return statement must evaluate to a type that matches the return type in the function's
declaration.
6. __________ operations must have one of its parameters of the tagged type.
o Concurrent
o Synchronized
o Primitive PG # 63
o Generic
7. An understanding of implementation issues leads to a/an __________ of why languages are designed the way
they are.
o Uncertainty
o Understanding PG # 5
o Misunderstanding
o Confusion
8. ____________ has an efficient use of processor and memory.
o Plankul Kool
o LISP
o CORBA
o C++
9. __________ is/are harmful as far as readability is concerned.
o Overloading
o Orthogonality
o Statements like Break or Continue
o Case statement
10. A language that can be used for a wide domain of applications has higher ____________.
o Portability
o Generality PG # 21
o Reliability
o Readability
11. Imperative programming languages are the direct result of ________.
o Charles Babbage engine
o Logic or list program languages.
o Von Neumann architecture PG # 22
o Language application domain
12. Which statement is true from programming language evolution perspective about 1970's era?
o Analysis and elaboration era
o Era of effective software technology PG # 32
o Era of object oriented programming languages
o Era of discovery and description
13. Variable name in SNOBOL may not be longer than _________.
o 150 characters
o 250 characters
o 500 characters
o 120 characters PG # 34
14. If we have two spaces in SNOBOL the first is used for ________ and the second one for _______.
o concatenation, pattern matching PG # 36
o immediate assignment, replacement
o pattern matching, concatenation
o as a whole assignment, immediate assignment.
15. Today about 50 % coding is done in ________.
o BASIC
o C
o ADA
o Visual Basic
16. Which statement is correct about Table in SNOBOL?
o Table is indexed by number PG # 45
o Table is indexed by the key
o Table can be indexed by both keys and numbers
o Table cannot be indexed
17. Which of the following statement is Correct about SNOBOL?
o Poor readability
o Good writability
o Poor readability and writability PG # 46
o Good readability
18. The first-level elements in LISP are called _______ level elements.
o First
o Index
o Top PG # 68
o Priority
The first-level elements in LISP are called top-level elements. For example top elements of list (a b c) are a, b, and c.
Similarly, top elements of list (a (b c)) are a and (b c).An empty list is represented by nil. It is the same as ().
19. To write a user defined function in LISP we use __________.
o Setq
o Defun PG # 74
o Def func
o func
In LISP, defun is used to write a user-defined function. Note that different dialects of LISP may use different keywords
for defining a function. The syntax of defun is as below:(defun func-name (arg-1 ... Arg-n) func-body)
20. dotime loop of LISP is similar in working to _________ of Ada.
o while loop
o for loop
o switch statement
o Both while loop and switch statement
21. (.)Dot operator is a __________ in SNOBOL.
o Reference pointer
o Unary operator
o Class pointer
o Binary operator
22. The GOTO statement in SNOBOL is__________.
o explicit
o pattern matched
o implicit
o an indirect reference.
23. The first argument in LISP list is the ______
o list
o function
o argument
o atom
24. Function in LISP is in _________notation.
o postfix
o infix
o prefix PG # 68
o none of the given
In LISP, a function and a function call is also a list. It uses prefix notation as shown below:
(function-name arg1 ... argn)
25. __________ may also change global variable as a side effect.
o time LISP iteration
o list LISP iteration
o dolist LISP iteration
o dotime LISP iteration
26. We have extensive use of __________ in LISP.
o for loop
o switch statement
o recursion
o AI
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)