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
DedPeter [7]
4 years ago
10

Discuss what repetitions structures are, and how they differ from the vectorization approaches we have previously studied in the

course. Is one technique (i.e. vectorization approaches or approaches using repetition structures) better than the other? Does it depend on the circumstance, or on the programming language? If you use outside resources or ideas that are not your own to help make your case, be sure that they are properly cited in the citation style of your choice. Consider a program involving at least one for loop that could be used in your (intended) field or that could be of use to you as a student. This program should be distinct from any other program you have discussed in a discussion previously. First, in plain English, describe the program and how it works. If the program is especially complex, you may instead examine a smaller discernible section of the program for this discussion. Based on your plain English description of the program, share one or more code fragments that you write for this discussion post to illustrate the concept of at least one for loop in your program. If the program is especially complex, you may instead share a smaller discernible section of the program for this discussion, but be sure that the subset of the program includes at least one for loop.
Computers and Technology
1 answer:
gogolik [260]4 years ago
6 0

Repetition structures, or loops, are used when a program needs to repeatedly process one or more instructions until some condition is met, at which time the loop ends. Many programming tasks are repetitive, having little variation from one item to the next. Vectorized mathematical code appears more like the mathematical expressions found in textbooks, making the code easier to understand. That is the difference. Hope I could help you on Brainly.com!

You might be interested in
Which of the following is an example of a fixed expense clothing or rent or entertainment or food
V125BC [204]
Salutations!

<span>Which is an example of fixed expense?

Rent is an example of fixed expense, It doesn't matter whether you sell a widget or produce thousand of them, you must still pay the rent in any </span><span>circumstances.
</span>
Hope I helped.
5 0
4 years ago
Assign a variable solveEquation with a function expression that has three parameters (x, y, and z) and returns the result of eva
larisa [96]

Answer:

<em>The programming language is not stated;</em>

<em>However, the program written in Python is as follows</em>

def solveEquation(x,y,z):

     result = z - y + 2 * x

     print(result)

x = float(input("x = "))

y = float(input("y = "))

z = float(input("z = "))

print(solveEquation(x,y,z))

Explanation:

This line defines the function solveEquation

def solveEquation(x,y,z):

This line calculates the expression in the question

     result = z - y + 2 * x

This line returns the result of the above expression

     print(result)

The next three lines prompts user for x, y and z

x = float(input("x = "))

y = float(input("y = "))

z = float(input("z = "))

This line prints the result of the expression

print(solveEquation(x,y,z))

3 0
3 years ago
Heya!!<br><br> -:QUESTION :-<br><br> DEFINE DATA SCIENCE?​
finlep [7]

\large \underline{ \frak{ ~~~~~~~~~~~~~~~~~~~~\bigstar Solution~~~~~~~~~~~~~~~~~~~~}}

Data science helps to understand and analyse the actual scenario and help to take fruitful decisions. 

4 0
3 years ago
Read 2 more answers
A manager would like information on the knowledge base searches conducted by customers and call center agents. Which two metrics
RideAnS [48]

Answer:

Option A and Option D are the correct options.

Explanation:

While any information is provided by the manager to its customers which is based on the knowledge of the search conducted.

So, the following knowledge is about the article of the lowest rating and about the search query that has no output.

  • Option B is not correct for the following scenario because the manager is informing about the searches conducted by customers, not for the data category.
  • Option C is not correct for the following scenario because the articles are not created by them.
3 0
3 years ago
Karen has found and removed all Web postings about her ex-boyfriend Bill. She has moved on. She’s now researching information ab
Naya [18.7K]

<u>Researching information about a project for work:</u>

The internet has a lot of information to offer when it comes to making a project about almost anything. There are a lot of web sites, posts,  articles, research papers, and even presentations about the topics that are most likely to be chosen for projects.

The best way to evaluate web sites about the content they offer is to know whether the site has an authorized or trusted source or  not.

There are platforms over the internet where people end up giving false information in the name of freedom of speech. The information conveyed should be genuine and supported by facts and figures.

6 0
4 years ago
Other questions:
  • Write a for loop to populate vector userGuesses with NUM_GUESSES integers. Read integers using cin. Ex: If NUM_GUESSES is 3 and
    7·2 answers
  • After unit and integration testing are completed, _________ testing ensures that all hardware and software components work toget
    7·1 answer
  • Most OEMs recommend that the engine oil be replaced and a new filter installed at which of the following mileage intervals ?
    7·1 answer
  • Which are characteristics of a good topic sentence?
    9·1 answer
  • You are part of a testing team at a software business. Your job is to see how many concurrent users the system can host and how
    7·1 answer
  • Provide the definition for each of the following structures and unions:
    8·1 answer
  • What is the current when the voltage is 18 volts and the resistance is 6 ohms?
    7·1 answer
  • Which of these is an aggregator?
    5·2 answers
  • What are the chances that we are living in a simulation? (Percentage)
    5·2 answers
  • Each professional association has
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!