Formatting page ...
ARYA VIDYA MANDIR GROUP OF SCHOOLS MOCK REVIEW AUGUST 2020 COMPUTER APPLICATION Std: IX Computer Appl Date 29.08.20 Marks: 20 Time 1 hr Note : You will NOT be allowed to write during the first 10 minutes. This time is to be spent in reading the paper. The time given at the head of this paper is the time for writing the answers. This paper is divided into two Sections. Attempt all questions from Section A and any one questions from Section B. The intended marks for questions or parts of question are given in brackets [ ]. SECTION A (8 Marks) Answer all the questions Question 1: Answer the following questions: a. A method can return_______ i) Any number of values ii) Only 1 value ii) 2 values iv) None b. Convert the given ternary statement into if_else statement Small =num1>num2 ? num2 : num1; c. The following is a segment of a program: int X=4, Y=6; if(n>=0) { X+=1; Y-=1; } What will be the value of X and Y if n=0? d. Name any two conditional checking statement.
|