0% found this document useful (0 votes)
91 views4 pages

Raymond Memorial Higher Secondary School

This document contains a half-yearly examination paper for Class 9 Computer Applications. It has two sections - Section A which contains 4 compulsory questions worth 40 marks total, and Section B which contains 4 optional questions worth 40 marks total. Students must answer all questions in Section A and 4 questions of their choice from Section B. The questions cover topics like classes and objects, variables, data types, operators, control structures, and basic programming concepts.

Uploaded by

Avishek Bhadra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views4 pages

Raymond Memorial Higher Secondary School

This document contains a half-yearly examination paper for Class 9 Computer Applications. It has two sections - Section A which contains 4 compulsory questions worth 40 marks total, and Section B which contains 4 optional questions worth 40 marks total. Students must answer all questions in Section A and 4 questions of their choice from Section B. The questions cover topics like classes and objects, variables, data types, operators, control structures, and basic programming concepts.

Uploaded by

Avishek Bhadra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Raymond Memorial Higher Secondary School

Half Yearly Examination 2018

********************************************************
Class IX Total marks- 100

Subject- Computer Application Time- 2 Hours

********************************************************
<Candidates are allowed additional 15 minutes for only reading the paper.
They must NOT start writing during this time. >

Answer all the questions from the Section A (compulsory) and four questions
from Section B.

The intended marks for questions are given in brackets []

Section - A (Compulsory)
(Marks – 10x4=40)

Question no 1. [5x2=10]

i) What is class and Object?

ii) Describe variable.

iii) Write the difference between ‘=’ and ‘==’.

iv) What is identifier?

v) Define Type Conversion.


Question no 2. [5x2=10]

i) If a=12, b=21, c=3, d=0 ;


Solve the following Arithmetic Expression –

d = (a++) / (--b) + (++b)-c ;


f = (++c) % (b--) + b x (a--) ;
g = (++a) + (a--) x a% ++b ;
b = (++a % 3) + (b-- / ++c) / (++d) ;
j = (f % 5) % (++b+++b) / c ;

Question no 3. [4x2.5=10]

Write Short Notes –

i) Java Complication Language.


ii) High Level Language.
iii) Binary Language.
iv) Object Oriented Programming Language.

Question no 4. [5x2=10]

i) Write the difference between static and dynamic initialization.


ii) Write the syntax of Ternary operator with example.
iii) What will be the output when
a) Val = 1500 b) Val = 200
int Val = 0, sum, n =750;
sum = (Val % n > 100) ? 500 : (10x10) ;

iv) int a=105 ;


a ++ ;
char ch = (char) (a+5) ;
system . out . println (ch) ;
system . out . println (a) ;

v) Write the syntax of nested if.


Section – B (Any four)
(Marks – 15x4=40)

Write any four Questions:-

5. Write a program to swap the values of two variables without using third variable.

6. Write a Program to take the name and basic Salary of an employee and calculate net
salary and Gross salary of that employee.

* Dearness Allowance = 25% of Basic.


* House Rent Allowance = 15% of basic.
* Provident Fund = 8.33% of Basic.
* Net Pay = Basic + Dearness Allowance + House Rent Allowance.
* Gross Pay = Net Pay – Provident Fund.

7. Mr. Agarwal inverts certain sum at 5% per annum compound interest for three years.
Write a program to calculate.

a) The interest for first year.


b) The interest for Second year.
c) Amount after third year.

8. To foster a sense of water consumption, water department introduce a new annual water
tax.

Water (in gallons) Tax / 100 gallons


Up to 45 No Tax
More than 45 but 75 or less 475.00
More than 75 but 125 or less 750.00
More than 125 but 200 or less 1225.00
More than 200 but 350 or less 1650.00
More than 350 2000.00

Write a program to compute and display the tax to be paid by talking annual consumption
as input.

9. A Library charges fine for books returned late as give bellow

First Five days 3.40 per day


Six to ten days 5.60 per day
Above ten days 8.75 per day

Write a program to calculate to fine assuming that book in returned Nv days late.

10. Write a program to print the maximum value among three variable using Ternary
operator.

***************************************************************************
***************************************************************************

You might also like