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
Margaret [11]
3 years ago
8

Analyze the following code: After the loop, the last column of matrix 10, 10, 10, 10, 10. After the loop, the last row of matrix

10, 10, 10, 10, 10. After the loop, the last row of matrix 0, 0, 0, 0, 0. After the loop, the last row of matrix 0, 0, 0, 0, 10. A syntax error, because column is not defined.
Computers and Technology
1 answer:
Alex_Xolod [135]3 years ago
3 0

Answer:

given below

Explanation:

last column of matrix 10, 10, 10, 10, 10

int col = 10;

int [][] = new matrix [5][5];

for ( col = 0 ; col < matrix[4].length; col ++)

[col]=10;

int row = 10;

int [][] = new matrix [5][5];

for ( row = 0 ; row < matrix[4].length; row ++)

[row]=10;

or

int v = matrix [0][0];

for ( int i = 0 ;i< matrix .length;i++)

for ( int j=0;j<matrix.length;j++)

if (

if(v<matrix[i][j])

v=matrix[i][j];

return v;

or

loop, the last row of matrix 0, 0, 0, 0,

int row = 0;

int [][] = new matrix [5][5];

for ( row = 0 ; row < matrix[4].length; row ++)

int col= 0;

int [][] = new matrix [5][5];

for ( row = 0 ; col < matrix[4].length; col ++)

int col;

int [][] = new matrix [5][5];

for ( row = 0 ; col < matrix[4].length; col ++)

A syntax error, because column is not defined.

You might be interested in
Which of the following are examples of transactional information? A. Airline ticket, sales receipts, and packing slips B. Trends
Elenna [48]

Answer: A) Airline ticket, sales receipts, and packing slips

Explanation:

Transactional information is the data that is used for supporting transaction action of every day in a business unit. This information keeps the record whether the transaction is complete or failed.

  • Example - slip of packing,  sale receipt etc.
  • Other options are incorrect because statistic of sales , spreadsheet ,outcome of sale and projection of growth does not relate with transaction process.
  • Thus, the correct option is option(A).

4 0
4 years ago
The tuning systems were not always reliable during the Baroque period. Why did composers use key signatures?
lapo4ka [179]

Key signatures were used because simply by knowing how many sharps or flats there were, the tuning would be more uniform. Tuning systems were not developed yet during the Baroque era and the concept of key was not introduced by then.

<span> </span>

7 0
4 years ago
Which of the following statements describes a limitation of using a computer simulation to model a real-world object or system?
never [62]

Answer:

The answer is "Option c".

Explanation:

Computer simulation, use of a machine to simulate a system's vibration signals by another modeled system's behaviors. A simulator employs a computer program to generate a mathematical model or representation of a true system. It usually gives a lot of simplifications concerning the physical image or system that is modeled, so this statement describes the limitation of using a computer simulation in modeling a real-world object or process.

5 0
3 years ago
What conclusion can you draw from the heredity versus environment debate?
ELEN [110]

a

...........................

6 0
3 years ago
Read 2 more answers
In a social networking site your personal information is listed under your?
abruzzese [7]
Profile? Perhaps... If you go on social media sites like Facebook it's typically on your profile, right?
3 0
4 years ago
Read 2 more answers
Other questions:
  • The basic components of cartridges and shotshells are similar. Shot pellets and a bullet are examples of which basic component?
    13·1 answer
  • How can a user view the options for Junk E-mail?
    11·2 answers
  • What is the difference between dial up and broadband connections?
    15·2 answers
  • Battery maker Duracell introduced a new product called the Duracell Powermat, which is a wireless charging pad for mobile device
    12·1 answer
  • The early success of Microsoft was cemented by the release of which software product:
    12·1 answer
  • (1) Output a menu of automotive services and the corresponding cost of each service. (2 pts)Ex:Davy's auto shop servicesOil chan
    9·1 answer
  • Soft skills are: A) Personal qualities, habits, attitudes, and social graces that make up a person B) Hereditary C) The ability
    5·2 answers
  • How can data be calculated?
    14·2 answers
  • Multiply the following two Tom's Tiny floating-point format numbers (8-bit: sign bit, 3-bit 2's complement exponent, 4-bit fract
    12·1 answer
  • Helppppp meeee eeeeeee eee
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!