Revision: Arrays (Single Dimensional and Double Dimensional) Computer Applications (English Medium) ICSE Class 10 CISCE
- Write a Program to Input Integer Elements into an Array of Size 20 and Perform the Following Operations:
- Define a class pin code and store the given pin codes in a single-dimensional array. Sort these pin codes in ascending order using the Selection Sort technique only. Display the sorted array.
- Design a Class to Overload a Function Series() as Follows:
- Name the Following : (I) a Keyword Used to Call a Package in the Program. (Ii) Any One Reference Data Type.
- Differentiate Between Searching and Sorting.
- If Int X = 4, 3,7, 8, 9,10; What Are the Values of P and Q ? (I) P = X.Length (Ii) Q = X2+ X5 * X1
- Write a Program to Input Forty Words in an Array. Arrange These Words in Descending Order of Alphabets, Using Selection Sort Technique. Print the Sorted Array.
- What is the Difference Between the Linear Search and the Binary Search Technique?
- Using the Switch Statement, Write a Menu Driven Program To: (I) to Find and Display All the Factors of a Number Input by the User (Including 1 and Excluding Number Itself).
- Find the errors in the given program segment and re-write the statements correctly to assign values to an integer array.int a = new int (5);for (int i = 0; i < = 5; i++) a [i] = i;
- Consider the given array and answer the question given below: int x[ ] {4; 7,9,66,72,0,16); What is the length of the array?
- Consider the given array and answer the question given below: int x[ ] {4; 7,9,66,72,0,16); What is the value in x[4] ?
- Define a class to accept 10 characters from a user. Using bubble sort technique arrange them in ascending order. Display the sorted array and original array.
- Define a class to accept values into an array of double data type of size 20. Accept a double value from user and search in the array using linear search method.
- Write a program to accept a name and total marks of N number of students in two single subscript array name[] and totalmarks[]. Calculate and print: i. The average of the total marks obtained by N
- Write a Program to Input 15 Integer Elements in an Array and Sort Them in Ascending Order Using the Bubble Sort Technique.
- What is the value stored in variable res given below? double res = Math.pow (“345”.indexOf(‘5’), 3)
- The number of bytes occupied by a character array of four rows and three columns is ______.
- Consider the following two-dimensional array and answer the questions given below: int x[ ][] = {{4,3,2}, {7,8,2}, {8,3,10}, {1,2,9}}; What is the order of the