Skip to content
VUBuddy

CS508 Midterm Solved MCQs with References by Arslan

Modern Programming Languages PDF 562 KBUpdated 23 Oct 2026
Midterm past paper CS508 Midterm Solved MCQs with References by Arslan PDF 562 KB
vubuddy.com
Type
Midterm past paper
Course
CS508 Modern Programming Languages
Size
PDF 562 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 562 KB

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 1, 2, 3 of 23. Download the file for all 23 pages.

CS508-Modern Programming · Solved MCQ(S) · From Midterm Papers (1 TO 22 Lectures) · BY Arslan · April 18,2017 · V-U

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

  1. The block structure feature of ALGOL60 has ________ scope. o No

o Local PG # 27

o Universal o Global

  1. Unlike C/C++, Ada can have __________ within functions/procedures. o Objects

o Functions/procedures

o Events o Parameters

  1. 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

  1. Function must have at least ________ return statement. o Three o Two

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.

  1. __________ operations must have one of its parameters of the tagged type. o Concurrent o Synchronized

o Primitive PG # 63

o Generic

  1. 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

  1. ____________ has an efficient use of processor and memory. o Plankul Kool o LISP o CORBA o C++
  2. __________ is/are harmful as far as readability is concerned.

o Overloading

o Orthogonality o Statements like Break or Continue o Case statement

  1. A language that can be used for a wide domain of applications has higher ____________. o Portability

o Generality PG # 21

o Reliability o Readability

  1. 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

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.