Actual Paper 2023 Data Science
1. What will be the output of the following pseudocode for p = 3 and q = 4? int fun1(int p, int q) if(q EQUALS 0) return 0 if(q mod 2 EQUALS 0) return fun1(p + p, q/2) . return fun1(p + p, q/2) + p End function fun1() A. None of the options B.…
Q. Kunal walks 10 km towards the North. From there he walks 6 km towards the South. Then, he walks 3 km towards the East. How far and in which direction is he with reference to his starting point?
Q. A is B’s sister. C is B’s mother. D is C’s father. E is D’s mother. Then, how is A related to D?
Q. In a coding system PEN is written as NZO and BARK as CTSL. How can we write PRANK in that coding system?