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

Nested Loop Question Paper Updated

This document is a practice question paper for ICSE Class 10 Computer Applications focusing on nested loops in Java. It consists of two sections: Section A contains 10 pattern-based programming questions worth 50 marks, and Section B includes 10 conceptual programming questions also worth 50 marks. Students are instructed to answer all questions while maintaining proper indentation and syntax.

Uploaded by

omshree166
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)
31 views4 pages

Nested Loop Question Paper Updated

This document is a practice question paper for ICSE Class 10 Computer Applications focusing on nested loops in Java. It consists of two sections: Section A contains 10 pattern-based programming questions worth 50 marks, and Section B includes 10 conceptual programming questions also worth 50 marks. Students are instructed to answer all questions while maintaining proper indentation and syntax.

Uploaded by

omshree166
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

Aradhya Public School

Computer Applications (ICSE Class 10)

Nested Loops – Practice Question Paper

Time: 2 Hours Maximum Marks: 100

Instructions:
1. Answer all questions.

2. Programs must be written in Java.

3. Maintain proper indentation and syntax.

Section A: Pattern-Based Questions (50 Marks)


Q1. Write a Java program to print the following pattern:
*****
*****
*****
*****
*****
(5 marks)

Q2. Write a Java program to print the following pattern:


*
**
***
****
*****
(5 marks)

Q3. Write a Java program to print the following pattern:


*****
****
***
**
*
(5 marks)

Q4. Write a Java program to print the following pattern:


1
12
123
1234
12345
(5 marks)

Q5. Write a Java program to print the following pattern:


1
22
333
4444
55555
(5 marks)

Q6. Write a Java program to print the following pattern:


54321
5432
543
54
5
(5 marks)

Q7. Write a Java program to print the following pattern:


1
23
456
7 8 9 10
(5 marks)

Q8. Write a Java program to print the following pattern:


A
AB
ABC
ABCD
ABCDE
(5 marks)

Q9. Write a Java program to print the following pattern:


*****
* *
* *
* *
*****
(5 marks)

Q10. Write a Java program to print the following pattern:


*
***
*****
*******
*********
(5 marks)

Section B: Conceptual Questions (50 Marks)


Q11. Write a Java program to: Print multiplication tables from 1 to 5 (5 marks)

Q12. Write a Java program to: Count total numbers printed in nested loops (5 marks)

Q13. Write a Java program to: Find sum of elements in a 2D matrix (5 marks)

Q14. Write a Java program to: Print all ordered pairs (i, j) (5 marks)

Q15. Write a Java program to: Find factors of numbers from 1 to 10 (5 marks)

Q16. Write a Java program to: Print prime numbers from 1 to 50 (5 marks)

Q17. Write a Java program to: Print multiplication grid (5 marks)

Q18. Write a Java program to: Perform matrix addition (5 marks)


Q19. Write a Java program to: Find transpose of matrix (5 marks)

Q20. Write a Java program to: Count even numbers in a matrix (5 marks)

You might also like