Computer Annual Question Paper 2023-24
Computer Annual Question Paper 2023-24
Class IX
COMPUTER APPLICATIONS
Time: 2 hrs. FullMarks :100
This paper is divided into two sections Section A and Section
B. Attempt all questions from Section A and Section B. The
intended marks for each question is given in braces -
SECTIONA
Question 1 [20]
Choose the correct answer and write the
1) A
correct option.
new line character is:
vá) ln b) \t c) \0 d) \f
i1) The autonsatic type conversion
complier is known as: performed by the java
-á) Implicit conversion ) Explicit
c) Forced conversion conversion
d) Type conversion
ii) The boolean literal is
)True Lb) false c) 0 d) 1
iv) An operator that has two operands is
known as
a) Unary operator -b) Binary operator
c) Ternary operator d) Operator
v)
System. out,println(i);
System.out.println(i);
System.outprintln(i);
Explain with use of break statement in a loop. Gve
example.
SECTIONB
The answer in this section should consist of the
programs in Blue J environment with java as the Base.
Bach program should be written using variable
description.
[4x15-60]
oucstion 3
Travels Pvt. Ltd. gives the following discount to its customers
A
as per the given tariff:
Ticket Amount Dccent
Write aprogram to input the name and the amount of the ticket
for the customer. Calculate the discount and net amount to be
paid. Assume that there are 15 customers.
Ouestion 4
Write a program to accept a three digit number and check
whether it is an Armstrong number or not.
If thenumber is not a three digit number then print Not a valid
number".
IX-Comp. App.
(6)
Note: A three digit number is
known as an Armstrong nunber
when the sum of the cube of each digit is equal to the number.
Threc digit Armstrong number: 153 .1+5+ -153
Question5
Write a program to generate the
user's choice. following designs as per
1. 111 2. 4321
2222 321
3333 21
4444 1
Ouestion 6
Create a class Composite to perform the following task:
To check and display whether a
number input by a user is
composite number or not (A number is said to be a composite,
if it has one or more than one
factorëxcluding 1 and the
number itself.) Example 4, 6, 8, 9