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
Shtirlitz [24]
3 years ago
15

Suppose we wish to put a set of names in alphabetical order. We call the act of doing so sorting. One algorithm that can accompl

ish that is called the bubble sort. We could then program our bubble sort algorithm in C, and compile the C program to execute on an x86 ISA. The x86 ISA can be implemented with an Intel Pentium IV microarchitecture. Let us call the sequence "Bubble Sort, C program, x86 ISA, Pentium IV microarchitecture" one transformation process. Assume we have available four sorting algorithms and can program in C, C++, Pascal, Fortran, and COBOL. We have available compilers that can translate from each of these to either x86 or SPARC, and we have available three different microarchitectures for x86 and three different microarchitectures for SPARC.
a. How many transformation processes are possible?

b. Write three examples of transformation processes.

c. How many transformation processes are possible if instead of three different microarchitectures for x86 and three different microarchitectures for SPARC, there were two for x86 and four for SPARC?

Computers and Technology
1 answer:
Sergeeva-Olga [200]3 years ago
3 0

Answer:

See explaination

Explanation:

We refer to a compiler as a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor.

Please kindly check attachment for the step by step solution

You might be interested in
How do you change ip?
Fittoniya [83]
Unplug your router and plug it back in :)

Otherwise if you have a static IP contact your ISP for them to change it :D
5 0
3 years ago
What are three subject areas that are key to successfully working in the field of robotics
Novosadov [1.4K]

The brain ( computer science engineering)

The nervous system ( electrical engineering)

The body ( Mechanical engineering). The mechanical engineer is in the charge of the physical system that makes up the robot.

4 0
3 years ago
25) _____ involves assigning numbers or other symbols to answers so that the responses can be grouped into a limited number of c
Hitman42 [59]
B- The answer is "Data entry".
5 0
3 years ago
A(n) _____ is used to create a new file or to overwrite an existing file by attaching it to a command that produces output.
Alex787 [66]

Answer: Redirection symbol

Explanation: Redirection symbol/operator is the special operator that is used in programs along with commands. The operators that are generally used are ">",">>","I" and "<". These commands are given in the section of the DOS commands and other command prompt sections. This is the process where the changes in input feed and output is  analyzed and read through these commands.

3 0
3 years ago
Write a program that can be used as a math tutor for a young student. The program should display two random numbers (in the rang
levacccp [35]

Answer:

Code:

//<em>Needed Libraries</em>

#include <iostream>

#include <iomanip>

#include <cstdlib>

#include <ctime>

//<em>starting the program</em>

using namespace std;

int main()

{

//<em>Creating the variables needed</em>

double X,Y,Z;

//<em>command for generating random number every time the program runs. </em>

//<em>without it the program default value will be srand(1). </em>

srand(time(0));

// <em>printing the lines to show user what to do.</em>

cout << "Hello, Welcome to Math's Tutor " << endl;

cout << "I will be helping you learn addition today." << "\n\n";

cout << "I will display two random numbers, Solve for the answer." << endl;

//<em>doing the needed calculations and putting the sum in Z</em>

X = 1 + rand() % 500;

Y = 1 + rand() % 500;

Z = A + B;

//<em>printing the value for user to solve</em>

cout << "\n";

cout << X << " + " << Y << " = " << endl;

// <em>pausing the system for user to solve the problem and press any key</em>

system("pause");

//<em>showing the answer to the problem</em>

cout << X << " + " << Y << " = " << Z << endl;

return 0;

}

Explanation:

the above program will print some lines for showing user what to do and then displaying the numbers for user to solve for the answer and then let the user to see the answer when the user press any key.

the random number shown will be between 1 to 500. if the user want to change the range so

X = 1 + rand() % 500;

Y = 1 + rand() % 500;

Put the number for your range instead of 500. It can be 1000, 5000, etc it will increase the range if you want to decrease it then pu a lower number then 500 instead.

After it will allow the user to solve the problem. then show the answer when user press any key.

7 0
4 years ago
Other questions:
  • What kind of operating system is Windows? Command-line Browser based Graphical user interface Linux-based
    10·2 answers
  • What is the name of the keyboard developed in the 1930s?
    13·1 answer
  • Which evidence helps answer the question "Did the girl
    15·2 answers
  • Which is a good plan for backing up data?
    7·1 answer
  • Which leader of the Jamestown colony am I?
    15·2 answers
  • A common use-case for dictionaries is to store word counts. Let's modify our program below to store the count for each unique wo
    9·1 answer
  • b) Derive the logic expressions for the incrementor and 7-sgement decoder. Since software can perform gate-level optimization, y
    7·1 answer
  • Good ways to increase sales on phone accesories?
    10·2 answers
  • Write a function, AvgList, that takes a single argument, a list, and returns the average (mean) of the numbers in the list. You
    10·1 answer
  • HELP MEEE PLEASE!!!
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!