Trending ▼   ResFinder  

ICSE Prelims 2017 : Computer Applications

4 pages, 25 questions, 17 questions with responses, 18 total responses,    0    0
Anshika Gehani
Billabong High International School (BHIS), Bhopal
+Fave Message
 Home > anshika_gehani >

Formatting page ...

JAVA FOR SCHOOL SAMPLE PAPER 5 Making Java Fun To Learn ICSE (Class X) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- COMPUTER APPLICATIONS (THEORY) (Two hours) (Full Marks 100) Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent in reading the question paper. The time given at the head of this Paper is the time allowed for writing the answers. This Paper is divided into two Sections. Attempt all questions from Section A and any four questions from Section B. The intended marks for questions or parts of questions are given in brackets [ ]. SECTION A (40 Marks) Attempt all questions Question 1. (a) (b) (c) (d) (e) Give the pictorial representation of the Java Compilation process. "Java is a Case Sensitive language" True or False? Can there be an if without an else? Give an example. What is a loop? Find the output of the following program segments, when: (a) val = 500 (b) val = 1600 int val, sum, n = 550; sum = n + val > 1750? 400:200; System.out.println(sum); [2] [1] [2] [2] [3] Question 2. (a) (b) (c) (d) If a = 5, b = 9, calculate the value of a + = a++ - ++b + a State one similarity and one difference between 'while' and 'for' loop. What is the use and syntax of a ternary operator? Rewrite the following program correctly: [2] [2] [2] [4] class Sample { public void main [ ] ; { x=2 y = 2.2; float z = x * y; System.out.printline("Value of x++ = " (x++) system.out.println("Value of z = " + z) } } This Paper consists of 4 printed pages. TSP005 www.javaforschool.com Turn over

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Sankalp Mukherjee

(16)

Praks Shetty

(3)

Abhinav Damor

(1)

Muhd Jibran

(1)

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

anshika_gehani chat