Skip to content
VUBuddy

CS508 Final Term Solved MCQs Updated by Junaid

Modern Programming Languages PDF 1 MBUpdated 23 Oct 2026
Final term past paper CS508 Final Term Solved MCQs Updated by Junaid PDF 1 MB
vubuddy.com
Type
Final term past paper
Course
CS508 Modern Programming Languages
Size
PDF 1 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 1 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 48. Download the file for all 48 pages.

  1. One difference LISP and PROLOG is ➢ AI ➢ Puzzle ➢ Game ➢ All of the given
  2. Variable of ________ is not an object of java ➢ Primitive ➢ Reference ➢ Integer type ➢ Both reference and Primitive
  3. In ________ every class in Java is part is overloaded ➢ C++ ➢ Java ➢ C# ➢ C# and java
  4. C# and C++ have ________ size. ➢ Same ➢ Different ➢ Distinct
  5. ________ compile into machine independent language, independent code which run in a managed execution environment. ➢ C# ➢ C++ ➢ Java ➢ Ada
  6. ________ compile initially to an intermediate. Which can be run by interpretation or just in time compilation or an appropriate virtual machine? ➢ C++ and C# ➢ C# and Java ➢ Java and C++ ➢ Ada and C++

Q7. How many modes for the source code are in C#?

➢ One ➢ Two ➢ Three ➢ Four

Q8. Which chaining type is used by Prolog?

➢ Backward

  •  Forward

➢ Horizontal ➢ Up

  1. In C# Managed code is executed under the control of ➢ CRL ➢ CLR ➢ Both ➢ None
  2. PHP syntax looks like __________ ➢ ASP syntax ➢ C/C++ ➢ Both ➢ None
  3. In Java we can make pointer of_________. ➢ Any type ➢ Reference type only ➢ Both of the above options
  4. Java has a String class which is not exactly an array of ➢ Char ➢ Elements ➢ Indices ➢ Long

Q13. How many string operators are in PHP?

➢ 2 ➢ 3 ➢ 4 ➢ 10

  1. C# code when compiled is converted into ________ code. ➢ MISL ➢ MSIL ➢ MSLL ➢ None
  2. in C# _________can be inherited from other class but no inheritance from it. On the other hand _________ cannot be inherited not inheritance is possible from it is possible ➢ Private class , public class ➢ Sealed class ,struct in C# ➢ struct in C# , Sealed class ➢ public class , inherited class
  3. The IS operator in C# is used for_________ ➢ Run time type conversion ➢ Run time type checking ➢ Run time type casting
  4. PHP is a __________typed language. ➢ Strongly ➢ Dynamic ➢ Static ➢ None of Given
  5. Anything starting with Capital or underscore is a variable in ____________ ➢ Prolog, ➢ Lisp, ➢ COBOL
  6. In C# the if statement condition is an/a ________ ➢ Arithmetic expression ➢ Boolean expression ➢ Numeric expression ➢ Both Numeric expression and Boolean expression
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.