A 2-dimensional 3x3 array of ints, has been created and assigned to tictactoe. Write an expression whose value is that of the middle element in the middle row.

Answers

Answer 1

Answer:

tictactoe[1][1]

Explanation:

To access arrays, square boxes might be used which means specifying the row position and column position of a certain value in an array ::

Given a 2 - dimensional 3×3 array of integers :

Creating a dummy array assigned to the variable tictactoe :

[1 2 3]

[4 5 6]

[7 8 9]

We have a 3×3 array, that is 3 rows and 3 columns.

The middle element in the middle row is located in the second row ;second colum

Row and column Indexes starts from 0

Middle element in the middle row is the value 5 and it corresponds to :

tictactoe[1][1]

We call the variable name and the we use one square box each to house the row and column position.


Related Questions

write a pseudocode that reads temperature for each day in a week, in degree celcius, converts the celcious into fahrenheit and then calculate the average weekly temperatures. the program should output the calculated average in degrees fahrenheit

Answers

Answer:

total = 0

for i = 1 to 7

input temp

temp = temp * 1.8 + 32

total + = temp

average = total/7

print average

Explanation:

[Initialize total to 0]

total = 0

[Iterate from 1 to 7]

for i = 1 to 7

[Get input for temperature]

input temp

[Convert to degree Fahrenheit]

temp = temp * 1.8 + 32

[Calculate total]

total + = temp

[Calculate average]

average = total/7

[Print average]

print average

People think that they can send email messages from their personal computers and that it cannot be traced. This is called the _____.

Answers

Message Trace

Essentially it's a method used by administrators to monitor and trace emails

If you want to work on all aspects of your presentation, switch to __________ view, which displays the Slide pane, Outline pane, and Notes pane.

Answers

Answer:

Normal

Explanation:

If you want to work on all aspects of your presentation, switch to normal view, which displays the Slide pane, Outline pane, and Notes pane.

What is presentation?

Productivity software includes Docs, Excel, and Presentation software. Word processing programs, spreadsheets, presentation software, and graphic design programs are examples of productivity software.

Norton Antivirus is a type of antivirus and security software for PCs and laptops that is one of the options provided. Instant Messenger is a type of communication software that allows two or more people to communicate via text over the Internet or other types of networks.

It enables efficient and effective communication by allowing for the immediate receipt of a response or acknowledgement.

Therefore, switch to normal view to work on all aspects of your presentation, which displays the Slide pane, Outline pane, and Notes pane.

To learn more about the presentation, refer to the below link:

https://brainly.com/question/17087249

#SPJ2

You have a company network that is connected to the internet. You want all users to have internet access, but you need to protect your private network and users. You also need to make a web server publicly available to internet users.Which solution should you use?

Answers

Answer:

Explanation:

In this scenario, the best option is to first create a DMZ. This stands for Demiliatirized Zone and basically allows anything connected to it to access networks that have not been completely verified (which in this case would be the internet). Once the DMZ is created you are going to want to add the web server to the DMZ. This will allow the web server to access the internet and be publicly available to its users. At the same time you are going to want to add the company network behind the DMZ so that it is not allowed to publicly access the internet without the data going through the firewall first. Therefore, protecting the company network users.

1.printer is an example of......... device.

Answers

Printer is an example of output devise.It gives hard copy output on paper .

1. Printer is an example of output device.

I hope it's help you...

Why does a computer need programs? ​

Answers

To run successfully. That was the answer on my quiz. Sorry if it doesn’t help
The computer is just a platform, the key is what to use it for. This is program

What temperature is most commonly used in autoclaves to sterilize growth media and other devices prior to experimentation

Answers

Answer:

The most effective temparature used in autoclave is 121°C

which is known as accurate processing of computer gigo E mail MHz bug​

Answers

GIGO is the considered as the accurate processing in computers.

In the field of computer science, the word GIGO stands for " garbage in, garbage out".

It is a concept that refers that if bad input is provided to the computers, the output will also be bad and useless.

It is the inability of the program to any bad data providing incorrect results.

Thus GIGO is the most accurate processing in a computer programs.

Learn more :

https://brainly.in/question/23091232

The part (or statement) of a recursive function that decides whether the recursive loop is terminated is called: (Select all that apply)

Answers

