Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged pseudocode
3
votes
1
answer
1
UGC NET CSE | June 2019 | Part 2 | Question: 21
Consider the following pseudo-code fragment in which an invariant for the loop is $m ^*x^k=p^n$ and $k \geq 0$ (here, $p$ and $n$ are integer variable that have been initialized): /* Pre-conditions : $p \geq 1 \wedge n \geq 0$ */ /* Assume that ... } Which of the following must be true ar the end of the while loop? $x=p^n$ $m=p^n$ $p=x^n$ $p=m^n$
Consider the following pseudo-code fragment in which an invariant for the loop is “ $m ^*x^k=p^n$ and $k \geq 0$ ” (here, $p$ and $n$ are integer variable that have b...
Arjun
2.1k
views
Arjun
asked
Jul 2, 2019
Programming in C
ugcnetcse-june2019-paper2
pseudocode
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register