Computer Applications 2015-2016 (English Medium) ICSE Class 10 Question Paper Solution
Advertisements
(English Medium)
Academic Year: 2015-2016
Date & Time: 28th March 2016, 11:00 am
Duration: 2h
What are keywords ? Give an example.
Chapter:
Name any two library packages.
Chapter:
Name the type of error ( syntax, runtime or logical error) in each case given below:
(i) Math.sqrt (36 – 45)
(ii) int a;b;c;
Chapter:
If int x [ ] = { 4, 3,7, 8, 9,10}; what are the values of p and q ?
(i) p = x.length
(ii) q = x[2] + x[5] * x[1]
Chapter:
State the difference between == operator and equals () method.
Chapter:
Advertisements
What is the type of casting shown by the following example:
char c = (char) 120;
Chapter:
Differentiate between formal parameter and actual parameter.
Chapter:
Write a function prototype of the following:
A function PosChar which takes a string argument and a character argument and returns an integer value.
Chapter:
Name any two types of access specifiers.
Chapter:
Give the output of the following string functions:
- "MISSISSIPPI".indexOf('S') + "MISSISSIPPI".lastIndexOf('I')
- "CABLE".compareTo("CADET")
Chapter:
Give the output of the following Math functions:
(i) Math.ceil(4.2)
(ii) Math.abs(-4)
Chapter:
Advertisements
Write down java expression for:
`"T" = sqrt("A"^2 + "B"^2 + "C"^2)`
Chapter:
Rewrite the following using ternary operator:
if (x%2 == o)
System.out.print(“EVEN”);
else
System.out.print(“ODD”);
Chapter:
Convert the following while loop to the corresponding for loop:
int m = 5, n = 10;
while (n >= 1)
{
System.out.println(m*n);
n--;
}Chapter:
Write one difference between primitive data types and composite data types.
Chapter:
Analyze the given program segment and answer the following questions:
(i) Write the output of the program segment.
(ii) How many times does the body of the loop gets executed?
for (int m=5; m<=20;m+=5)
{ if(m%3==0)
break;
else
if(m%5==0)
System.out.println(m);
continue;
}
Chapter:
Give the output of the following expression:
a+= a++ + ++a + -- a + a--; when a = 7;
Chapter:
Write the return type of the following library functions:
- isLetterOrDigit(char)
- replace(char, char)
Chapter:
Define a class named BookFair with the following description:
Instance variables/Data members :
String Bname — stores the name of the book
double price — stores the price of the book Member methods :
(i) BookFair() — Default constructor to initialize data members
(ii) void Input() — To input and store the name and the price of the book.
(iii) void calculate() — To calculate the price after discount. Discount is calculated based on the following criteria.
| Price | Discount |
| Less than or equal to Rs. 1000 | 2% of price |
|
More than Rs. 1000 and less than or equal to Rs. 3000 |
10% of price |
| More than % 3000 |
15% of price |
(iv) void display() — To display the name and price of the book after discount. Write a main method to create an object of the class and call the above member methods.
Chapter:
Using the switch statement, write a menu-driven program for the following:
(i) To print Floyd’s triangle [Given below]
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
(ii) To display the following pattern:
I
I C
I C S
I C S E
For an incorrect option, an appropriate error message should be displayed.
Chapter:
Special words are those words that start and end with the same letter.
Examples:
EXISTENCE
COMIC
WINDOW
Palindrome words are those words which read the same from left to right and vice versa
Examples:
MALAYALAM
MADAM
LEVEL
ROTATOR
CIVIC
All palindromes are special words, but all special words are not palindromes. Write a program to accept a word check and print Whether the word is a palindrome or only a special word.
Chapter:
Design n class to overload a function SumSeriesO as follows:
(i)
void SumSeries(int n, double x) – with one integer argument and one double argument to find and display the sum of the series given below:
`"s" = "x"/1 - "x"/2 + "x"/3 - "x"/4 + "x"/5`...... ...... ...... to n terms
(ii)
void SumSeries() – To find and display the sum of the following series:
s = 1 + (1 x 2) + (1 x 2 x 3) + ….. + (1 x 2 x 3 x 4 x 20)
Chapter:
Write a program to accept a number and check and display whether it is a Niven number or not.
(Niven number is that number which is divisible by its sum of digits).
Example:
Consider the number 126.
The Sum of its digits is 1+2+6 = 9 and 126 is divisible by 9.
Chapter:
Write a program to initialize the seven Wonders of the World along with their locations in two different arrays. Search for the name of the country input by the user. If found, display the name of the country along with its Wonder, otherwise display “Sorry Not Found!”.
Seven wonders — CHICHEN ITZA, CHRIST THE REDEEMER, TAJMAHAL, GREAT WALL OF CHINA, MACHU PICCHU, PETRA, COLOSSEUM
Locations — MEXICO, BRAZIL, INDIA, CHINA, PERU, JORDAN, ITALY
Example —
Country Name: INDIA Output: INDIA-TAJMAHAL
Country Name: USA Output: Sorry Not Found!
Chapter:
Other Solutions
Submit Question Paper
Help us maintain new question papers on Shaalaa.com, so we can continue to help studentsonly jpg, png and pdf files
CISCE previous year question papers ICSE Class 10 Computer Applications with solutions 2015 - 2016
Previous year Question paper for CISCE ICSE Class 10 Computer Applications-2016 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
By referring the question paper Solutions for Computer Applications, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CISCE ICSE Class 10 .
How CISCE ICSE Class 10 Question Paper solutions Help Students ?
• Question paper solutions for Computer Applications will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
