Tuesday, November 23, 2010

Jawaharlal Nehru Technological University, Hyderabad MCA-V Semester Supplementary Examinations July/August-2010 PROGRAMMING LANGUAGES Question paper

Code No: 56

Time: 3hours Max.Marks:60

Answer any Five questions
All questions carry equal Marks

1.a) Define programming language. Explain the criteria to call a programming language a good programming language.
b) Explain the significance of BNF grammars in expressing a programming language with suitable examples?

2.a) What are constants? Show how constants are handled in various languages with examples.
b) Give the advantages and disadvantages of the following features with relevant examples:
i) GOTO statements
ii) Labels

3.a) Discuss the various data types available with C++ language.
b) Explain the terms with suitable examples:
i) Type coercion
ii) Type equivalence

4.a) Differentiate between the terms scope and extent with relevant examples in C language.
b) Explain the different types of parameter passing mechanisms used in C++ language.

5.a) Differentiate between s data type and abstract data type. Give the abstract data type for a STACK data structure using ADA.
b) Define Exception handling. Show how ADA handles exception handling.

6.a) Show how a semaphore is used to handle concurrency with an example.
b) Explain the following:
i) Message passing
ii) Concurrent Pascal.

7.a) Explain how the recursive interpreter of LISP works.
b) Show the important features of PROLOG language with suitable examples.

8. Write short notes on the following:
a) Variable binding
b) Structured data types
c) Monitors
d) Logic programming

No comments:

Post a Comment