Page 70 - iPlus_Ver_2.0_class_8
P. 70
#Problem Solving & Logical Reasoning
Crack The Code #Digital Literacy
Guess! Who am I?
1. I am an object-oriented programming language developed by Sun Microsystems. .............
2. I am an operator used to check the equality between two values. .............
3. I am a memory location used to store a value. .............
4. I am a reserved word that cannot be used as the name of a variable. .............
5. I am a data type in Java, used to store character values. .............
6. I am a text written inside a code for better understanding of the code. .............
7. I am the statement used to display the output of a program on the terminal. .............
#Experiential Learning
Let’s Explore
Surf the Internet and find out more uses of Java.
#Coding & Computational Thinking
#Creativity & Innovativeness
Practical Time
Write a Java program to display your Name and Roll Number on the terminal.
Write a Java program to display the names of five students in separate lines.
Write a Java program to calculate the sum of marks in 5 subjects.
Write a Java program to calculate simple interest. SI = (P * r * t ) / 100 where P is for the
principal amount, r is for the rate of interest, and t is for time duration. Take all the values from
the user.
Write a Java program to take the basic salary of an employee as input from the user and
calculate the net salary based on the criteria given below:
Net salary = basic salary + incentive
Incentive = 7 % of the basic salary
Teacher’s Corner
1. Talk about the various programming languages.
2. Discuss the features of Java and how they contribute to make Java a strong programming language.
3. Explain the syntax of println( ) method statement.
4. Encourage them to write Java programs using simple calculations.
68
iPlus (Ver. 2.0)-VIII

