Trending ▼   ResFinder  

ICSE Class IX Prelims 2018 : Computer Applications (Vibgyor High School, Pune (NIBM Road))

4 pages, 29 questions, 12 questions with responses, 13 total responses,    2    0
Vedant Seth
Vibgyor High School, Pune (NIBM Road)
+Fave Message
 Home > vedant_2 >   F Also featured on: School Page icse9 and 1 more

Instantly get Model Answers to questions on this ResPaper. Try now!
NEW ResPaper Exclusive!

Formatting page ...

VIBGYOR High Second Term Examination 2017-2018 COMPUTER APPLICATIONS Grade: IX Date: 28.03.2018 Max. Marks : 100 Time Allowed : 2 hours INSTRUCTIONS: 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. The intended marks for the questions or parts of questions are given alongside the questions. Attempt all questions from Section A and any four questions from Section B Section A (Attempt all questions from this section) Question 1 [10] 1. Explain the state and behavior of an object. 2. What is Bytecode? 3. Explain the following statement of Java: Cricket obj = new Cricket(); 4. What is the value of: a. Math.ceil(38.76); b. Math.rint(15.6); 5. What is a constructor? Mention the types of constructors used in a class? Question 2 1. Define Modularity in Java. 2. What is meant by Inheritance and what are its benefits? 3. Define access specifier in java. Name the types of access specifiers. 4. Rewrite the following statement using ternary operator: int ans; if(res>365) ans=500/55; else ans=300/55; 5. Explain function prototype with an example. 1 [10] Question 3 1. What is an object? Give an example. 2. What is the error in the following program code? Explain in brief. int x=5, y=10; if (x > y) | | (y = 10) System.out.println ( YES ); else System.out.println ( NO ); 3. Predict the output for the following code: for(int j=1;j<=10;j++) { if(j==5) continue; System.out.println(j); } 4. Rewrite the following program code using switch case : char x; int m=0; if(x== a ) m=m+1; else if(x== b ) m=m+2; else if(x== c ) m=m+3; else m=m+4; 5. What is the difference between Interpreter and Compiler? 6. Define Polymorphism and Abstraction. 7. What is the importance of the main () method? 8. Explain the scope of a variable. 9. What are operators in Java? Name any two groups of Operators. 10. Give the syntax for switch-case . [2] [2] [2] [2] [2] [2] [2] [2] [2] [2] Section B (Attempt any four questions from this section) Question 4 [15] 1. Adventure travels Pvt. Ltd. Gives the following discount to its customers: Ticket Amount Discount Above Rs.70,000 18% Rs.55,001 to Rs.70,000 16% Rs.35,001 to Rs.55,000 12% Rs.25,001 to Rs.35,001 10% Less than Rs.25,001 2% Write a program to input the name and the amount of ticket for the customer. 2 Calculate the discount and net amount to be paid. Display the output in the following format for each customer: Sl.No. Name Ticket Charge Discount Net Amount 1. xxxxx xxxxxx xxxxx xxxxxx Question 5 [15] Write one program to accept a number from the user and display a menu to the user which performs the following operations input a number and perform the following operations: (i) Print sum of all the odd digits. (ii) Prints the smallest digit present in the number. Example: If number is 8723, then the output will be: The sum of odd digits=10 and smallest digit=2. Question 6 [15] Write a program to calculate and print the sum of each of the following series: (a) Sum (S) = 2 4 + 6 8 + . 20 (b) Sum (S) = x/2+x/5+x/8+x/11+ . +x/20 (Value of x to be input by the user.) Question 7 [15] Define a class Student described as below: Data members: Name, age, m1, m2, m3(marks in three subjects respectively), max, avg; Member methods: a. A parameterized constructor to accept the details of a student and initialize the data members. b. compute()-To compute the average and the maximum marks out of the three. c. display()-To display the name, age, marks in three subjects, maximum marks and average marks. Write a main method to create an object of a class and call the above methods. Question 8 [15] Write a class with name Volume using function overloading that computes the volume of a cube, a sphere and a cuboid. Formula : Volume of a cube = s*s*s(where s is the side of the cube) Volume of a sphere = 4/3*pi *r*r*r (where pi=3.14 or 22/7 and r is the radius of the sphere) Volume of a cuboid = l*b*h (where l=length, b=breadth, h=height of the cuboid) Write a main method to invoke the above methods. 3 Question 9 [15] Write a program in Java to input the number of phone calls done by a customer in a month. Calculate and print the total bill amount to be paid by the consumer as per the following call rates: Phone Calls Done Rate Per Call First 100 calls Only Rs.500 as Rental charge. Next 100 calls Rs.1.10 per call + Rental charge. Next 100 calls Rs.1.25 per call + Rental charge. More than 300 calls Rs.1.35 per call + Rental charge. 4

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Karan Maheshwari

(11)

Ssm

(2)

ResPaper Admins

(1)

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

vedant_2 chat