Question 66
Question 67
Study the following program:
// precondition: x>=0 public void demo(int x) { System.out.print(x % 10); if (x % 10 != 0) { demo(x / 10); } System.out.print(x % 10); }
Which of the following is printed as a result of the call demo(1234)?
Question 68
Question 69
Consider a job scheduling problem with 4 jobs J1, J2, J3, J4 and with corresponding deadlines: ( d1, d2, d3, d4) = (4, 2, 4, 2). Which of the following is not a feasible schedule without violating any job schedule?
Question 70
The time taken by binary search algorithm to search a key in a sorted array of n elements is
There are 80 questions to complete.