1/10
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Define dimensional array
Dimensional array is a structure created in the memory to represent a number of elements by using a number of variables with a same name having different subscript.
Single dimensional array
When elements are specified by a number of variable such that each variable is represented with a single subscript the array is set to be single dimensional array
Different ways to input the array elements
Using assignment statement
Method argument
Input stream reader class
Scanner class
Assignment of elements in a single dimensional array
Data values can be stored by assigning them directly to the array
By using method argument
The single dimensional array is used as an argument to a method (say the main ()) the value are entered into the array at run time
By using input stream reader class
The data enter as a time of execution of the program it is entered through the terminal window
By using scanner class
Data enter through the terminal window at a time of execution of the program the data are entered by in working the package java.util*
Define searching
Searching is a technique to find whether an element is available in a given sets of element or not
Name the two searching techniques
Linear search
Binary search
Sorting
Sorting is a process of arranging data in a particular order as sending or descending