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
dolphi86 [110]
4 years ago
6

Caleb is working on a simple logic-based program to simulate a game of tic-tac-toe. Which programming language would he use?.

Computers and Technology
2 answers:
icang [17]4 years ago
8 0

answer

Python,FORTRAN,c++ e.t.c programming languages.

Caleb is working on a simple logic-based program to simulate a game of tic-tac-toe. the best language to for tic- tac-toe game is python,FORTRAN,c++ etc programming language.

Explanation.

The logic required in tic-tac-toe game can be well or easily achieve when you use one of the 3rd generation programming language. This because they are good for simple program reasons being it is easy to add graphics and objects.A 4th generation can also be used.


noname [10]4 years ago
6 0
The logic required to write a tic-tac-toe game can be achieved using any third-generation programming language, and there are many to choose from, for example, Python, Fortran, C++ etc. For a simple program where it is easy to add graphic objects, a fourth-generation programming language may be more suitable.
You might be interested in
Which popular file format loses some of the information from the image? JPEG TIFF RAW NEF
lisov135 [29]

Answer:

The popular file format that loses some of the information from the image is JPEG

Explanation:

4 0
3 years ago
The steps.txt file contains the number of steps a person has taken each day for a year. There are 365 lines in the file, and eac
Bumek [7]

Answer:

In Python:

file = open('steps.txt', 'r')

readLine = file.readlines()

begin = 0

mdays = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)

print("Month"+"\t\t"+"Average Steps")

for m in range(len(mdays)):

end = begin + mdays[m]

steps = readLine[begin:end]

sumsteps = 0

for s in steps:

 sumsteps = sumsteps + int(s)

 

average = round(sumsteps/mdays[m],1)

print(str(m+1)+"\t\t"+str(average))

begin = begin + mdays[m]

Explanation:

This line opens the step.txt file

file = open('steps.txt', 'r')

This reads the content of the file

readLine = file.readlines()

begin = 0

This initializes the months of the days to a tuple

Mmdays = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)

This prints the header

print("Month"+"\t\t"+"Average Steps")

This iterates through the tuple

for m in range(len(Mmdays)):

This calculates the days in each month

end = begin + Mmdays[m]

This gets the number of steps in each month

steps = readLine[begin:end]

This initializes the number of steps to 0

sumsteps = 0

This iteration sums up the number of steps in each month

<em> for s in steps: </em>

<em>  sumsteps = sumsteps + int(s) </em>

This calculates the average of steps rounded to 1 decimal place  

average = round(sumsteps/Mmdays[m],1)

This prints the calculated average

print(str(m+1)+"\t\t"+str(average))

This calculates the beginning of the new month

begin = begin + Mmdays[m]

8 0
3 years ago
If an item that is purchased is digital, this may involve a direct ______ of the item you purchased.
balu736 [363]

Answer:

contact?

Explanation:

it might be wrong, if it is, sorry! hope I could help:)

7 0
2 years ago
Most hard drives are divided into sectors of 512 bytes each. Our disk has a size of 16 GB. Fill in the blank to calculate how ma
nika2105 [10]
The answer is pretty simple to achieve for this question. Multiply the disk size and then divide by the sector size - this will result in the total number of sectors. The reason the disk size shows “16*1024*1024*1024” is because there are 1024 bytes (B) in one kilobyte (1KB), and 1024KB in one megabyte (1MB), and 1024MB in one gigabyte (1GB). So, once you find out how many total bytes you have and then divide the total number of bytes by sector size (512), you will arrive at the answer.
4 0
3 years ago
Which of the following are input devices? Check all that apply.
postnew [5]

Answer:

Keyboard,speaker,scanner,mouse,printer and monitor

Explanation:

In computing, an input device is a piece of equipment used to provide data and control signals to an information processing system such as a computer or information appliance. Examples of input devices include keyboards, mouse, scanners, cameras, joysticks, and microphones.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Choosing firm goals for your business
    7·2 answers
  • You have decided you want to remove a software application from your computer. what is the first place you should go to do so?
    15·1 answer
  • Which of these computers was marketed as a computer/game machine?
    15·2 answers
  • What is the purpose of the operating systems processor management function
    7·1 answer
  • The hotspot created by MiFi is password protected and can be used to connect Wi-Fi devices located within ____ feet of the MiFi
    9·1 answer
  • Tablets combine the features of which two types of devices?
    10·2 answers
  • According to the Doppler effect, objects moving away from Earth would have a
    12·2 answers
  • Linela Insurance needs to hire twenty accountants immediately to support its accounts receivable process. The hiring and trainin
    7·1 answer
  • Is it bad to leave your laptop plugged in all the time
    13·1 answer
  • When you use transact-sql, you can store procedural code in:
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!