Trending ▼   ResFinder

# Class 10 Notes 2016 : Computer Applications

12 pages, 73 questions, 0 questions with responses, 0 total responses,    0    0
 Kavya Sekhar St. Antony's Inter College (AIC), Lucknow
+Fave Message
 Home > aswmgirl17 >

Formatting page ...

TIWRI TUTORIALS ICSE-X Last Minute Revision Package [ COMPUTER] Date: - 18-02-2015 Study start from 6 PM evening: Topic: - Array Total Time for Array = 2Hrs Do the Following Program for Practice:1. WAP to accept 10 nos. integer type numbers in an array and print the largest and smallest number present within the array along with their positions. (Consider the ZEROth subscript as position ONE) 2. WAP to enter 10 numbers in an integer type array and search a given number from within that array using Binary Search technique. 3. WAP to accept 10 integer type numbers in an array and sort the array in descending order using Selection Sort Technique. Display the elements of the array before and after sorting. Also display the largest and the smallest element. 4. WAP to create two arrays of size 20 each and store 20 country names along with their capital cities. Followed by which when user enters the name of the country the program displays the name of the capital if found otherwise displays DATA NOT FOUND 5. WAP to store names of 5 cities in a String type array and display only the ones that starts with a consonant and ends with a vowel. E.g. STR [ ] = { Agra , Bhopal , Patna , Jamshedpur , Kolkata } then the output is - Patna , Kolkata 6. WAP to input 15 nos. in array A[ ] and 10 nos. in array B[ ] and merge the two dissimilar sized array end to end into a third array C [ ] of size 25 and Display all the three arrays. 7. WAP to initialize the given data in an array & find minimum and maximum values along with the sum of given elements. 8. WAP to read the marks of 50 students in a class and display the following: i) Average marks obtained by each student ii) Print the roll no and average marks of students whose average marks is above 80 iii) Print the roll no and average marks of students whose average marks is below 40 9. Total size of char arr[ 25 ] is .. 10. State the output : intarr[ ] =new int [ 5 ] ; System .out .println( arr [ 0 ] + arr [ 4 ] ); 11. Find and Correct the errors in the following program segment : int n [ ] = ( 2 , 4 , 6 , 8 , 10 ) ; for ( inti =0 ; i< = 5 ; i++ ) System .out. println ( n[ +i+ ] = +n[ i ]); Note: - If you have more time then also solve the program& theory of other sample paper or from 10 Year Papers.

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...