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
Softa [21]
4 years ago
7

Assuming theclassdefinitionaboveis fully implementedandgiventhefollowingmain() function, please indicate which function in the c

lass definition is invoked for each line in main(). For example,line 2 of main invokes line 9 twice (the constructor)forthe matrix class and line 9 and 10 inmain() both invoke thematrix::transpose()function, orline20 inthe matrix class definition on the previous page. Fill outthe others similarly.
Computers and Technology
1 answer:
Rainbow [258]4 years ago
8 0

Answer:

Line 4 = 28   40

Line 5 = 28   40

Line 6 = 28   40

Line 8 = 28   40

Line 11 = None

Line 12 = 17   16

Line 13 = 18   16

Line 14 = 19   16

Line 15 = 9

Explanation:

Main line number  ||  Matrix object line number (in order)

2                                 9, 9

3                                 9

4                                 28  40

5                                 28  40

6                                 28  40

7                                 None

8                                 28  40

9                                 20

10                                20

11                                 None

12                                17  16

13                                18  16

14                                19  16

15                                9

You might be interested in
What determines the number of times that a condition-controlled loop will repeat?
Tcecarenko [31]

Answer:

the binary

Explanation:

5 0
3 years ago
Read 2 more answers
Suppose that you have created a program with only the following variables.int age = 34;int weight = 180;double height = 5.9;Supp
Yuri [45]

Answer:

a. calculate(age, weight); // This is legal

b. calculate(age, height); // This is legal

c. calculate(weight, height); // This is legal

d. calculate(height, age); // This is not legal

e. calculate(45.5, 120); // This is not legal

f. calculate(12, 120.2); // This is legal

g. calculate(age, size); // This is not legal

h. calculate(2, 3); // This is legal

i. calculate(age); // This is not legal

j. calculate(weight, weight); // This is legal

Explanation:

a. This is legal because the argument passed are two in numbers and they are integers but the integer for the second parameter can be cast to double.

b. This is legal because the method requires two parameter and two are passed. The method requires integer and double. The passed parameter are integer and double.

c. This is legal because the method requires two parameter and two are passed. The method requires integer and double. The passed parameter are integer and double.

d. This is not legal because even though two parameters were passed. The first one should be int but double was supplied and double cannot be downgraded to int. There is a possible lossy conversion from double to int.

e. This is not legal because even though two parameters were passed. The first one should be int but double was supplied and double cannot be downgraded to int. There is a possible lossy conversion from double to int.

f. This is legal because the method requires two parameter and two are passed. The method requires integer and double. The passed parameter are integer and double.

g. This is not legal because even though two parameters were passed. The first one should be int but the second parameter is not defined before been passed to the calculate method.

h. This is legal because the argument passed are two in numbers and they are integers but the integer for the second parameter can be cast to double.

i. This is not legal because only one parameter was passed instead of two.

j. This is legal because the argument passed are two in numbers and they are integers but the integer for the second parameter can be cast to double.

3 0
3 years ago
Which of these lists correctly counts from 1 to 5 In binary
evablogger [386]

Answer:B

Explanation: it is b because counting to 5 in binary is 0=0 1=1 2=10 3=11 4=100 and 5=101 so when you add the exes zeros  it becomes B.

3 0
2 years ago
Why are people's visions of utopias and dystopias subjective?
Leno4ka [110]

Answer:

D. Because the technology needed for one person's utopia may be what creates disaster for another person's dystopia.

Explanation:

3 0
3 years ago
Identify the correct way to cite the Occupational Outlook Handbook's "How to Become a Dentist" web page.
quester [9]

Answer:

C."How to Become a Dentist." Occupational Outlook Handbook. Bureau of Labor Statistics and US Department of Labor, 29 March 2012. Web. 1 May 2013.

Explanation:

When citing an online publication without a known author, the title of the article is first stated and encapsulated in italics. This is then followed by the name of the website or book. The organization responsible for the write-up is indicated. A comma separates the name of the organization and the date when the article was written. 'Web' is written to show that the material was obtained online. Finally, the date that tells when the article was retrieved is noted.

This guideline applies to both the Modern Language Association and the American Psychological Association citation styles.

6 0
3 years ago
Read 2 more answers
Other questions:
  • A _______ is used to analyze and summarize your data without graphical support. A. PivotChart B. PivotTable C. chart D. table
    8·1 answer
  • What is the area of a triangle whose base is 14 m and whose height is 22 m?
    7·1 answer
  • What is the problem we can't build shelter on mars ?
    6·1 answer
  • Analog false color in computer graphics
    6·1 answer
  • Consider a Games Expo for Children. Six competitions are laid out for the expo. Tickets are sold according to the age and gender
    11·1 answer
  • Access Help defaults to searching for information on the _________.<br><br> Not multiple choice
    10·1 answer
  • Please someone helpp
    12·2 answers
  • IN WHICH COUNTRY DO THEY LET YOU PLAY MINECRAFT IN SCHOOL?
    8·2 answers
  • A small _____ at the lower right corner of a tool indicates that it contains hidden tools​
    13·2 answers
  • PLEASE HELP ASAP what is the main purpose of electronic speed controller ESC
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!