Skip to content
VUBuddy

CS508 Midterm Solved MCQs Set 2 by Junaid

Modern Programming Languages PDF 1.4 MBUpdated 23 Oct 2026
Midterm past paper CS508 Midterm Solved MCQs Set 2 by Junaid PDF 1.4 MB
vubuddy.com
Type
Midterm past paper
Course
CS508 Modern Programming Languages
Size
PDF 1.4 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1.4 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 54. Download the file for all 54 pages.

  1. ---------- was designed primarily for system simulation.
  2. APL
  3. SNOBOL
  4. Pascal
  5. Simula
  6. Which of the following is not a discrete type in ada.
  7. Integer type
  8. Modular type
  9. Character type
  10. String type
  11. The property list in LISP is a substitute of ---------.
  12. C/C++ pointer
  13. C/C++ structure
  14. Java interfaces
  15. Complier

Q4. Which of the following operator is used for pattern matching in SNOBOL?

  1. = (Equal)
  2. = (Not Equal)
  3. . (Dot)
  4. (Space)
  5. In SNOBOL we can create new pattern by --------- two or more patterns.
  6. Matching
  7. Replacing
  8. Removing
  9. Concatenating
  10. A -------- is used to signify a potentially infinite loop in ada.
  11. Full loop
  12. Simple loop
  13. Special loop
  14. Master loop
  15. The design and evaluation of a particular --------------- is highly dependent on the domain in

which it is to be used.

  1. Computer program
  2. Programming language
  3. Database system
  4. Software design
  5. “Everything for everybody” was the motive of the language.
  6. COBOL
  7. LISP
  8. PL/1
  9. JAVA

Q9. Which of the following is not part of standard SNOBOL 4 statement structure?

  1. Label
  2. END
  3. Statement body
  4. Goto Field
  5. The first programming language was ----------- developed by Zuse in isolation.
  6. Ada
  7. Algol
  8. PL1
  9. Plankalkul
  10. The tools we use have a profound (and devious!) influence on our --------- --- habits and, on our thinking abilities.
  11. Seeing
  12. Listening
  13. Thinking
  14. Feeling

Q12. Which of the following functions assigns value 5 to symbol y.?

  1. >(setq 5 y)
  2. >(setq.5.y)
  3. >(setq y 5)
  4. >(setq.y.5)
  5. --------------- was considered good for describing algorithms.
  6. FORTRAN
  7. ALGOL
  8. LISP
  9. Ada
  10. -------------------- was developed at Bell Labs by Stroustrup. It evolved from C and SIMULA 67.
  11. C#
  12. C++
All CS508 files →
CS508 Modern Programming Languages All CS508 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.