You are on page 1of 4

www.andhracolleges.

com The Complete Information About Colleges in Andhra Pradesh

Code No: RR310505 Set No. 1


III B.Tech I Semester Supplementary Examinations, February 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks

www.andhracolleges.com
⋆⋆⋆⋆⋆

1. Compare procedure oriented and object oriented programming. Explain the object
oriented features supported by C++. [16]

2. (a) What is the significance of mathematical logic in the context of axiomatic


semantics. Explain with examples. [6]
(b) What is the significance of denotational semantics in describing the meaning
of programs. Explain with examples. [10]

3. (a) Suppose a programming language supports implicit declarations. What are


the advantages and disadvantages of it. [8]
(b) Explain extent with the help of example. [8]

4. (a) Discuss precedence and associativity rules of different programming languages.


[8]
(b) What is the significance of precedence and associativity. Give examples. [8]

5. (a) Distinguish pass-by-value and pass-by-reference. [8]

www.andhracolleges.com
(b) Explain the characteristics of subprogram. [8]

6. (a) Discuss the design issues for concurrency. [8]


(b) Explain the different states in tasks. [8]

7. (a) Explain how exceptions bind to handlers in java. [8]


(b) Explain fact statements and rule statements in prolog. [8]

8. (a) Explain structures and arrays in ML. Give examples. [8]


(b) Discuss briefly about expressions in ML. [8]

⋆⋆⋆⋆⋆

Seminar Topics - Scholarships - Admission/Entrance Exam Notifications


1 ofUSA-UK-Australia-Germany-France-NewZealand
1 Universities List

www.andhracolleges.com Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information


www.andhracolleges.com The Complete Information About Colleges in Andhra Pradesh

Code No: RR310505 Set No. 2


III B.Tech I Semester Supplementary Examinations, February 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks

www.andhracolleges.com
⋆⋆⋆⋆⋆

1. (a) Define orthogonality. Discuss C in that context. [10]


(b) What is the relation between orthogonality and simplicity. [6]

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]

6. Briefly describe cooperation synchronization and competition synchronization in


semaphores. [16]

7. (a) Write prolog program to compute the sum of numbers using arrays. [8]

www.andhracolleges.com
(b) Explain exception handling in java. [8]

8. (a) Explain about functions in ML. [8]


(b) Discuss about exceptions in ML. [8]

⋆⋆⋆⋆⋆

Seminar Topics - Scholarships - Admission/Entrance Exam Notifications


1 ofUSA-UK-Australia-Germany-France-NewZealand
1 Universities List

www.andhracolleges.com Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information


www.andhracolleges.com The Complete Information About Colleges in Andhra Pradesh

Code No: RR310505 Set No. 3


III B.Tech I Semester Supplementary Examinations, February 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks

www.andhracolleges.com
⋆⋆⋆⋆⋆

1. (a) High level programming languages are independent of machine architecture.


Comment on it. [8]
(b) Reliability and cost of execution are conflicting aspects. Justify. [8]

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]

5. (a) Explain how subprogram names are passed as parameters? [8]


(b) Explain how subprogram is overloaded? Give examples. [8]

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]

7. Explain exception handling in C++ with example. [16]

8. (a) Write about Function composition, construction and apply-to-all, in mathe-


matical functions. [8]
(b) Write about simple functions in mathematical function. [8]

⋆⋆⋆⋆⋆

Seminar Topics - Scholarships - Admission/Entrance Exam Notifications


USA-UK-Australia-Germany-France-NewZealand Universities List
1 of 1
www.andhracolleges.com Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information
www.andhracolleges.com The Complete Information About Colleges in Andhra Pradesh

Code No: RR310505 Set No. 4


III B.Tech I Semester Supplementary Examinations, February 2007
PRINCIPLES OF PROGRAMMING LANGUAGES
( Common to Computer Science & Engineering and Computer Science &
Systems Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks

www.andhracolleges.com
⋆⋆⋆⋆⋆

1. (a) What are the steps in compilation process. [6]


(b) What does it mean for a program to be reliable. [5]
(c) Why is readability important to writability. [5]

2. (a) What is the use of attribute grammar. Explain. [8]


(b) What are the difference between synthesized and an inherited attribute. Ex-
plain. [8]

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]

4. (a) Discuss precedence and associativity rules of different programming languages.


[8]
(b) What is the significance of precedence and associativity. Give examples. [8]

www.andhracolleges.com
5. (a) Explain how multidimensional arrays are passed as parameters? [8]
(b) Explain how subprograms are overloaded? [8]

6. Define a monitor. Briefly describe the features of monitors. [16]

7. (a) Explain how exceptions bind to handlers in java. [8]


(b) Explain fact statements and rule statements in prolog. [8]

8. (a) Explain structures and arrays in ML. Give examples. [8]


(b) Discuss briefly about expressions in ML. [8]

⋆⋆⋆⋆⋆

Seminar Topics - Scholarships - Admission/Entrance Exam Notifications


1 ofUSA-UK-Australia-Germany-France-NewZealand
1 Universities List

www.andhracolleges.com Engineering-MBA-MCA-Medical-Pharmacy-B.Ed-Law Colleges Information

You might also like