M.P.BIRLA FOUNDATION H.S. SCHOOL UNIT ASSESSMENT I(SOLVED), 2025-26 CLASS IX

M.P.BIRLA FOUNDATION H.S. SCHOOL UNIT ASSESSMENT I, 2025-26 CLASS IX

SUBJECT-COMPUTER APPLICATIONS MAXIMUM MARKS – 25

WRITING TIME 50 MINUTES

1.

i)A set of characters is assigned to:

a) int

c) float

d) char

ii)A word used in high level language which has a special meaning to the compiler is a called:

a) Token

b) Class

d) Identifier

iii)Primitive data type that holds fractional values

a) double

b) boolean

c) float

iv)The size of int data type in bits is:

a) 32 bits

b) 64 bits

c) 8 bits

d) 16 bits

v)Boolean data type holds

a) true

b) false

c) 0 and 1

vi)if (a>b && a>c), then which of the given statements is true?

a) b is the smallest

c) a is the smallest

b) b is the greatest

2. Answer the following: [2 X 2 =4]

a) Name the operators listed below:

i) && !  ii) <

b)Is the above statement correct? Give reason in support of your answer.

 int x = ‘A’;

3. Write a program to declare a class named ShowRoom. [15]

Accept the name of the customer and the cost of the items purchased. Calculate discounton the cost of purchased items, based on the following criteria:

cost(RS)Discount(%)
Less than or equal to Rs 150005%
More tan 15000 to equal to 3000010%
Above Rs 3000020%
WhatsApp Group Join Now
Telegram Group Join Now

Display the name, discount and the amount to be paid after discount.The program should be written using Variable descriptions/Mnemonic codes so that the logic of the program is clearly depicted.

Program code:

Leave a Comment