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

Comp 9

Uploaded by

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

Comp 9

Uploaded by

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

St.

Andrew’s Public school Bhowali


Final Term Examination- 2018
Class- 9
Subject- Computer
Time 2 hours M. Marks= 80
Q1: Fill in the blanks with proper answer: [1x10=10]
1- A program written in human redable form is known as:
(a) object code (b) Both a and b
(c) Source code (d) None of these
2- --------------describe the state of an object:
(a) program (b) Characterstics
(c) function (d) None of these
3- OOP Stand for:
(a) Object- oriented procedure (b) Objected oriented Packet
(c) Object- oriented programming (d) objected oriented picture
4- Who developed Java:
(a) Dennis Ritche (b) James Gosling
(c) Bill Gates (d) Bjarnestroutstrup
5- Name the latest version of Java:
(a) Java Machine Video (b) Java video monitor
(c) Java virtual monitor (d) Java virtual Machine
6- What is the full form of JRE:
(a) Java Runtime Expression (b) Java Random Expression
(c) Java runtime Environment (d) Java Random Environment
7- -----------is the application that run through the command prompt:
(a) CUI (b) GUI
(c) Applets (d) None of these
8- A --------------is a named memory location , which is used to store data temporarily:
(a) Boolean (b) literal
(c) Variable (d) String
9- The float data type can store functional values upto---------------precision digits:
(a) 8 (b) 15
(c) 9 (d) 6
10- If intx=5; y=10; z=11; then what will be the value of double C, when C=x*y+z/2;?
(a) 53.0 (b) 55.02
(c) 55.0 (d) 55.03
Q2:- State true or false: (write statement) [1x10=10]
(a) Java Does not support multiple Inheritance ( )
(b) object may communicate with each other through function. ( )
(c) To write Instruction for application software , a user must have intense knowledge of computer
Circuitry. ( )
(d) the class work as a blue print for all its objects . ( )
(e) Behavior allows us to describe the status of an object. ( )
(f) Semicolon (;) indicates the beginning of a statement. ( )
(g) A machine code is also known as native code ( )
(h) GUI based application accept user input through command prompt. ( )
(i) Braces are used to declare arrays. ( )
(j) long data types reverse 8 bytes in memory. ( )
Q3:- Fill in the blanks: [10]
(a) --------------are the special symbols that perform specific operating on operands.
(b) The error that occur during the execution of program are called ----------------error.
(c) If either or two expression is true; or (II) operator will return -------------vlaue.
(d) The name of an identifier can not start with a ----------------
(e) -----------data type are created using primitive data types.
(f) The-----------operator in Java is used to access member variable and networks.
(g) The--------- function accept one double value as an argument and return its absolute value.
(h) ---------------data types are created using primitive data types.
(i) The element, which are required to form a meaningful Sentence in Java are known as---------.
(j) -----------literal can be written eitherin fractional or exponent form.
Q4: Answer the following Questions: (do any 10) [2x10=20]
(a) What are constants? Explain with the help of an example?
(b) Define keywords? Give examples of keywords.
(c) What is data type?
(d) Define Variable.
(e) Why is a class referred to as a factory of objects?
(f) why is an object called an instance of a class?
(g) Define the term byte code?
(h) What is a package?
(i) What are Separators? Give any two examples?
(j) What is null Literal?
(k)what are operators?
(l) State the difference between = and==?
(m) Whatare U nary operator?
(n) What are Relational Operator?
Q5:- Differentiate between:- [2x5=10]
(a) Unary and binary Operator
(b) / and % operators
(c) Source code and Machine code
(d) complier and Interpreter
(e) Token and Identifier
Q6: Define these terms properly with in a paragraph. [1x10=10]
(a)object (b) class (c) Abstraction (d) Encapsulation
(e) inheritance (f) polymorphism (g) source (h) Blue J (i) Byte code
(j) Comment line
Q7.(a) Write a program to find the sum and product of any two numbers stored in two variables.
[5]
OR
Create a program in Java to convert 19 km to miles .(1.6km= 1 mile)
(b) Write a program to find SI and amount where p, r, t are defined by the user. [5]
OR
Write a program in Java to calculate and print the area and perimeter of a square.

You might also like