CS508 Final Term Solved MCQs Set 2 by Junaid
- Type
- Final term past paper
- Course
- CS508 Modern Programming Languages
- Size
- PDF 917 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 54. Download the file for all 54 pages.
Q1. Which of the following conversion has to be done explicitly by the programmer in C#?
- Float to int
- Into to Float
- Int to long
- Float of double
Q2. The dynamically generate a web page which of the following programming language is most suitable?
- Ada
- PHP
- C++
- Prolog
Q3. In C#, which of the following is used to give information to .Net compiler that a class is compliant with common language Specification (CLS)?
- Class variables
- Class attributes
- Class definition
- Class function
- C# does not support the conversion of ______values to integers.
- Boolean
- Character
- Floating point
- Decimal
- Classes and objects of PHP are similar to_____
- Classes and objects of Basic
- Classes and Objects of C
- Classes and Objects of JAVA
- Classes and Objects of C++
Q6. Which of the following language is used for server-side scripting?
- C#
- ADDA
- PHP
- C++
Q7. Which of the given operator is used to return to reference from a function in PHP?
- Dot
- A variable in______cannot be used unless and until it is not initialized.
- ALGOL
- C
- C++
- C#
- In order to pass a value by reference to a method in C#, which of the following keyword is used with method parameter.
- Refer
- New
- Ref
- Explicit
- The code written in PHP is returned to the web browser as:
- CSS flexbox
- Shell Scripts
- Applets
- Plain HTML
- “With” statement in JavaScript is an alternative of______
- Multiple document.write statements
- Single document.write statements
- Multiple document.read statements
- Single document.read statements
- C# support only_________________inheritance and it achieve______inheritance through the concept of interfaces.
- Multiple,multiple
- Single, Multiple
- Single, Single
Q13. In the context of C#, which of the following is not true about delegates?
- Delegates are value type
- Delegates are event based
- Delegates are like C/C++ function pointer
- Delegates are reference type
- FORTRAN, PL 1 and BASIC language provide -------- of variables.
- Either implicit and explicit declaration
Q15. Which of the given statement is true if “$a” is not equal to “$b” in PHP?
- $a=! $
- $a! ==$b
- $a! =$
- $a==! $
- The loop control expression in any loop of C# must be of______type.
- Integer
- Boolean
- Decimal
- Float
- The_____operator in C# is used to test it the operator/expression is of a certain type.
- ‘IN’
- ‘IS’
- ‘AS’
- ‘OUT’
- A script written in PHP are executed by:
- Web browser
- Client machine
- Java Applets
- Web Server
- In PHP ‘Switch’ structure the______starts or implements on implicit loop.
- Return statement
- Continue Statement
- Break Statement
- For Loop
- PHP stand for
- PHP, Home Page
- PHP, Hypertext page
- PHP, Hypertext Preprocessor
- PHP, Home Preprocessor
- Which of the Following type of number are not supported by PHP
- Real Number
- Complex Number
- Single Integers
- Unsigned Integer
- The division of two integers (i.e 7/2) in PHP generates a/an.
- Floating Point number
- Integer
- Exception
- Runtime error
- Arrays in JavaScript are_________based
- Zero index
- Length
- Location
- One index
- The____model in JavaScript provides access to the contents of the browser windows.
- COM
- DOM
- BOM
- ROM
- An______in PHP is an ordered map.
- Queue
- Array
- Stack
- String
- In the context of C#, a class that is defined on the body of another class is called.
- Previous Class
Related CS508 files
All CS508 files →- CS508 Final Term MCQs Mega File by Faisal Final term PDF 589 KB
- CS508 Final Term Current Solved Subjective by Junaid Final term PDF 998 KB
- CS508 Final Term Solved Subjective Set 2 by Junaid Final term PDF 932 KB
- CS508 Highlighted Handouts Set 2 Highlighted PDF 2.5 MB
- CS508 Slides Lectures 1-45 Quiz RAR 3.2 MB
- CS508 Midterm File 3 Midterm PDF 2.2 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.