FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download AKTU B-Tech 5th Sem 2018-2019 RCS 503 Principles Of Programming Languages Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU) B-Tech 5th Semester (Fifth Semester) 2018-2019 RCS 503 Principles Of Programming Languages Question Paper

This post was last modified on 29 January 2020

AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


Firstranker's choice

www.FirstRanker.com

Paper Id: 110503

Time: 3 Hours

--- Content provided by⁠ FirstRanker.com ---

www.FirstRanker.com

Roll No.

B. Tech

(SEM V) THEORY EXAMINATION 2018-19

PRINCIPLES OF PROGRAMMING LANGUAGES

Note: 1. Attempt all Sections.

--- Content provided by FirstRanker.com ---

Total Marks: 70

SECTION A

1. Attempt all questions in brief. 2 x 7 =14

  1. Differentiate between Error and Exception.
  2. Define Class and Object briefly.
  3. --- Content provided by​ FirstRanker.com ---

  4. Enlist the different times at which Binding can take place.
  5. Describe Aliasing for Data Objects with an example.
  6. Differentiate between Widening and Narrowing conversion.
  7. Define co-routines.
  8. Write a function in ML to find the maximum of two numbers.
  9. --- Content provided by⁠ FirstRanker.com ---

SECTION B

2. Attempt any three of the following: 7x3= 21

  1. Describe basic syntactic elements of a language.
  2. List and describe the various mechanisms for storage age representation of Data types.
  3. Describe Overloaded Methods and Generic Method in detail along with the examples.
  4. --- Content provided by FirstRanker.com ---

  5. Discuss about Semaphores and Monitors.
  6. Describe facts and rules in Prolog with examples. Write a program that describes relationships of the members in a family.

SECTION C

Attempt any one part of the following: 7x1=7

3.

--- Content provided by​ FirstRanker.com ---

  1. Explain the various programming language paradigms.
  2. Describe the structure or the different phases of a compiler.

Attempt any one part of the following: 7x1=7

4.

  1. Using suitable examples, illustrate the difference between:
    1. Static and Dynamic Type Checking
    2. --- Content provided by⁠ FirstRanker.com ---

    3. Implicit and Explicit Type Conversion
  2. How a pointer can be useful for programmers. Also define Dangling pointer and void pointer with examples.

Attempt any one part of the following: 7x1=7

5.

--- Content provided by‍ FirstRanker.com ---

  1. Illustrate the different parameter passing techniques along with the example of each technique. Using an example, show the difference between call by reference and call by Value-result.
  2. Describe Associations and Referencing Environment. Explain the different components of Referencing Environment. With respect to the given program, write down the Referencing Environment for S1 and main.

    program main;
    var A, B, C: real;
    procedure S1(A: real);

    --- Content provided by‌ FirstRanker.com ---

    var D: real;
    begin -Statements -Statements
    end;
    begin -Statements SI(A); -Statements
    end:
  3. --- Content provided by‍ FirstRanker.com ---

Attempt any one part of the following: 7x1=7

6.

  1. Define Abstract classes and Abstract methods with example. Differentiate between Abstraction and Encapsulation.
  2. Describe Inheritance and its types with suitable examples of each type.

Attempt any one part of the following: 7x1=7

--- Content provided by⁠ FirstRanker.com ---

7.

  1. Describe Functional Programming languages. Write a recursive function in SML to find the sum of digits of a number.
  2. Explain Lambda Calculus Explain the different reductions possible for evaluating a lambda calculus. Reduce (? f. ? x. f (f x)) (? y. y+1) to its normal form.
www.FirstRanker.com

--- Content provided by⁠ FirstRanker.com ---


This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University