Answer:
7
Explanation:
Because the q.length is a inbuilt function in the programming which used to get the length of the array. In the array, there are 7 values are store. Therefore, the size 7 store in the variable z.
For example:
int[] array={1,2};
int x = array.length;
the answer of above code is 2, because the elements present in the array is 2.
  
 
        
             
        
        
        
Answer:
True: In binary search algorithm, we follow the below steps sequentially:
Input: A sorted array  B[1,2,...n] of n items and one item x to be searched.
Output: The index of x in B if exists in B, 0 otherwise.
- low=1
- high=n
-  while( low < high )
-   {      mid=low + (high-low)/2
-          if( B[mid]==x)
-           {
-              return(mid)  //returns mid as the index of x
-            }
-           else
-           {
-               if( B[mid] < x)      //takes only right half of the array
-                {
-                  low=mid+1
-                }
-               else               // takes only the left half of the array
-                {
-                 high=mid-1
-                }
-            }
-   }
- return( 0 )
Explanation:
For each iteration the line number 11 or line number 15 will be executed.
Both lines, cut the array size to half of it and takes as the input for next iteration. 
 
        
             
        
        
        
An  IP address is mostly for your WIFI . Internet Protocol . 
Overtype Mode is where you are making changes to text (putting in new characters) 
        
             
        
        
        
Answer:
The invention of flashlight is associated in the late period of industrial revolution.
Explanation:
- During the industrial revolution, Europe and United States flipped the use or technology in the manufacturing processes of industries.
- At the time of industrial revolution many chief inventions like, steam engine, dynamites etc. were made that the traditional history and reformed the technology. 
- Thomas Edison in 1879, invented the battery and flashlight at the late period of industrial revolution which was also a major invention