Code No: 07A40501

R07

Set No. 2

1. (a) Explain in detail about the protected objects.

[10+6]

ld .

(b) Give brief description about binary semaphores.

in

II B.Tech II Semester Examinations,APRIL 2011 PRINCIPLES OF PROGRAMMING LANGUAGES Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

2. (a) What are control statements? Why do we need control Statements?

(b) Explain the importance of the control statements in context with the Readability. [16] 3. (a) Explain the scoping rule used in scheme, in common LISP, in ML, in Haskell.

or

(b) Mention the three ways that ML is different from scheme.

[10+6]

4. (a) How default values can be used in formal parameters for Ada. Explain. (b) What is prototype. Explain the importance of prototype in C language. [8+8]

uW

5. Write a simple assignment statement with one arithmetic operator in C language. For each component of the statement, list the various bindings that are required to determine the semantic when the statement is executed. For each binding, indicate the binding time used for the language. [16] 6. (a) Discuss the advantages and disadvantages of Short Circuit Evaluation.

nt

(b) Consider the rules of associativity and precedence of Java language, show the order of evaluation of the following expression a * b - c / ( d * e / f %g ) +h [8+8] 7. (a) What is the basic concept of declarative semantics. Explain.

(b) What are different forms of a prolog terms. Explain.

[8+8]

Aj

8. (a) Explain what the preconditions and post conditions of a given statement mean in axiomatic semantics. (b) Convert the following EBNF TO BNF S → A {bA} A → a[b]A ?????

1

[8+8]

Code No: 07A40501

R07

Set No. 4

in

II B.Tech II Semester Examinations,APRIL 2011 PRINCIPLES OF PROGRAMMING LANGUAGES Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) How default values can be used in formal parameters for Ada. Explain.

ld .

(b) What is prototype. Explain the importance of prototype in C language. [8+8] 2. (a) What are control statements? Why do we need control Statements?

(b) Explain the importance of the control statements in context with the Readability. [16]

or

3. (a) Explain what the preconditions and post conditions of a given statement mean in axiomatic semantics.

(b) Convert the following EBNF TO BNF S → A {bA} A → a[b]A

[8+8]

uW

4. (a) Explain in detail about the protected objects.

(b) Give brief description about binary semaphores.

[10+6]

5. (a) Discuss the advantages and disadvantages of Short Circuit Evaluation. (b) Consider the rules of associativity and precedence of Java language, show the order of evaluation of the following expression a * b - c / ( d * e / f %g ) +h [8+8]

nt

6. Write a simple assignment statement with one arithmetic operator in C language. For each component of the statement, list the various bindings that are required to determine the semantic when the statement is executed. For each binding, indicate the binding time used for the language. [16] 7. (a) What is the basic concept of declarative semantics. Explain.

Aj

(b) What are different forms of a prolog terms. Explain.

[8+8]

8. (a) Explain the scoping rule used in scheme, incommon LISP, in ML, in Haskell. (b) Mention the three ways that ML is different from scheme. ?????

2

[10+6]

Code No: 07A40501

R07

Set No. 1

1. (a) Explain in detail about the protected objects.

[10+6]

ld .

(b) Give brief description about binary semaphores.

in

II B.Tech II Semester Examinations,APRIL 2011 PRINCIPLES OF PROGRAMMING LANGUAGES Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

2. (a) Explain the scoping rule used in scheme, incommon LISP, in ML, in Haskell. (b) Mention the three ways that ML is different from scheme.

[10+6]

3. (a) What is the basic concept of declarative semantics. Explain.

[8+8]

or

(b) What are different forms of a prolog terms. Explain.

4. Write a simple assignment statement with one arithmetic operator in C language. For each component of the statement, list the various bindings that are required to determine the semantic when the statement is executed. For each binding, indicate the binding time used for the language. [16]

uW

5. (a) How default values can be used in formal parameters for Ada. Explain. (b) What is prototype. Explain the importance of prototype in C language. [8+8] 6. (a) What are control statements? Why do we need control Statements? (b) Explain the importance of the control statements in context with the Readability. [16]

nt

7. (a) Explain what the preconditions and post conditions of a given statement mean in axiomatic semantics. (b) Convert the following EBNF TO BNF S → A {bA} A → a[b]A

[8+8]

Aj

8. (a) Discuss the advantages and disadvantages of Short Circuit Evaluation. (b) Consider the rules of associativity and precedence of Java language, show the order of evaluation of the following expression a * b - c / ( d * e / f %g ) +h [8+8] ?????

3

Code No: 07A40501

R07

Set No. 3

in

II B.Tech II Semester Examinations,APRIL 2011 PRINCIPLES OF PROGRAMMING LANGUAGES Computer Science And Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

ld .

1. Write a simple assignment statement with one arithmetic operator in C language. For each component of the statement, list the various bindings that are required to determine the semantic when the statement is executed. For each binding, indicate the binding time used for the language. [16] 2. (a) Explain the scoping rule used in scheme, incommon LISP, in ML, in Haskell. (b) Mention the three ways that ML is different from scheme.

[10+6]

or

3. (a) Discuss the advantages and disadvantages of Short Circuit Evaluation.

(b) Consider the rules of associativity and precedence of Java language, show the order of evaluation of the following expression a * b - c / ( d * e / f %g ) +h [8+8]

uW

4. (a) Explain what the preconditions and post conditions of a given statement mean in axiomatic semantics. (b) Convert the following EBNF TO BNF S → A {bA} A → a[b]A

[8+8]

5. (a) What are control statements? Why do we need control Statements?

