A PLI program has variables U, V, w, X, Y, Z which are declared as follows: DCL U BIT(4) W CHAR(5) Y CHAR(3) V FIXED (4,1). X FLOAT(4), Z FIXED(3): The Data Card for the same program contains the...


A PLI program has variables U, V, w, X, Y, Z which are<br>declared as follows:<br>DCL U BIT(4)<br>W CHAR(5)<br>Y CHAR(3)<br>V FIXED (4,1).<br>X FLOAT(4),<br>Z FIXED(3):<br>The Data Card for the same program contains the following<br>information: U ='1101'B, V = 981-2;<br>U='1101'B, V= 123•4, W = '123•4', X= 1052E + 02,<br>Y= 'PQR', Z=- 249;<br>a) Show what will be entered into memory storage in the<br>computer as a result of the statements: GET DATA; followed<br>a little later in the program by the statement:<br>GET DATA(Z,V,W,YU,X);<br>b) In the same program at a later stage, the contents of the<br>memory locations corresponding to U, V, W, X, Y and Z<br>were changed to<br>0100<br>769.2<br>144.7<br>•0129E – 03<br>BOG<br>- 47<br>respectively. Show what will be printed out by the following<br>statements:<br>PUT DATA(U,Y);<br>PUT SKIP DATA(X):<br>PUT SKIP DATA(W,V,Z);<br>

Extracted text: A PLI program has variables U, V, w, X, Y, Z which are declared as follows: DCL U BIT(4) W CHAR(5) Y CHAR(3) V FIXED (4,1). X FLOAT(4), Z FIXED(3): The Data Card for the same program contains the following information: U ='1101'B, V = 981-2; U='1101'B, V= 123•4, W = '123•4', X= 1052E + 02, Y= 'PQR', Z=- 249; a) Show what will be entered into memory storage in the computer as a result of the statements: GET DATA; followed a little later in the program by the statement: GET DATA(Z,V,W,YU,X); b) In the same program at a later stage, the contents of the memory locations corresponding to U, V, W, X, Y and Z were changed to 0100 769.2 144.7 •0129E – 03 BOG - 47 respectively. Show what will be printed out by the following statements: PUT DATA(U,Y); PUT SKIP DATA(X): PUT SKIP DATA(W,V,Z);

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here