English

Java allows storing a number of similar type of data using a common variable name such that each element is accessed with the help of a subscript or cell number. - Computer Applications

Advertisements
Advertisements

Question

Java allows storing a number of similar type of data using a common variable name such that each element is accessed with the help of a subscript or cell number. This is done with a purpose that any operation can be carried commonly on all the data items. You can search a number by dividing the sorted elements in two halves in each iteration. Beyond searching, the elements can also be sorted using different techniques. One technique allows us to choose the lowest element starting with a specific subscript in each pass and place it in appropriate position whereas, in other technique, consecutive elements are compared and a number of exchanges are made in each pass. We can also join two or more arrays to form a single set. 

Based on the above discussion, answer the following questions:

  1. What is the term used for a common variable storing a number of similar data?
    1. Numeric variable
    2. Static variable
    3. Subscripted variable
    4. Local variable
  2. Which of the following techniques is used for searching an element by dividing the sorted list of elements into two halves in each iteration?
    1. Liner search
    2. Binary search
    3. Sequential search
    4. None of the above
  3. Which of the following sorting techniques finds the lowest element in each pass and places it in appropriate position?
    1. Selection sort
    2. Binary sort
    3. Bubble sort
    4. Insertion sort
  4. Which of the following term is used for joining two or more arrays to form a single array?
    1. Joining
    2. Collecting
    3. Merging
    4. Sorting
Answer in Brief

Solution

  1. iii. Subscripted variable
  2. ii. Binary search
  3. i. Selection sort
  4. iii. Merging
shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Arrays (Single Dimensional and Double Dimensional) - EXERCISES [Page 239]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 3 Arrays (Single Dimensional and Double Dimensional)
EXERCISES | Q IV. | Page 239
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×