MBA
Exam
Based on the following information answer the following questions.The pages of a book are numbered 0, 1, 2,…. and M, M > 0. There are four categories of instructions that direct a person in positioning the book at a page. The instruction types and their meanings are : 1. OPEN : position the book at page number 12. CLOSE : position the book at page number 03. FORWARD, n : from the current page move forward by n pages; if, in this process, page number M is reached, stop at M.4. BACKWARD, n : from the current page, move backward by n pages; if in this process, page number 0 is reached, stop at page number 0.In each of the following questions, you will find a sequence of instructions formed from the above categories. In each case, let n1 be the page number before the instructions are executed and n2 be the page number at which the book is positioned after the instructions are executed.Which of the following statements is true? 1) n<sub>1</sub> = n<sub>2</sub> if M = 10 and n<sub>1</sub> = 0 2) M = 20 provided n<sub>1</sub> > 0 3) n<sub>1</sub> > 30 provided M = 90 4) n<sub>1</sub> = 37 provided M =25
Read Solution (Total 0)
MBA Other Question