|
ICSE Papers ICSE Guess > ICSE Papers > Important Questions > Class X > 2009 > Computer Application > Computer Application By :- Mr. Harsh Q. 1. DAC to accept a word. Pass it to the function magic(String x). The function checks the string for the presence of consecutive letters. If two letters are consecutive in any position the function prints it is a magic string otherwise it prints not a magic string. Q. 2. DAC to accept a sentence. Print all the words that start with a vowel and end with a consonant. For example : Input :“the purpose of education is to replace an empty mind with an open one” Output : of Q. 3. Design a class with 3 overloaded functions according to the following specifications :
Q. 4. DAC amicable(int,int) with a default constructor, a parameterized constructor and the following two functions :
Hint : a pair of numbers are amicable if the sum of the factors of one number (excluding itself) is equal to the second number and vice-versa. Q. 5. Design a class to enter a sentence in lower case. Encrypt the string and print. For example : Input “where words fail. music speaks.” Q. 6. Design a menu driven program, that accepts an integer and displays the following menu : MENU
Q. 7. Design a class to accept name, class roll number and marks in phy, chem, bio and comp. of students until zero is entered as the roll number. Calculate and print the following :
Q. 8. Design a class to accept the values of a,b,c and n. Calculate and print x and y, where : x= (abc)2 / !1 + (abc)4 / !2 +……….(abc)n*2 / !n y=2+(2*4)+(2*4*6)+………..(2*4*………n) |
||||||
|
About Us - Guest Book - Education Forum - Contact Us - Help - Links - Advertise With Us - Terms of Service - Privacy Policy
© 2003-2012, ICSEGuess.com |