Guess Paper 2010 Class X Subject Computer Application
Download Guess Paper 2010 Class X Subject Computer Application
Preview text
http://www.icseguess.com/
Guess Paper – 2010 Class – X
Subject – Computer Application
Answer to this paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent in reading the question paper. The time given at the head of this paper is the time
allowed for writing answer. ====================================================
=========== This paper is divided into two sections. You are to answer all questions from section
A and any four questions from section B. The intended marks for questions or for parts of questions are given in brackets []
==================================================== ===========
SECTION A [40 Marks] Attempt all questions from this Section.
Q.1
(a) Define Polymorphism with example.
[2]
(b) Write down a function prototype which accepts a string type argument and
returns nothing.
[2]
(c) Why is main() function so special
[2]
(d) What are identifiers? Give an example.
[2]
(e) What is the purpose of extends keywords?
[2]
Q.2
(a) What is the difference between an entry controlled loop and an exit controlled
Loop?
[2]
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
(b) How many values a return function may pass to its caller?
[2]
(c) If int m=15,float n=19.9,double p=0.000842 then predict the return type of:
(i) m*n
(ii) p/n
[2]
(d) Differentiate between primitive type and composite type data
[2]
(e) A matrix of 3 x 3 is given.
[2]
4 5 6
1 2 3
7 8 9 Store these element in a double dimensional array.
Q.3
(a) a) int i =14 [2]
(b) int i = 7 (c) int i = 15 give output.
i>>1
i<<=2
i>>>2
(b) Give the output of:
[2]
int m[]={19,25,17,15,44};
int a[0]={11};
m[1]=m[3];
int p=a[0]+m[1];
System.out.println(p);
(c) Perform the tasks when- String str=”2010”; int p=99
[2]
(i) Write java expression to convert str into integer data type.
(ii) Write java expression to convert p into String data type.
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
(d) Give the result of the following
[2]
1. (12==12) && (-4 < -2) 2. (++9 > 9) || (10++ < ++10)
(g) Find the value of:
[2]
1. Math.ceil(15.45) – Math.floor(-11.5)
2. if a=14; b=10; c=5
( Math.pow(++a) * (Math.sqrt(b++) - c))
SECTION-B [60 Marks]
Attempt any four questions from this Section. The answers in this Section should consist of the Program in BlueJ environment with Java. Each program should be
written in using Variable descriptions/Mnemonic Codes such that the logic of the program is clearly depicted. Flow charts and Algorithms are not required.
Question 4.
The Bank sanctions „Housing Loan‟ to the employees belonging to HIG group, MIG
group, LIG group according to their yearly income:
HIG :High Income group, MIG : Middle Income group, LIG :Lower Income group
Category
Yearly Income
Loan Amount
LIG group
Up to Rs. 1,50,000
150% of annual income
MIG group
Rs. 1,50,001 - Rs. 5,00,000 200% of annual income
HIG group
More than Rs. 5,00,000
250% of annual income
WAP a program to calculate the loan amount to be sanctioned by the Bank, taking name,
yearly income and the category( „H‟ for HIG group, „M‟ for MIG group, „L‟ for LIG group)
as Inputs.
Question 5.
Write a program in Java to find the sum of the given series taking the value of „a‟ and 'n' from the console.
a
a2
a3
a4
a10
(a)S= ----- - ----- + ----- - ------ …………………… ------
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
a+1 a+2 a+3 a+4
a+10
1
2
3
4
9
(b)S= ----- - ----- + ----- - ------ …………………… ------
2! 3!
4! 5!
!10
Question 6.
Write a program to accept a String and display only those characters, which are consecutives.
Sample Input: UNDERSTANDING COMPUTER APPLICATIONS
Sample Output:
D,E
Question 7.
R,S S,T are consecutive characters.
An Examiner evaluates a number of answer scripts of “Computer Applications” in ICSE Examinations and awarded 0-99 in the answer scripts. Write a program in Java to find:
1. No. of candidates scoring 90% - 99% 2. No. of candidates scoring 80% - 89% 3. No. of candidates scoring 70% - 79% 4. No. of candidates scoring 60% - 69% 5. No. of candidates scoring 50% - 59% 6. No. of candidates scoring 40% - 49% 7. No. of candidates scoring less than 40%
Taking the number of scripts as an input.
Question 8.
Write a program to search for one integer from array AR with the help of Binary Search method. Assign 10 numbers in descending order in Array AR, then accept a number from user and search it. Print the position where number is present in the array otherwise display error message.
Question 9.
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
Write a program to enter a number (up to 999) and print it in words. e.g. if input is 19 then output is nineteen if input is 269 output is two hundred and sixty nine. Paper Submitted By : Ramji Awasthi Email Id:- [email protected] Telephone No. 9305035029
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
Guess Paper – 2010 Class – X
Subject – Computer Application
Answer to this paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent in reading the question paper. The time given at the head of this paper is the time
allowed for writing answer. ====================================================
=========== This paper is divided into two sections. You are to answer all questions from section
A and any four questions from section B. The intended marks for questions or for parts of questions are given in brackets []
==================================================== ===========
SECTION A [40 Marks] Attempt all questions from this Section.
Q.1
(a) Define Polymorphism with example.
[2]
(b) Write down a function prototype which accepts a string type argument and
returns nothing.
[2]
(c) Why is main() function so special
[2]
(d) What are identifiers? Give an example.
[2]
(e) What is the purpose of extends keywords?
[2]
Q.2
(a) What is the difference between an entry controlled loop and an exit controlled
Loop?
[2]
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
(b) How many values a return function may pass to its caller?
[2]
(c) If int m=15,float n=19.9,double p=0.000842 then predict the return type of:
(i) m*n
(ii) p/n
[2]
(d) Differentiate between primitive type and composite type data
[2]
(e) A matrix of 3 x 3 is given.
[2]
4 5 6
1 2 3
7 8 9 Store these element in a double dimensional array.
Q.3
(a) a) int i =14 [2]
(b) int i = 7 (c) int i = 15 give output.
i>>1
i<<=2
i>>>2
(b) Give the output of:
[2]
int m[]={19,25,17,15,44};
int a[0]={11};
m[1]=m[3];
int p=a[0]+m[1];
System.out.println(p);
(c) Perform the tasks when- String str=”2010”; int p=99
[2]
(i) Write java expression to convert str into integer data type.
(ii) Write java expression to convert p into String data type.
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
(d) Give the result of the following
[2]
1. (12==12) && (-4 < -2) 2. (++9 > 9) || (10++ < ++10)
(g) Find the value of:
[2]
1. Math.ceil(15.45) – Math.floor(-11.5)
2. if a=14; b=10; c=5
( Math.pow(++a) * (Math.sqrt(b++) - c))
SECTION-B [60 Marks]
Attempt any four questions from this Section. The answers in this Section should consist of the Program in BlueJ environment with Java. Each program should be
written in using Variable descriptions/Mnemonic Codes such that the logic of the program is clearly depicted. Flow charts and Algorithms are not required.
Question 4.
The Bank sanctions „Housing Loan‟ to the employees belonging to HIG group, MIG
group, LIG group according to their yearly income:
HIG :High Income group, MIG : Middle Income group, LIG :Lower Income group
Category
Yearly Income
Loan Amount
LIG group
Up to Rs. 1,50,000
150% of annual income
MIG group
Rs. 1,50,001 - Rs. 5,00,000 200% of annual income
HIG group
More than Rs. 5,00,000
250% of annual income
WAP a program to calculate the loan amount to be sanctioned by the Bank, taking name,
yearly income and the category( „H‟ for HIG group, „M‟ for MIG group, „L‟ for LIG group)
as Inputs.
Question 5.
Write a program in Java to find the sum of the given series taking the value of „a‟ and 'n' from the console.
a
a2
a3
a4
a10
(a)S= ----- - ----- + ----- - ------ …………………… ------
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
a+1 a+2 a+3 a+4
a+10
1
2
3
4
9
(b)S= ----- - ----- + ----- - ------ …………………… ------
2! 3!
4! 5!
!10
Question 6.
Write a program to accept a String and display only those characters, which are consecutives.
Sample Input: UNDERSTANDING COMPUTER APPLICATIONS
Sample Output:
D,E
Question 7.
R,S S,T are consecutive characters.
An Examiner evaluates a number of answer scripts of “Computer Applications” in ICSE Examinations and awarded 0-99 in the answer scripts. Write a program in Java to find:
1. No. of candidates scoring 90% - 99% 2. No. of candidates scoring 80% - 89% 3. No. of candidates scoring 70% - 79% 4. No. of candidates scoring 60% - 69% 5. No. of candidates scoring 50% - 59% 6. No. of candidates scoring 40% - 49% 7. No. of candidates scoring less than 40%
Taking the number of scripts as an input.
Question 8.
Write a program to search for one integer from array AR with the help of Binary Search method. Assign 10 numbers in descending order in Array AR, then accept a number from user and search it. Print the position where number is present in the array otherwise display error message.
Question 9.
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
http://www.icseguess.com/
Write a program to enter a number (up to 999) and print it in words. e.g. if input is 19 then output is nineteen if input is 269 output is two hundred and sixty nine. Paper Submitted By : Ramji Awasthi Email Id:- [email protected] Telephone No. 9305035029
------------------------------------------------------------------------------------------------------www.icseguess.com
Other Educational Portals www.cbseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com
Categories
You my also like
Operation Amplifier Circuits and Applications
2.2 MB23.4K4KThe Measurement of Business Capital, Income and Performance
954.5 KB56.4K6.8KC++ Input/Output Chapter 4 Topics
1.4 MB13K5.5KChapter 4 Loops
95.2 KB31.3K15.7KReview on Nanotechnology Based Paper Battery
495.4 KB21.8K2.2KNTE7447 Integrated Circuit TTL BCD Seven Segment Decoder
73 KB31K10.2KTL082 Wide Bandwidth Dual JFET Input Operational Amplifier
824 KB82K15.6KInput Service Distributor (isd) Under Gst Laws
653.5 KB29K9.6K5,800 143,000 180m
1.9 MB32.7K3.6K