Download Computer exam paper e and more Cheat Sheet Computer Science in PDF only on Docsity!
Final Term Examination 2017-2018 Std. : IX Full Marks : 100 Subject : COMPUTER APPLICATIONS Time : SECTION A (40 Marks) Question 1 [2x5=10] a) | What do you mean by fall through programming technique. b) Explain the term ‘assignment’ with an example. c) — Explain infinite loop with an example. d) What is Inheritance. e) Name the package used for Scanner ? Question 2. [2x5=10] Write difference among the following functions: - a) Character.toUpperCase() and Character.toLowerCase() b State the difference with an example between a rint() and random() ( ( (c) Character.isLetter() and Character.isLetterOrDigit(). (d) formal and actual parameters ? ( e) max() and min() Question 3. Write output of the following : [2x5=10] a) for(int i=1; i < 6; i++) System.out.printin(i); b) int n=243; while(n>0) { System.out.printIn(n%10); n=n/10; } c) char x='a'; System.out.printin(x+x); System.out.printin((int)x+(int)x); d) char ch="r'; System.out.printin(Charcter.isLetter(ch)); e) int a=5,b=10; int c=(++a*b/2)*4; System.out.print(a+"\t"+c);