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
Vladimir [108]
3 years ago
8

Check all that are true:

Computers and Technology
2 answers:
Digiron [165]3 years ago
7 0

Answer:

To use fscanf or textscan, every line in the file must have the same format  ( A

Explanation:

The fscanf and textscan is used to read lines in a file and to interpret with the format specified. hence every line in the file must have the specified format in order for the fscanf and textscan to read the lines. if any line lacks the specified format, then fscanf and textscan will only read the lines that matches and stop processing. option b is wrong because "fid" is an identifier and not just a variable name

while input functions (textscan, fscanf etc) are pre-defined input functions and must not be in a while loop infact they are used instead of a while loop.

d1i1m1o1n [39]3 years ago
4 0

Answer:

a

Explanation:

a) the fcanf and textscan read lines one by one in the file and interpret with the format specified. If specified format is not present in the line then, then fscanf and textscan only read the portion that matches and halt processing.

b) fid is an identifier.

c) input functions (textscan, fscanf etc) are pre-defined input functions. They are used instead of while loop while reading a file.

You might be interested in
what could backupdocs.com documents backup pdf program handle at one point if at all backupdocs.com functions documents saving p
bekas [8.4K]
This don’t make sense?? But I think it can handle it aha
6 0
3 years ago
The slope and intercept pair you found in Question 1.15 should be very similar to the values that you found in Question 1.7. Why
iren2701 [21]
I don’t get the question
4 0
3 years ago
Write a program that prints all the numbers from 0 to 6 except 3 and 6. Expected output: 0 1 2 4 5
stellarik [79]
<h2>Answer:</h2><h2></h2>

for x in range(7):

   if (x == 3 or x==6):

       continue

   print(x, end=' ')

print("\n")

<h2>Output:</h2>

>> 0 1 2 4 5

<h2>Explanation:</h2><h2></h2>

The code above has been written in Python. The following explains each line of the code.

<em>Line 1:</em> for x in range(7):

The built-in function <em>range(7)</em>  generates integers between 0 and 7. 0 is included but not 7. i.e 0 - 6.

The for loop then iterates over the sequence of number being generated by the range() function. At each iteration, the value of x equals the number at that iteration. i.e

For the first iteration, x = 0

For the second iteration, x = 1

For the third iteration, x = 2 and so on up to x = 6 (since the last number, 7, is not included).

<em>Line 2:</em> if (x == 3 or x == 6):

This line checks for the value of x at each iteration. if the value of x is 3 or 6, then the next line, line 3 is executed.

<em>Line 3:</em> continue

The <em>continue</em> keyword is used to skip an iteration in a loop. In other words, when the continue statement is encountered in a loop, the loop skips to the next iteration without executing expressions that follow the <em>continue</em> statement in that iteration. In this case, the <em>print(x, end=' ')  </em>in line 4 will not be executed when x is 3 or 6. That means 3 and 6 will not be printed.

<em>Line 4:</em> print(x, end=' ')

This line prints the value of x at each iteration(loop) and then followed by a single space. i.e 0 1 2 ... will be printed. Bear in mind that 3 and 6 will not be printed though.

<em>Line 5:</em> print("\n")

This line will be printed after the loop has finished execution. This line prints a new line character.

8 0
4 years ago
Write a section of code to simulate the opening coin toss of a football game. The visiting team gets to choose heads or tails. I
IRISSAK [1]

Answer:

Explanation:

Which goal his team will defend: Instead of receiving the kickoff, the captain may elect to kick off and choose a goal to defend. Captains sometimes take this option if they believe that weather will be a factor in the outcome of the game. For example, in choosing which goal to defend, the player believes that his team will have the wind at its back for the second quarter and the crucial final quarter of the game.

7 0
4 years ago
Careers in the Transportation and logistics career cluster are
Harman [31]

Answer:

Students in transportation, distribution and logistics learn and practice skills that prepare them for diverse post-high school education and training opportunities, from apprenticeships and two-year college programs to four-year college and graduate programs.

Explanation:

CTE classes in this cluster will introduce you to a variety of interesting careers including.

  • Engineer: Aerospace, flight, railway, industrial health and safety
  • Air traffic controller
  • Airline pilot
  • Urban or regional planner
  • Logistician
  • Shipping and receiving supervisor
  • Storage and distribution managers
  • Operations technician
  • Industrial equipment mechanic
  • Auto or auto body mechanic
  • Vehicle and system inspector
  • Railroad safety inspector
  • Health and safety manager
  • Marketing manager
  • Sales representative
  • Flight attendant
5 0
4 years ago
Other questions:
  • 535 = d +4<br> Whats d?????????????????????<br> &lt;33 thnx babes.
    8·2 answers
  • If 2 bits of a byte are in error when the byte is read from ECC memory, can ECC detect the error? Can it fix the error?
    6·1 answer
  • VW discovered that its engineers had developed a software program that allowed some of its car models to run without emissions c
    14·2 answers
  • All of the following are examples of roadblocks to achieving a goal except
    12·2 answers
  • What is the best data structure to solve the following problem? a) A list needs to be built dynamically. b) Data must be easy to
    11·1 answer
  • A spreadsheet has some values entered: Cell A1 contains 10, cell A2 contains 14, cell A3 contains 7. You enter in cell A4 the fo
    7·2 answers
  • A ___________ variable is used to add up a set of values. fill in the blank
    8·1 answer
  • It's in Python, everything sort of explained in the image below,
    5·1 answer
  • A process spawning or initiating another process is referred to as _____
    8·1 answer
  • a new client has indicated that they are exercising due to advice from their physician, but they are generally amotivated. what
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!