378 views
0 0 votes

Are these type of questions is still in the syllabus?

Should I really focus on these type of questions at this time?

Consider the following code written in a pass-by-reference language like FORTRAN and these statements about the code.

subroutine swap(ix,iy)
     it = ix
L1 : ix = iy
L2 : iy = it
end
  ia = 3
  ib = 8
  call swap (ia, 1b+5)
  print *, ia, ib
end 

S1: The compiler will generate code to allocate a temporary nameless cell, initialize it to 13, and pass the address of the cell swap S2: On execution the code will generate a runtime error on line L1 S3: On execution the code will generate a runtime error on line L2 S4: The program will print 13 and 8 S5: The program will print 13 and -2 Exactly the following set of statement(s) is correct:

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
1 1 answer
604
604 views
abhiyodayapandey asked Jan 7, 2024
604 views
Find the minimum number of total variables in SSA form:a = b + mm = a + ed = b + mb = a + e
0 0 votes
0 0 answers
398
398 views
_harshit__01 asked Nov 14, 2022
398 views
For sr 7,11- 1. i.Strings of 0's and 1's of the form aa', where a is binary string and a' is reverse of a.ii. Binary string of the form xy s.t. x!=y. Total length of xy i...
0 0 votes
0 0 answers
1.1k
1.1k views
Mk Utkarsh asked Jun 29, 2018
1,087 views
$E \rightarrow E + T \hspace{5px} | \hspace{5px} T$$T \rightarrow TF \hspace{5px} | \hspace{5px} F $$F \rightarrow F^{*} \hspace{5px} | \hspace{5px} (E) \hspace{5px} | \...