Trending ▼   ResFinder  

ICSE Class IX Prelims 2021 : Computer Applications (Vibgyor High School, Marathahalli, Bangalore)

4 pages, 44 questions, 19 questions with responses, 21 total responses,    3    0
Devesh Senthilkumar
Vibgyor High School, Marathahalli, Bangalore
1-10
+Fave Message
 Home > deveshs >   F Also featured on: School Page icse9 and 1 more

Formatting page ...

VIBGYOR HIGH First Term Examination AY 2020-2021 COMPUTER APPLICATIONS Grade: IX Max. Marks: 100 Date: 16/09/2020 Time Allowed: 2 hours INSTRUCTIONS: This Paper is divided into Section A and Section B. Attempt all questions from Section A and any four questions from Section B. This Paper contains 4 printed pages. SECTION A (40 marks) [10] Q.1 a) Define term literal. Name any two literal. [2] b) Write the Java expression for the following: = 2 ( + ( 2 4 )). [2] c) Give the output of the following code segments: [2] i. Math.ceil(81.06) ii. Math.floor(45.87) d) What is the purpose of new operator in Java. Give example. [2] e) List all principles of OOP. [2] [10] Q.2 a) What are the types of casting shown by the following examples? i. double x=15.2; int y=(int)x; ii. int x=12; long y=x; 1 [2] b) Name any two types of operators in Java. [2] c) What is the value of x after evaluating the expression given here? [2] x + = ++x+ x - - + - - x , when int x= 7 d) Name any two packages that can be imported in java program. [2] e) Give two advantages of encapsulation. [2] [20] Q.3 a) Give a difference between Java applet and Java application. [2] b) Define encapsulation and abstraction. [2] c) Write the output of the following program code: [2] char ch= c ; int x=ch; x=x+3; System.out.println(x+ +ch); d) Evaluate the value of n if value of p = 5, q = 19. [2] int n=(q p)>(p q)?(q p):(p q); e) What do you mean by compile time error and run time error? [2] f) [2] What is the use of the JVM? g) Differentiate between the System.out.print() and System.out.println() [2] methods. h) What is object-oriented programming?Give two examples of object- [2] oriented programming languages. i) Differentiate between compiler and interpreter. [2] j) Name any two programming paradigms. [2] SECTION B(60 marks) Attempt any four from this Section. The answers in this Section should consist of the Programs in Blue J environment. Each program should be written using Variable description/Mnemonic Codes so that the logic of the program is clearly depicted. Flowcharts and Algorithms are not required. [15] Q.4 a) What are comments in Java? Explain three different types of comments that can be used in Java programming. 2 [5] b) c) Write a program to accept a number and find cube root of a given number. [5] Define the term Object Factory ? Give three differences between class and object. [5] [15] Q.5 a) Why object is called an instance of a class? Name and explain the [4] characteristics of an object with an example. b) How data hiding is implemented in java? Write four difference between [6] source code and object code. c) Write a program to find the minimum and maximum values of the numbers [5] 120 and 240 using math function. [15] Q.6 a) What is a token? Explain any four types of tokens. [5] b) Write a program to accept two numbers and to make calculator(+,-,*,/,%) [10] using switch statement [15] Q.7 a) Explain two types of variables in Java. [2] b) Explain the term: [3] i) Message Passing ii) Entity Objects iii) Instantiating c) Write a programs that interchanges the values of two integers a = 5 and b [5] = 10 without using a third variable. d) What is identifier? Give any four rules that identifier must follow. [5] [15] Q.8 a) What is a compound expression? Give example. [1] b) [4] What is escape sequence in Java? Give any three escape sequence used in Java programming. c) Explain five features of Java [5] d) What is relational operator? Explain any four relational operator with [5] 3 example. [15] Q.9 a) Write three difference between POP and OOP. [3] b) Write a single program to allow the user to enter a number. [12] i. Check whether the number is divisible by 2 and by 7 ii. Check whether the number is divisible by 2 but not by 4 iii. Check whether the number is divisible by 3 and not by 5 Output the appropriate message. ***** 4

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Apoorva Kiran

(7)

Shreyas

(6)

Aaryan Paranjape

(5)

10. Aritra Saha

(3)

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : ICSE Class IX Mid-term 2021 : Computer Applications  

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us

 

deveshs chat