FOURTH SEMESTER B.TECH DEGREE EXAMINATION,JUNE 2011
CS09 403 PROGRAMMING PARADIGMS
PART A
(Answer all questions,5*2=10 marks)
1.Mention the advantages of C programming.
2.What are context free grammers?
3.Differentiate a class and an object in C++.
4.List out the advantages of using type checking in functional programming.
5.What do you mean by a scheme in logic programming?
PART B
(Answer any 4,4*5=20 marks)
1.What is meant by natural semantics?
2.Differentiate static memory allocation and dynamic memory allocation in C language.
3.Write a program in C++ to illustrate the concept of template functions.
4.What are the approaches available to evaluate expressions in functional programming?
5.How is information hiding done in C++?Justify with an example.
6.Explain the liveness properties in concurrent programming.
PART C
1.Explain about structured programming with an example.
Or
2.Discuss in detail about nested scope imlementation in C language.
3.Explain the characteristics of object oriented programming
Or
4.Explain the different types of inheritance in C++ with appropriate examples.
5.Describe the elements of functional programming.
Or
6.How is simplification of expressions for lists done?Illustrate with an example.
7.Write a note on logic programming.
Or
8.Explain about the data structures and control in PROLOG.
CS09 403 PROGRAMMING PARADIGMS
PART A
(Answer all questions,5*2=10 marks)
1.Mention the advantages of C programming.
2.What are context free grammers?
3.Differentiate a class and an object in C++.
4.List out the advantages of using type checking in functional programming.
5.What do you mean by a scheme in logic programming?
PART B
(Answer any 4,4*5=20 marks)
1.What is meant by natural semantics?
2.Differentiate static memory allocation and dynamic memory allocation in C language.
3.Write a program in C++ to illustrate the concept of template functions.
4.What are the approaches available to evaluate expressions in functional programming?
5.How is information hiding done in C++?Justify with an example.
6.Explain the liveness properties in concurrent programming.
PART C
1.Explain about structured programming with an example.
Or
2.Discuss in detail about nested scope imlementation in C language.
3.Explain the characteristics of object oriented programming
Or
4.Explain the different types of inheritance in C++ with appropriate examples.
5.Describe the elements of functional programming.
Or
6.How is simplification of expressions for lists done?Illustrate with an example.
7.Write a note on logic programming.
Or
8.Explain about the data structures and control in PROLOG.
No comments:
Post a Comment