1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
hram777 [196]
2 years ago
12

The _____ search algorithm searches a list for a given item, starting with the first element and continues to compare the item w

ith the other elements in the list until either the item is found or the list has no more elements. dynamic relative sequential selection
Computers and Technology
1 answer:
noname [10]2 years ago
7 0

Answer:

Sequential

Explanation:

Based on the information provided within the question it can be said that the search algorithm that is being described in this scenario is a Sequential algorithm. This is because sequential programming focuses on programming (or in this case searching for) a result by doing one step at a time as opposed to various functions running simultaneously.

You might be interested in
Create a python program that will input their name and their age. It will show an output "Hi, {name} ! How are you? I know you a
lianna [129]

Answer:

age = 10

name = Cynthia

make an f string so the variables appear in the string. There are other ways to do this but I prefer f strings instead of using string concatenation. It causes problems adding 2 strings together most of the time.

print(f'Hi, {name} ! How are you? I know you are {age} old.')

4 0
2 years ago
Distinguish between overloading and overiding in c++​
kari74 [83]

Answer:

When overloading, you define the <u>same</u> class function multiple times, each with different arguments. When overriding, you give a <u>new implementation</u> in a subclass for a virtual function defined in a base class.

Explanation:

The answer <em>is</em> the explanation.

4 0
2 years ago
Write a C++ program that computes the area and perimeter of aspecified shape
leonid [27]

<u>C++ program that computes the area and perimeter of a specified shape</u>

#include <iostream>

#include <cmath>

using namespace std;

void rectangle() //Defining function for rectangle

{ int h,w;

cout << "Enter height: ";

//taking input

cin >> h;

cout << "Enter width: ";

cin >> w;

cout << "The perimeter of the rectangle is " <<2*h+ 2*w << " and the area is " <<h*w << endl;  //printing output

}

void triangle()  //Defining function for triangle

{ int s1,s2,s3,h,w;

cout << "Side 1: ";  //Taking input

cin >> s1;

cout << "Side 2: ";

cin >> s2;

cout << "Side 3: ";

cin >> s3;

cout << "Enter the height: ";

cin >> h;

cout << "Enter the base length: ";

cin >> w;

cout << "The perimeter of the triangle is " <<s1+s2+s3 << " and the area is " <<(.5)*w*h << endl; //printing output

}

void circle()//Defining Function for the circle

{

const double p=3.14;

int w;

cout << "Enter the radius: "; //Taking input

cin >> w;

cout << "The perimeter of the circle is " << p*2*w << " and the area is " << p*w*w<< endl;  //printing output

}

int main()  //driver function

{

int s;

cout << "Enter the shape (1 for rectangle,2 for triangle, 3 for circle): ";

//Asking user for the shape

cin >> s;

switch(s)  //checking which shape it chooses

{

case 1:

rectangle();  //If user type 1 ,then calling rectangle function

break;

case 2:

triangle();   //If user type 2 ,then calling triangle function

break;

case 3:

circle();  //If user type 3,then calling circle function

break;

default:

cout <<"Enter valid choice for shape";  //If user type other than 1,2,3

}

return 0;  

}

<u>Output</u>

Enter the shape (1 for rectangle,2 for triangle, 3 for circle): 1

Enter height:2

Enter width: 3

The perimeter of the rectangle is 10 and the area is 6

<u />

4 0
3 years ago
What is technology??
UkoKoshka [18]

Answer:

Technology is the skills, methods, and processes used to achieve goals. People can use technology to: Produce goods or services. Carry out goals, such as scientific investigation or sending a spaceship to the moon. Solve problems, such as disease or famine.

Explanation:

Good Luck!

3 0
2 years ago
When selecting Internet research sources, you should verify that the source is _____ and _____.
Naddik [55]
Current and credible
7 0
2 years ago
Other questions:
  • Which markup language would be considered the most current for web design? HTLM, HTML5, XHTLM, XHTML 6
    14·2 answers
  • Discuss two advantages and two disadvantages of agile methods.
    6·1 answer
  • 8. A pattern of being late for work or for appointments is usually
    12·1 answer
  • In the context of computer crimes, those who attempt to destroy the infrastructure components of governments and financial insti
    7·1 answer
  • Which answer would it be?
    12·1 answer
  • What are the four types of technical drawing?​
    9·1 answer
  • Describe a situation in which you have experienced harm as a consequence of a failure of computer security. Was the failure mali
    6·1 answer
  • PLEASE HELP ASAP I WILL GIVE BRAINLIEST TO CORRECT ANSWER
    15·2 answers
  • Plzzz help i need this today :(
    15·1 answer
  • Question is attached as image, please help :&gt;
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!