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
Murrr4er [49]
3 years ago
9

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

ddle element in the middle row.
Computers and Technology
1 answer:
SashulF [63]3 years ago
3 0

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.

You might be interested in
Write a program to assign distinct number between 1 and 200 into an int array of 100 elements in ascending order (you may reuse
Alexus [3.1K]

Answer:

import java.util.Arrays;

public class num2 {

   public static void main(String[] args) {

       int []intArray = new int[100];

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

       intArray[i] = i+1;

       }

       System.out.println(Arrays.toString(intArray));

   }

}

Explanation:

Firstly create an array of size 100 with this statement

int []intArray = new int[100];

Using a for loop add elements into the array starting at i=0+1 (to acheive an asceending order) since i will run from 0-99.

see the attached code and output

7 0
3 years ago
Which of the following configuration files would you document
Nikolay [14]

Answer: B.you have modified a configuration file to mount these new file system automatically

Explanation:

Hope this helped...~DASH

4 0
3 years ago
Which word goes with "meals
valentina_108 [34]

Answer:

Food

Explanation:

7 0
3 years ago
Read 2 more answers
Processor speeds are in bytes.<br><br> True<br> or<br> False
Aneli [31]

Answer:

true

Explanation:

Mainly true, but partly false. There are two bits in a computer that supply speed: The processor (measured in hertz eg. 2Ghz Processor) and RAM (bits and bytes eg 2GB of RAM). The processor is more to do with the speed programs run and load at, and RAM let's you use lots of memory intensive programs at the same time, although this also comes down to the processor and vice versa. Hope I helped :)

5 0
3 years ago
Read 2 more answers
Described the importance of developing strategies to conduct educational research.
melamori03 [73]

Step 1: Identifying a Problem.

2

Step 2: Reviewing the Literature.

3

Step 3: Specifying a Purpose and Research Questions. Writing purpose statements, research questions, and hypotheses provide critical direction to an educational research study. ...

4

Step 4: Designing a Study.

ecu

5 0
2 years ago
Other questions:
  • How do I give extra points on Brainly
    6·2 answers
  • Define scanning and why it’s considered one of the most important phases of intelligence gathering for an attacker. Also discuss
    10·1 answer
  • A new protocol for new information distribution proposed by CERN became the world wide wed in 1991.
    10·1 answer
  • Under the Right to Know Rule, employers need to include information on which one of the following in a written and complete haza
    5·1 answer
  • ___________ is the term used to describe the time taken from when a packet is sent to when the packet arrives at the destination
    11·1 answer
  • Work group encouragement occurs when group members have diverse experience, education, and backgrounds and the group fosters mut
    13·1 answer
  • Language/Type: Java ArrayList Collections
    6·1 answer
  • What can help you estimate how much money you might get in
    7·1 answer
  • Builder Software is used to create _____? answers: 3d digital art design for cameras audio special effects
    5·2 answers
  • many police departments coordinate youth-oriented programs as part of their prevention efforts. which of the following is not an
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!