Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
com
SET - 1
R07
Max. Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
1.
a) How can the knowledge of programming language characteristics benefit the computing
community?
b) Briefly explain the category of programming languages whose structure is dictated by
the Von Neumann architecture.
2.
3.
a) Briefly explain enumeration and sub range data type. Do they belong to primitive data
types or user defined data types? Justify.
b) Explain pointers in C and C++
4.
5.
a) Define static binding and dynamic binding. Pascal supports both. Justify with suitable
examples.
b) Explain the characteristics of sub program.
6.
7.
8.
D
L
R
O
W
U
T
N
1 of 1
www.jntuworld.com
www.jntuworld.com
SET - 2
R07
Max. Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
1.
a) How can user defined operator overloading harm the readability of a program?
b) Which produces faster program execution, a compiler or interpreter? List the
advantages in implementing a language with a pure interpreter.
2.
3.
a) What are the problems associated with using classes in Java for implementing
enumeration types?
b) Differentiate records from variant records with suitable examples
4.
a) What are pre conditions, invariants and post conditions? give their role in loops..
b) Explain with example how operand-evaluation order interacts with functional side
effects.
5.
6.
a) What is the reason java doesnt have friend functions or friend classes?
b) Briefly Explain about different types of encapsulation constructs.
7.
a) Write a prolog program that returns a list containing the union of the elements of
two given lists.
b) Compare the concept of data typing in an ADA with that of prolog.
8.
D
L
R
O
W
U
T
N
1 of 1
www.jntuworld.com
www.jntuworld.com
SET - 3
R07
Max. Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
1.
2.
a) What are different methods for semantic description? Explain with examples.
b) What are the difficulties in using an attribute grammar to describe all of the syntax and
static semantics of a contemporary programming language?
3.
4.
5.
6.
7.
8.
D
L
R
O
W
U
T
N
1 of 1
www.jntuworld.com
www.jntuworld.com
SET - 4
R07
Max. Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
1.
2.
3.
a) Write short notes on integer and floating point numbers in programming languages.
What are the problems associated with storing floating point numbers in binary?
b) Define strong typing. Discuss how type checking is enforced in Fortran 95, Ada, C,
C++, and Java. What do you mean by coercion, how does it effect strongly typed
languages?
4.
5.
6.
a) Explain the relative safety of cooperation synchronization using semaphores and using
Adas classes in task?
b) What do you mean by Data Abstraction? How data abstraction is achieved in C++
7.
8.
D
L
R
O
W
U
T
N
1 of 1
www.jntuworld.com