How To Exam?

a knowledge trading engine...


Deemed University 2011 B.Tech Computer Science and Engineering University: Lingayas University Term: V Title of the : Programming Languages - Question Paper

Tuesday, 30 April 2013 11:40Web


Roll No

Roll No. ..

 

Lingayas University

B.Tech. 2nd Year (Term V)

Examination Feb 2011

Programming Languages (CS - 202)

 

[Time: 3 Hours] [Max. Marks: 100]

 


Before answering the question, candidate should ensure that they have been supplied the correct and complete question paper. No complaint in this regard, will be entertained after examination.

 


Note: All questions carry equal marks. Attempt five questions in all. Question no. 1 is compulsory. Select two questions from Section B and two questions from Section C.

Section A

Q-1. Part A

Select the correct answer of the following multiple choice questions. [10x1=10]

(i) The two basic types of record access methods are

(a) Sequential and random (b) Direct and immediate

(c) Sequential and indexed (d) On-line and real-time

(ii) Which of the following is not a storage allocation technique?

(a) Static allocation (b) Heap based allocation

(c) List based allocation (d) Stack based allocation

(iii) Which of the following is not one of the process that a high level language program must go through before it is ready be executed?

(a) Translation (b) Loading

(c) Linking (d) All of the above are necessary process

(iv) Which of the following is not a parameter passing mechanism?

(a) Call by value (b) Call by name

(c) Call by value-name (d) Call by value-result

(v) One of the disadvantage of a direct access file is

(a) The delay in computing storage address

(b) Duplication of address locations

(c) Unused, but available, storage locations

(d) All of above

(vi) Which of the following is most oriented to scientific programming?

(a) FORTRAN (b) COBOL

(c) BASIC (d) C

(vii) Which of the following file organization is most efficient for a file with a high degree of file activity?

(a) Sequential (b) ISAM

(c) VSAM (d) All of above

(viii) Which of the following is not a translator?

(a) Simulator (b) Compiler

(c) Link editor (d) Assembler

(ix) A class of data objects which contain a single value is termed as

(a) Structured data type (b) Fundamental data type

(c) Elementary data type (d) None of above

(x) In the evaluation of a computer language, all of the following characteristics should be considered except.

(a) Application oriented features

(b) Efficiency (c) Readability

(d) Hardware maintenance costs

 

Q-1. Part B

Write short notes on

(a) Type checking

(b) Implementation of sets [2x5=10]

 

Section B

 

Q-2. (a) What is translation? Explain translation process for C programming language with the help of diagram.

(b) Give characteristics of a good programming language. [2x10=20]

Q-3. (a) What are the structured data types? How SDTs are implemented?

(b) Differentiate between vectors and arrays with reference to their implementation. [2x10=20]

 

Q-4. (a) Explain abstraction, encapsulation and information hiding with reference to data type concept. [10]

(b) What is type definition? Explain with example. [5]

(c) How encapsulation is supported by subprograms? [5]

 

Section C

 

Q-5. (a) What is sequence control? How sequence control is done within expressions?

(b) What are the exceptions? How exceptions are handled in C++? [2x10=20]

 

Q-6. (a) What is data control? Explain names and referencing environments.

(b) Explain local data and local referencing environments with implementation. [2x10=20]

 

Q-7. (a) Write run time elements that require storage. Also explain storage management phases.

(b) Explain heap storage management for variable size elements. [2x10=20]

 

Q-8. (a) Compare C and C++ programming languages. Which is better and why?

(b) Differentiate between procedural and non-procedural programming languages. [2x10=20]

 


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Deemed University 2011 B.Tech Computer Science and Engineering University: Lingayas University Term: V Title of the : Programming Languages - Question Paper