Answer:
the answer for the question is D.
Answer:
The final case in selection sort is trivially sorted.
The final iteration in insertion sort is not needed.
Explanation:
For selection sort, you make sub arrays and find the smallest element placing it in the front and repeat until sorted. This guarantees the final element will already be the greatest element, thus it is trivially sorted.
For Insertion sort, you use the initial element and compare it to the previous element and swap if the current is larger than the previous. Using this sort, you will always perform n-1 comparisons where n is the total amount of elements in the array. Thus, there are only 11 iterations for a 12 element array.
Cheers.
Answer:
#include //Line 1
namespace aaa //Line 2
{ const int X = 0; //Line 3
double y; //Line 4
}
using namespace std; //Line 5
int main() //Line 6
{ y = 34.50; //Line 7
cout << "X = " << X << ", y = " << y << endl; //Line 8
return 0; //Line 9
}
In Line 1, No header file is present,so it will print output as cout and endl is not defined.
we should include <iostream> header file in line 1
Lines 7 and 8 are incorrect.
X and y variables in aaa namespace are stated. So we can't use it any other namespace(std), but here y is initialized to 34.50 and x is printed in other namespace rather than stated.
Answer:
A web search engine or internet search engine
Explanation:
A web search engine or an internet search engine is a software program that enables users to retrieve information with a response to the user queries.
Answer:
Logical Data Model
Explanation:
An Entity Relationship Diagram (ERD) is a model or a diagram designed to reveal the relationship between various entities such as people, places, objects, and so on within an institution. Entity relationship diagram is also known as Entity relationship model. This model is used to design relational database by various sectors such as education, engineering, business, etc.
<u>ERD is designed using conceptual data model, logical data model, and physical data model</u>.
The visual practice or model that gives more insight into the logical relations among the entity is the logical data model.
The logical data model is used to illustrate more detailed operational and relational data among the entities. It is more detailed than the conceptual data.
So, the correct answer is logical data model.