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 2017-2018 NCS 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) 2017-2018 NCS 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 FirstRanker.com

Printed pages: 2

Paper ID: 1038

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

Sub Code: NCS-503

Roll No.

B.TECH.

(SEM-V) THEORY EXAMINATION 2017-18

PRINCIPLES OF PROGRAMMING LANGUAGES

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

TIME: 3 Hours

TOTAL MARKS: 100

Note: 1. Attempt all Sections. If require any missing data; then choose suitably.

SECTION- A

1. Attempt all questions in brief: 2X10=20

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

  1. How does the programming environment influence the language design?
  2. Explain the term language semantics.
  3. Explain the public, private and protected access specifiers.
  4. Define bootstrapping.
  5. Discuss the need of language translators.
  6. --- Content provided by FirstRanker.com ---

  7. Differentiate between compiler and interpreter.
  8. What is an inline function?
  9. Write down the different properties of a constructor.
  10. Define a procedure in LISP to calculate cube of a number.
  11. What is an abstract data type?
  12. --- Content provided by FirstRanker.com ---

2. Note: Attempt any three of the following: 10X3=30

  1. Explain the structure or phases of a compiler.
  2. Explain the facts and rules in Prolog with suitable example.
  3. Explain different ways of storage representation of data structure.
  4. What are the general syntactic criteria of a programming language?
  5. --- Content provided by​ FirstRanker.com ---

  6. What are the various fields of an activation record? Explain how activation record looks like for every recursive call in case of factorial. Also draw activation tree for the same.

SECTION-C

3. Attempt any one part of the following: 10X1=10

  1. What is lambda calculus? Write a note on free and bound variables in lambda calculus.
  2. Explain the concept of inheritance and its types with suitable example of each of them.
  3. --- Content provided by​ FirstRanker.com ---

4. Attempt any one part of the following: 10X1=10

  1. Describe subprogram control and its types in detail with the help of an example of each of them.
  2. Explain the various programming language paradigms.

5. Attempt any one part of the following: 10X1=10

  1. Differentiate between call by value and call by reference parameter passing mechanism with the help of suitable example.
  2. --- Content provided by‌ FirstRanker.com ---

  3. Explain the structure of List used in LISP. Also discuss the commonly used list manipulation functions.

6. Attempt any one part of the following: 10X1=10

  1. Describe sequence control in various statements with suitable examples.
  2. Write a Recursive Lisp function to find largest number from a given list.

7. Attempt any one part of the following: 10X1=10

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

  1. Explain the concept of subtyping with suitable example. Also explain the properties of subtyping.
  2. Write short note on-
    1. Variables, constants and literals for a language.
    2. Compare C, C++ and LISP on the basis of various attributes.

--- 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