Question 8195 – Database-Management-System
November 26, 2023
Question 10824 – APPSC-2016-DL-CS
November 26, 2023
Question 8195 – Database-Management-System
November 26, 2023
Question 10824 – APPSC-2016-DL-CS
November 26, 2023

Programming

Question 21

Given the following Pascal-like program segment

Procedure A;
  x,y: integer;
   Procedure B;
    x,z: real
    S1
   end B;
   Procedure C;
      i: integer;
       S2
   end C;
end A; 

The variables accessible in S1 and S2 are

A
x or A, y, x of B and z in S1 and
x of B, y and i in S2
B
x or B, y and z in S1 and
x of B, i and z in S2
C
x or B, z and y in S1 and
x of A, i and y in S2
D
None of the above
Question 21 Explanation: 
Note: Out of syllabus.
Correct Answer: C
Question 21 Explanation: 
Note: Out of syllabus.

Leave a Reply

Your email address will not be published. Required fields are marked *