Answer:

The base case

Explanation:

Required

The part that determines the termination of a recursion

This part of a recursion is referred to as the base case.

Take for instance, the following:

factorial(int n) {

   if (n < = 1) {         return 1; }

   else {             return n*factorial(n-1);    }  }

The base case of the above is     if (n < = 1) {         return 1; }

Because the recursion will continue to be executed until the condition is true i.e. n less than or equals 1

when files on storage are scattered throughout different disks or different parts of a disk, what is it called

Answers

Answer:

File Fragmentation or Fragmented Files

Which is the most viewed vdo in YT ever?​

Answers

“Baby Shark Dance” by Pinkfong Kids' Songs & Stories (8.44bn views)
“Despacito” by Luis Fonsi, featuring Daddy Yankee (7.32bn views) ...
“Shape of You” by Ed Sheeran (5.29bn views) ...
“Johny Johny Yes Papa” by LooLoo Kids (5.24bn views) ...

A developer designed a process in UiPath Studio that is best-suited for a simple and linear process. Which Studio workflow type was used

Answers

Question options:

State Machine

Flowchart

Sequence

Global Exception Handler

Answer:

Sequence

Explanation:

Uipath is an RPA(Robotic process automation) software that is used by IT professionals and business executives in automating routine or iterative tasks in an organization. Uipath process projects incorporate different workflow types which include :sequence, flowchart, state machine and global exception handler. The sequence workflow type is used for simple linear projects that are not very complex and occupies a single activity block.

Other Questions
A(n) _____ is an expression that uses variables to state a rule.plz help asap does the gut flora affect digestion? Kuley plans to retire in 8 years with $263,700 in her account, which has an annual return of 8.17 percent. If she receives annual payments of X, with her first payment of X received in 8 years and her last payment of X received in 15 years, then what is X, the amount of each payment SOMEONE PLS HELP ME I WILL MAKE U BRAINLIST ! In a survey sample of 83 respondents, about 30.1 percent of the samplework less than 40 hours per week. What is the estimated standard error for the group of respondents who work 40 hours or more per week?(*round to two decimal places) Read this excerpt from "The Girl Who Silenced the World for Five Minutes.I'm only a child, yet I know if all the money spent on war was spent on ending poverty and finding environmental answers, what a wonderful place this earth would be!Based on this excerpt, Suzuki most likely believes that fill in the blanks correctly with the models Young invested GH150,000 and 2.5% per annum simple interest. how long will it take this amount to. yield an interest of GH11,250,00 add: -38+6+27+(-8)+126 what is the difference between the products of the digits in 425 and the sum of the digits in the numeral 92784 the sky what did the men and women in the folktale do when they were hungry?why? Explain. What is the present value of an investment that will pay $2,000 at the end of the year when interest is compounded annually at 5.10% A bag contains 6 black tiles, 5 white tiles, and 4 blue tiles. Event A is defined as drawing a white tile from the bag on the first draw, and event B is defined as drawing a black tile on the second draw. If two tiles are drawn from the bag, one after the other without replacement, what is P(A and B) expressed in simplest form? A. 4/45 B. 1/7 C. 4/15 D. 5/14 A random sample of 16 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 12 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 11.5. Read, and choose the option with the best word or words to complete the sentence.________ usa la calculadora y trabaja con nmeros en su oficina. La contable La guardia de seguridad La recolectora de basura La soldado American history by judith ortiz cofer What were yourthoughts aboutElena and heremotions at the endof the story?ComprWhestory Why will it be easier for the United States and Western Europe to deal with climate change than countries in Africa? I need the answer ASAP anyone could help me please en If a nation is rich in resources then it can be developed' justify mhe statement. Question 5 Multiple Choice Worth 1 points)(01.03 MC)Bunny Hill Ski Resort charges $35 for ski rental and $10 an hour to ski. Black Diamond Ski Resort charges $40 for ski rental and $5 an hour to ski. Create an equation to determine at what pointthe cost of both ski slopes is the same. Cancer is one of the leading causes of death in both men and women. Caring for the cancer patient and family requires a multidimensional approach.What does it mean to provide a multidimensional approach? What are some examples of how the care team can meet the patient and the familys needs? Who are the members of the care team and how are they involved in providing multidimensional care?