0% found this document useful (0 votes)
2 views

Computer Revision

The document is a revision exercise for Computer Studies for STD VIII students, covering Java programming concepts, data types, and application-based questions. It includes fill-in-the-blank questions, true/false statements, multiple-choice questions, and programming tasks. The content focuses on fundamental programming knowledge and practical coding skills in Java.

Uploaded by

starriyaz963
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Computer Revision

The document is a revision exercise for Computer Studies for STD VIII students, covering Java programming concepts, data types, and application-based questions. It includes fill-in-the-blank questions, true/false statements, multiple-choice questions, and programming tasks. The content focuses on fundamental programming knowledge and practical coding skills in Java.

Uploaded by

starriyaz963
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1

INDIAN EDUCATION SOCIETY


ORION ICSE
Computer Studies

Revision STD – VIII

A. Fill in the blanks with the correct words.

1. Java is a/an ________ programming language.


2. ‘A’ is a ________constant.
3. float a = 45.34; is a/an ________ statement.
4. We can pay bills using ________ app.
5. The output of 20 % 6 in Java will be ________.
6. The int data type takes ________ bytes for storage.
7. When one object acquires the properties and behaviours of a parent object, it is
known as _________.
8. If you want to do some editing in a program, double-click the __________ icon.
9. Size of Boolean data type is ___ bit.
10. The special symbols that are used to perform calculations called as __________
11. MS Word app is an example of ________ app.
12. ______ app is used to communicate in short messages called tweets.
13. The filename extension of an Android app is ________.
14. ___ pane is used to displays the appearance of the application.

B. Write T for the true statement and F for the false one. Correct the false
statement(s).
1. In Java, a class is a capsule of data members and member functions.
2. To run a Java program, double-click the compiled class.
3. A variable name can start with a digit.
4. Java is a low-level programming language.
5. Binding code and data together into a single unit is known as polymorphism.
6. A Java string constant consists of more than one character enclosed in double
quotes.
7. Instagram is a hybrid app.
8. maps.google.com is desktop app.

C. Choose the correct option.


2
1. Which data type is used to store a whole number?
a. float b. int c. String d. char

2. Which of these is an invalid String constant?


a. “9” b. “Hello” c. ‘9’ d. “*****”

3. Which of these is not a valid initialization?


a. int a = 12; b. float b = 34.6;
c. char a = ‘A’; d. String S = ‘Hello!’;

4. The method of assigning a value and defining the data type at the same time is
called
a. encapsulation b. initialization
c. polymorphism d. object

5. Operators and operands together form a/an


a. class b. object c. attribute d. expression

6. When an increment or decrement operator is used before the operand, it


is known as the _____ operator.
a. prefix b. postfix c. operator d. symbol

D. Answer the following.


All questions are compulsory from the exercise.

E. Application-Based Questions.
1. What will be suitable data types for the following constant values?
i. 101 ii. “123” iii. ‘A’ iv. 23.4351 v. true

2. What will be the output of the following method?


public static void main()
{
int a = 5;
a++;
System.out.println(a);
a--;
System.out.println(a);
}

3. Find out the invalid identifier from the list given below:
3
Rollno1, A12B, _A1, 1Salary, Emp_Name

F. Match the items in the following columns:

Column A Column B
1. BlueJ a. Initialization
2. float b. Java editor
3. = c. Data type
4. int a=0; d. assignment operator

G. Identify following icons:


4

H. Write a program in Java.


1. WAP to accept two numbers and display their addition, subtraction,
division and multiplication.
2. WAP to interchange the values of two numbers without using the third
variable.
3. Create a program to calculate and print the circumference and area of a
circle.
4. WAP to find average of three numbers.
5. It takes 3 hours to drive a distance of 192 km. Create a program to calculate
the average speed in km/h.

You might also like