Professional Documents
Culture Documents
www.andhracolleges.com
⋆⋆⋆⋆⋆
1. Compare procedure oriented and object oriented programming. Explain the object
oriented features supported by C++. [16]
www.andhracolleges.com
(b) Explain the characteristics of subprogram. [8]
⋆⋆⋆⋆⋆
www.andhracolleges.com
⋆⋆⋆⋆⋆
2. Give BNF notation for identifier, for loop, while loop in C. Give the corresponding
syntax graph. [16]
3. Write short notes on coercion, type error, type checking and strong typing. [16]
4. Define Set. Explain how set is supported by different programming languages. [16]
5. (a) Discuss about actual parameters, positional parameters and keyword parame-
ters. [8]
(b) Explain the general subprogram characteristics. [8]
7. (a) Write prolog program to compute the sum of numbers using arrays. [8]
www.andhracolleges.com
(b) Explain exception handling in java. [8]
⋆⋆⋆⋆⋆
www.andhracolleges.com
⋆⋆⋆⋆⋆
2. Give BNF notation for identifier, for loop, while loop in C. Give the corresponding
syntax graph. [16]
3. What are the primitive data types supported by C language. Explain. [16]
4. (a) Define record. How do you access different fields of a record. What are the
operations that can be performed on the record. [10]
(b) Suppose the assignment operator is to be defined to assign one record to other.
What are the problems associated with it. [6]
www.andhracolleges.com
6. (a) Explain how abstract data types are implemented in simula 67. [8]
(b) Define semaphores. Explain, how cooperation synchronization and competi-
tion synchronization are implemented using semaphores. [8]
⋆⋆⋆⋆⋆
www.andhracolleges.com
⋆⋆⋆⋆⋆
3. (a) What are the advantages and problems associated with keywords. [5]
(b) What is the difference between keyword and reserved words. [6]
(c) Give some examples of key words supported by C language and their signifi-
cance. [5]
www.andhracolleges.com
5. (a) Explain how multidimensional arrays are passed as parameters? [8]
(b) Explain how subprograms are overloaded? [8]
⋆⋆⋆⋆⋆