Programs

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

St.

Francis School (ICSE)


Koramangala, Bengaluru-34
CLASS X – COMPUTER APPLICATIONS

PROGRAMS TO BE DONE IN BLUEJ AND TO BE WRITTEN IN COMPUTER RECORD BOOK.

DATE : 22-02-2024
1. Write a menu driven program to generate the uppercase letters from Z to A and lowercase
letters from ‘a’ to ‘z’ as per the user’s choice. Enter 1 to display uppercase letters from Z to A
and Enter ‘2’ to display lowercase letters from ‘a’ to ‘z’.
2. Write a program in Java to display the pattern –
A*B*C*D*E*
A*B*C*D*
A*B*C*
A*B*
A*
3. To input a number and to calculate & display the factorial of each Digit.
Sample Input : 365
Output :
Factorial of 5 : 120
Factorial of 6 : 720
Factorial of 3 : 6
4. Write a menu driven program to
a) Input 5 binary numbers and convert each into decimal. Display it.
b) Input 5 decimal numbers and convert each into binary. Display it.
Note :
✓ First question to be completed and record to be submitted by Monday, 26th Feb, 2024.
✓ Second question to be done by 1st March 2024.
✓ Third and fourth question to be submitted by 9th March 2024.
✓ The variable names, data types and description of the variables to be written in table
format. [ Tables to be drawn in pencil only]
✓ Write the input given and the output obtained (under heading OUPUT) when you
executed the program which depicts your program is working.
✓ Write the program neatly in your computer record book and make sure your work is
neat and without any errors.
✓ LATE SUBMISSION OF RECORD IS NOT ENTERTAINED.

HAPPY PROGRAMMING!

You might also like