CS508 Final Term Solved Subjective Set 2 by Junaid
- Type
- Final term past paper
- Course
- CS508 Modern Programming Languages
- Size
- PDF 932 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 19. Download the file for all 19 pages.
- Write the 5 Language Name.
Answer: Assembly (1) C (2.5) Pascale (3.5) Basics (5) Lisp (5) C++ (6)
- Hello World in Pascale.
Answer: Program Hello(input,output) Begin Writelin(‘Hello World’) End.
- Hello World in C.
Answer: #include<stdio.h> Int main(){ Printf(“Hello World”);
- Hello World in C++.
Answer: #include<iostream> Using namespace std; Int main(){ Coout<<”Hello world!”;
- Hello World in C#.
Answer: Using system; Public class Helloworld{ Public static void Main(){ Console. WriteLine(“Hello World”);
- Hello World in JAVA.
Answer: Class Helloworld{ Public static void main(string[]args){ System.out.println(“Hello World”);
7. Hello World In PHP
Answer: <?php echo “Hello World”;
- SNOBOL stand For.
Answer: StriNg Oriented symBOlic Language.
Q9. What is SNOBOL?
Answer: It is A StriNg Oriented SymBOlic Language. It is a special purpose of Language for String manipulation and Handling. It was developed in 1962 at the bell Labs by Ferber, Griswold and Polensky. SNOBOL supported Both Positive and Negative integer. In SNOBOL a variable must begin with Upper and Lower case. If the character is the combination of letter the it used (_) for initializing the variables.
Junaid, juanid123malik, Junaid_Malik
- Statement Body in SNOBOL.
- Assignment statement
- Pattern Matching Statement
- Replacement Statement
- End Statement
- Features of SNOBOL.
- Dynamic Operator
- Overloaded Operator
- Overloading Operator
- Run time compilation
- Space as Operator
- Variable Length String
- String operator Include Concatenation.
- Go-to Control Structure
Q12. How can you determine the size of array in SNOBOL?
Answer: The size of array in SNOBOL can be determined at runtime by Using the input A= array[input]
Q13. What is Main Goal of Adda Language?
- Program reliability and Maintenance
- Program as Human activity
- Efficiency
Q14. What is the Feature of Adda?
- It is Strongly Typed
- Task can be created and communicate.
- It supports Object-Oriented-Language
- The interface of other Languages is included in this Language.
- Packages and typed can be generic.
- Write IO header file for Ada.
Answer: With ada. Text_Io; Use ada. Text_Io;
- Hello World in ADDA.
Answer: With ada. Text_Io; Use ada.text_Io; Procedure hello is Begin Put_Line (“Hello World”); End hello;
Q17. What are elementary adda type?
- Scalar Type
- Discrete Type
- Fixed point Type
- Access Type
- Real Type
- Write the name of looping in ADDA.
Answer: There are three types of loops in ADDA.
- Unconditional Loop
- For Loop
- Do-While Loop
- How many character Types are supported in Adda.
Answer: There are two-character types are supported in Adda.
Related CS508 files
All CS508 files →- CS508 Final Term Solved MCQs by Junaid Final term PDF 1 MB
- CS508 Final Term Current Solved Subjective by Junaid Final term PDF 998 KB
- CS508 Highlighted Handouts Set 2 Highlighted PDF 2.5 MB
- CS508 Solved Quiz 1 2013 Quiz PDF 74 KB
- CS508 Midterm Solved File 1 by Team Hadi Midterm PDF 1.1 MB
- CS508 Final Term MCQs Mega File by Faisal Final term PDF 589 KB
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.