A programmer writes a program to find an element


Asked by admin @ in Computer Science viewed by 415 People


A programmer writes a program to find an element in the array A[5] with the elements:8 30 40 45 70 the program is run to find a number X,that is found in the first iteration of binary search.what is the value of X?

Do you know the better answer?

Similar Questions

Write a program to find average of three numbers

Asked by admin @ in Computer Science viewed by 95 persons

Write a program to find average of three numbers.

How to find the amount of neutrons in an element

Asked by admin @ in Chemistry viewed by 68 persons

How can you calculate the number of neutrons in an atom?

Where do you find the molar mass of an element

Asked by admin @ in Chemistry viewed by 75 persons

How is the molar mass of an element determined?

Write a program to calculate area of circle in c++

Asked by admin @ in Computers and Technology viewed by 68 persons

I want to write a C++ program to read the diameter of a circle. The program should find and display the area and circumference of the circle. Define a constant …

How to find how many protons are in an element

Asked by admin @ in Physics viewed by 65 persons

How many protons are in an element with an atomic number of eight and a mass number of 18

How do i find the oxidation number of an element

Asked by admin @ in Chemistry viewed by 73 persons

What is the oxidation number of an element? A. The group number for the element O B. The number of valence electrons an element has O C. The charge an …

How to find how many atoms are in an element

Asked by admin @ in Chemistry viewed by 93 persons

Which number in a chemical formula tells you how many atoms of element you have

How do you find the atomic mass of an element

Asked by admin @ in Biology viewed by 72 persons

What does the atomic mass of an element represent? A) The total number of its protons and electrons. B) The average total mass of its neutrons, protons, and electrons. C) …

A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 12263 persons

Class brush{ private:integer size,rcodefunction getdata() { ... }// Statement 1public:integer name // Statement 2function putdata() { ... }}function main{brush b1,b2 …

To write the correct and effective program we much first

Asked by admin @ in Computer Science viewed by 636 persons

To write the correct and effective program we must first

Find the last element of a list in prolog

Asked by admin @ in Computer Science viewed by 95 persons

How to find first and last element in a list in prolog

How to find the group number of an element

Asked by admin @ in Chemistry viewed by 82 persons

How to find the group and period of a given element

How to find period and group of an element

Asked by admin @ in Chemistry viewed by 86 persons

How to find the group and period of a given element

How to find group number of d block elements

Asked by admin @ in Chemistry viewed by 135 persons

(a) How is group, period and block of elements predicted. (b) Give the electronic configuration and in terms of period group and block where would you locate the elements with …

How to find the electronic configuration of an element

Asked by admin @ in Chemistry viewed by 88 persons

How to find out the electronic configuration of an element?

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 12263 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 8933 persons


Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 7143 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 5819 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 5543 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 5180 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4226 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 4156 persons


Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4120 persons


Program to circulate the values of n variables in python

Asked by admin @ in Computer Science viewed by 3276 persons



________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 3265 persons


Which of the following is the service catalogue manager responsible

Asked by admin @ in Computer Science viewed by 2961 persons


Why is text added to a data visualization presentation

Asked by admin @ in Computer Science viewed by 2762 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 2633 persons


What is the browser feature useful to add functionality

Asked by admin @ in Computer Science viewed by 2524 persons