0% found this document useful (0 votes)
24 views2 pages

Class 10 Test (Condi: Ajay Chaudhary Classes Being Brilliant

The document provides details of a Class 10th test on conditional statements in Java, including 7 multiple-choice and short-answer questions worth a total of 70 marks. The test covers topics like taking user input to find the greatest of three numbers, generating a random number between 1 and 7 to display the weekday name, checking if a user-input year is a leap year, calculating the sum and average of 5 user-input numbers, explaining the use of if statements and different conditional statement types, and describing the scope of conditional statements with an example.

Uploaded by

Aman Saxena
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)
24 views2 pages

Class 10 Test (Condi: Ajay Chaudhary Classes Being Brilliant

The document provides details of a Class 10th test on conditional statements in Java, including 7 multiple-choice and short-answer questions worth a total of 70 marks. The test covers topics like taking user input to find the greatest of three numbers, generating a random number between 1 and 7 to display the weekday name, checking if a user-input year is a leap year, calculating the sum and average of 5 user-input numbers, explaining the use of if statements and different conditional statement types, and describing the scope of conditional statements with an example.

Uploaded by

Aman Saxena
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/ 2

Ajay Chaudhary Classes

Being Brilliant:-
Class 10th test(Conditional statements)
Max marks-70
1.Take three numbers from the user and print the greatest
number. [10]

2.Write a Java program that keeps a number from the user and
generates an integer between 1 and 7 and displays the name of
the weekday. [10] 

3. Write a Java program that takes a year from user and print
whether that year is a leap year or not. [10]

4. Write a program in Java to input 5 numbers from keyboard and


find their sum and average. [10]

5.What is the use of if statement? [2]

6.What are the different types of condition statements? [3]

7.What do you mean by scope of a conditional statement?Explain


with a help of an example.[5]
8.

You might also like