| Hi, Guest [ Already a member ? Login ] [ New User Registration! ] | India | CBSE | IGNOU | Friends | Users Online : 621 | Thursday 28th of August 2008 09:28:17 AM |
![]() |
|
ICSE Question Bank ICSE Guess >ICSE Papers > Question Bank > Class X > 2005 > Computer Applications General Instructions
SECTION A (40 Marks) Question 1 [10] (a) Name any two OOP'S principles. (b) Mention two different styles of expressing a comment in a program. (c) Which element is num[9] of the array num? (d) Differentiate between operator and expression. (e) if m = 5 and n = 2 output the values of m and n after execution in (i) and (ii):-
Question 2 [10] (a) Explain the term for loop with an example. (b) What is a compound statement? Give an example. (c) State the difference between Constructor and Method. (d) State one similarity and one difference between while and do while loop. (e) Explain, with the help of an example, the purpose of default in a switch statement. Question 3 (a) What will be the output of the following, if x = 5 initially? [2]
(b) What is the output of the following? [2] (c) Explain the meaning of break and continue statements. [3] (d) (i) What is call by value? (ii)How are the following passed? (e) Enter any two variables through constructor parameters and write a program to swap and print the values. [4] (f) What do the following functions return for:- [4]
(g) Differentiate between toLowerCase() and toUpperCase() methods. [2] SECTlON - B (60 Marks) Question 4 Write a class with name employee and basic as its data member, to find the gross pay of an employee for the Question 5 Write a program to input any given string to calculate the total number of characters and vowels present in the string and also reverse the string :- [15] Example : INPUT Question 6 Write a program using a function called area() to compute the area of a : Question 7 Write a program to bubble sort the following set of values in ascending order: 5,3,8,4,9,2,1,l2,98,16 [15]
Question 8 Write a program to print the sum of negative numbers, sum of positive even numbers and sum of positive odd numbers from a list of numbers(N) entered by the user. The list terminates when the user enters a zero. [15] Question 9 Write a program to initialize an array of 5 names and initialize another array with their respective telephone numbers. Search for a name input by the User, in the list. If found, display "Search Successful " and print the name along with the telephone number, otherwise display "Search unsuccessful. Name not enlisted". [15]
|
||||||||||||||||||||||||||||||
|
About Us - Success Stories - Guest Book - Education Forum - Contact Us - Help - Links - Advertise With Us - Terms of Service - Privacy Policy Add ICSE Guess.com to your online bookmark site © 2003-2007, ICSEGuess.com Website Designing, Website Development, Search Engine Promotion, Web Hosting By: DreamzSop Advertising Private Limited |