nt

(b) Explain the importance of the control statements in context with the Readability. [16] 6. (a) How default values can be used in formal parameters for Ada. Explain. (b) What is prototype. Explain the importance of prototype in C language. [8+8]

7. (a) What is the basic concept of declarative semantics. Explain.

Aj

(b) What are different forms of a prolog terms. Explain.

[8+8]

8. (a) Explain in detail about the protected objects. (b) Give brief description about binary semaphores. ?????

4

[10+6]

R07 Set No. 2

Write a simple assignment statement with one arithmetic operator in C language. For each component of the statement, list the various bindings that are required ...

63KB Sizes 1 Downloads 55 Views

Recommend Documents

R07 Set No. 2
(a) What is Radix-64 format? Explain how both PGP and S/MIME perform the · Radix-64 conversion is performed. (b) Describe the five principal services that ...

R07 Set No. 2
Farm in Maharashtra, supplied with water from a dug well pumping for 4 h a day, are given below. Determine the required discharge. [16]. 7. AjntuWorld.in ...

R07 Set No. 2
... carry equal marks · ***** · 1. List eight major functions of an exhaust nozzle. .... plane. Show the internal layout for swallowed air to reach the engine. Explain.

R07 Set No. 2
Describe the Kinetic aspects of methanol synthesis process. [16] · 7. Describe the procedure for the Acetylene manufacture from the hydrocarbons by.

R07 Set No. 2
Enumerate difference between growth and non-growth associated product kinetics. [16] · 7. Write a brief note on biosensors, and describe how they are used for ...

R07 Set No. 2
(b) A turbine is to operate under a head of 30 m at 300 r.p.m. The discharge is ... 2. (b) An inward flow reaction turbine has an external diameter of 1 m and its.

R07 Set No. 2
(a) Discuss the response of high pass RC circuit for square wave input. (b) A 10Hz square wave is fed to an amplifier. Calculate and sketch the output wave ...

R07 Set No. 2
[16] · 8. With a neat sketch discuss the working procedure of neutron radiography, and also · give applications, advantages and limitations of this method. [16] · *****. 1 ... 5. (a) Give the limitations of x-ray diffraction method and ultrasonic met

R07 Set No. 2
Code No: 07A4EC15. R07. Set No. 2. II B.Tech II Semester Regular Examinations,May 2010 · MECHANICS OF FLUIDS · Metallurgy And Material Technology.

R07 Set No. 2
tetrachloride during indirect chlorinate of TiO2 at 1020 0C · [16] · TiO2(g) + 2Cl2(g) = TiCl4(g) + O2. 8. (a) How do the interstitial elements affect mechanical properties of commercially · pure titanium? (b) Why is 0.2 % Pd added to titanium? What

R07 Set No. 2
register machine.(Hint: Use FNS). [8+8] · 5. (a) Explain the strassen's matrix multiplication · (b) Derive the time complexity for binary search. [8+8] · 6. (a) Find an ...

R07 Set No. 2
Variance · (b) The mean and variance of a binomial distribution are 2 and 8 / 5. Find ... marks were normally distributed with mean 70 and standard deviation 15.

R07 Set No. 2
Computer Science And Engineering · Time: 3 hours · Max Marks: 80 · Answer any FIVE Questions · All Questions carry equal marks · ***** · 1. (a) Distinguish between a packet-filtering router and a stateful inspection firewall? (b) ”One way to secure

R07 Set No. 2
1. With the help of a neat diagram indicating the various geometric elements of a · traffic rotary ... sight distance. What is the need to have SSD and factors.

R07 Set No. 2
2. Explain the alpha, delta, theta and beta waves emerging from the brain. [16] · 3. (a) Explain in detail on the isolation amplifiers used in medical field and its need ... Discuss the generation and propagation of action potential in a cell. [16] ·

R07 Set No. 2
(a) Steam pressure in a reactor heating coil. (b) Flow rate of reactants into a polymerization tank. (c) Flow of effluent from a waste water treatment holding tank into a river. (d) Flow of cooling water to a distillation condenser. [16] · 6. (a) Def

R07 Set No. 2
(a) State Newton's law of viscosity and give any four examples of its applications. (b) An oil of viscosity 8 poise is used for lubrication between a shaft and sleeve.

R07 Set No. 2
2. III B.Tech I Semester Examinations,May 2011 · MICROPROCESSORS AND INTERFACING · Common to Information Technology, Instrumentation And Control.

R07 Set No. 2
(a) Off - peak load is zero ... load current and p.f 0.1. capacitors are supplied to make the line power factor ... (b) The annual peak load of substation is 3500kW.

R07 Set No. 2
Set No. 2. (a) Construct a systematic (15,2) code using the generator polynomial .... taken. The bit rate is 'rb' and the channel noise has a PSD Gn(f) given by.

R07 Set No. 2
Discuss the principle of measuring the hardness of Heat Affected Zone using Jominey · hardenability test? .... (b) What is post weld heat treatment? Describe the ...

R07 Set No. 2
(a) State Darcy's law. Discuss the assumptions and limitations. .... 1. (a) State Stoke's law and explain its limitations as applicable to the sedimentation · analysis.

R07 Set No. 2
[4+4+4+4] · 4. Add a new method in the base class of Shapes.java that prints a message, but don't .... (d) Dynamic binding and message passing. [4+4+4+4].

R07 Set No. 2
Discuss clustering and solubility of liquid mixture. [16] · 3. Define: ... no adsorption at the pore wall and for the case with monolayer adsorption at the · pore wall.