Why is it important to be precise when writing computer code

Answers

Answer 1

Explanation:

Basically, It’s important if you want a working program.

computers inly do what you told them to do, so If you wrote something wrong or you wasn't precise enough it might cause a massive damage and cause you to lose a lot of money.

an example from the internet :

On June 4, 1996 an unmanned Ariane rocket exploded just forty seconds after its lift-off.

The rocket cost $7 billion in development and carried a payload worth $500 million. However it never made it to orbit. An investigation revealed that the cause of the failure was a software error in the inertial reference system.

Specifically a 64 bit floating point number relating to the horizontal velocity of the rocket with respect to the platform was converted to a 16 bit signed integer. The number was larger than 32,767, the largest integer storeable in a 16 bit signed integer, and thus the conversion failed.

Over $7 billion can go down the drain in a matter of minutes if not seconds. That is why it is important to be accurate in computer programming. Luckily it was an unmanned flight.

Answer 2

Answer:

you need to look for capitalization in the text or punctuation commas and marks


Related Questions

What are the parts of an if-else statement in Java?

O condition, first action, second action


condition, operator, first action


O first action, second action, third action


first action, condition, second action

Answers

An if-else statement in Java is a control flow statement that allows the programmer to specify different actions based on a certain condition. The basic structure of an if-else statement in Java consists of three parts: the condition, the first action, and the second action.

The condition is a boolean expression that is evaluated to determine whether it is true or false. If the condition is true, the first action is executed. If the condition is false, the second action is executed. The condition, first action, and second action are specified as follows:

if (condition) {

  first action;

} else {

  second action;

}

In this syntax, the condition is specified in parentheses after the keyword "if". The first action is specified within the curly braces that follow the "if" keyword. The second action is specified within the curly braces that follow the "else" keyword.

It's important to note that the first action and second action can be any valid Java statement, including simple statements such as assignment statements, method calls, or more complex statements such as nested if-else statements or loops. The if-else statement allows the programmer to choose between two alternative actions based on the evaluation of a condition.

To know more about Java: https://brainly.com/question/30354647

#SPJ4

Integer indexing array: Reverse subsets Construct an indexing array indexArray so that the statement reversedOrder origOrder(indexArray); results in a row array beginning at starting index down to element 1. Ex: If origOrder is 12, 8,9,15, 3, 44, 23, 25,7,68] and startingValue is 3, then reversedOrder is [9, 8,2]. Row array reversedOrder contains origOrder's element 3, element 2, and element 1 Your Function Save Reset E MATLAB Documentation 1 function reversedorder-CopySubset (startingIndex, origorder) 2% start ingindex: starting index of copied subset indexArray- [1:1:1); % change index values 5 reversedorder-origorder(indexArray) 6 7 end Code to call your function C Reset 1 origorder - [2, 8, 9, 15, 3, 44, 23, 25, 7, 68]; 2 CopySubset (3, origorder)

Answers

A straight forward solution is to use an auxiliary array temp[] of the same size as the given arrays. Using index[], traverse the given array and place all elements in their proper place in temp[]. Finally, copy temp[] to arr[] and set all index[i] values to i. / C++ programmed to sort an array according to given criteria.

#include indexes

std namespace is being used;

/ Function for reordering arr[] elements according to index[] void reorder(int arr[], int index[, int n) int temp[n];

/ arr[i] must exist at index[i] index for (int i=0; I

reorder(array, index, number);

"Reordered array is: n"; for (int i=0; I

An array with a key that is a number. Associative array — An array in which each key has a unique value. A multidimensional array is one that contains one or more arrays within it. Based on the row and column numbers you specify, the INDEX array form returns the value of a specific element in a range or array. array - is a named range or table of cells. row num - the array row number from which to return a value. Column num is required if row num is omitted. The element or subarray of an n-dimensional array at index is returned. When you wire an array to this function, the function automatically resizes to display index inputs for each dimension in the n-dimension array.

Learn more about An array from here;

https://brainly.com/question/19570024

#SPJ4

Which tools are found in the Quick Analysis feature? Check all that apply.
Table
pivot table
sum
count
more
row evaluation

Answers

Answer:

A, C, E

Explanation:

Which tools are found in the Quick Analysis feature? Check all that apply.Tablepivot table sumcountmorerow

Answer:

A,B,E

Explanation:

just did it on edge2020

E41. Create two lists: a list of 5 first names and a list of 5 last names. Using a for-loop and zip, print 5 full names produced by concatenating a first name and last name from each list (use string concatentation, not list concatenation). Pull each name (one first name, one last name) from the same position (index) from each list.
[] 1

Answers

Here's a solution using a for-loop and zip to print 5 full names by concatenating a first name and last name from each list:

```python

first_names = ["John", "Emma", "Michael", "Sophia", "David"]

last_names = ["Smith", "Johnson", "Williams", "Brown", "Jones"]

for first, last in zip(first_names, last_names):

   full_name = first + " " + last

   print(full_name)

```

In this solution, we have two lists: `first_names` and `last_names`, each containing 5 elements. We use a for-loop to iterate over the elements of both lists simultaneously using the `zip` function. The `zip` function pairs up the corresponding elements from each list.

Inside the loop, we concatenate the current `first` name with the current `last` name using the string concatenation operator `+`. We add a space between the first and last names by enclosing it in double quotation marks: `" "`. This creates a full name, which we store in the `full_name` variable.

Finally, we print each `full_name` on a separate line using the `print` function. The loop will run 5 times, producing 5 full names by combining the first names and last names from the same positions in each list.

Learn more about loop and zip

https://brainly.com/question/14505130

#SPJ11

Each generation is set apart from the previous generation because of an innovation.
Choose the generation marked by each of these innovations.

transistors
: integrated circuits
: vacuum tubes

Answers

Answer:

Second Generation: transistors

Third Generation: integrated circuits

First Generation: vacuum tubes

Explanation:

Generations of computers are categorized based on the technologies that were used in them.

Given innovations or technologies are:

transistors :

Transistors were introduced in the second generation in place of vacuum tubes.

integrated circuits :

Integrated circuits were introduced in the third generation. An IC consists of multiple transistors.

vacuum tubes:

The very first generation of computers used vacuum tubes to do the calculations. the only drawback was that the tubes used to heat up very soon.

Hence,

Second Generation: transistors

Third Generation: integrated circuits

First Generation: vacuum tubes

where are slack notification sounds installed on windows 10

Answers

Answer:

DID U GET IT YET?

Explanation:

HELP ASAP PLEASE!!!

HELP ASAP PLEASE!!!

Answers

Answer:

Click and drag the mouse to select the cells

Explanation:

BEGINNERS COMP. SCI JAVA CODING PLEASE HELP!!!
(All questions shown in picture please!)

BEGINNERS COMP. SCI JAVA CODING PLEASE HELP!!!(All questions shown in picture please!)

Answers

Answer:

8)

Scanner scanner = new Scanner(System.in);

System.out.print("Enter a number: ");

int num = scanner.nextInt();

for (int i = 0; i < num; i++) {

   System.out.print("* ");

}

9)

for (int i = 1; i <= 10; i++) {

   System.out.print(i * i + " ");

}

10)

for (int i = 1; i < 9; i++) {

   if (i % 3 == 0) {

       System.out.println("?");

   } else {

       System.out.println(i);

   }

}

11)

Scanner scanner = new Scanner(System.in);

System.out.println("Enter a number: ");

int n = scanner.nextInt();

int factorial = 1;

for (int i = 1; i <= n; i++) {

   factorial = factorial * i;

}

System.out.println(factorial);

What will be the output of the following lines of code and the user's response?

What will be the output of the following lines of code and the user's response?

Answers

Answer:

The answer is C. 85

Explanation:

The int() function is usually used to turn a float, to an int. When you use the int() function, it just cuts of everything past the decimal. It doesn't round the float. Leaving you with the option C. 85

hope this helped you :D

where can i make an animation for free?

Answers

Answer:

I've heard of flipabook and apparently that's good for simple animations

Explanation:

Hope that helped! Have a nice day!

CAn someone please vote me brainliest I don't even have one BRAINLY and can someone thanks me too!

Answers

Answer:

5 robuk now noob

Explanation: noob vs pro = pro wins

BRAINLEST PLEASE HELP
Which action is an example of networking?

meeting other business students from other schools at an FBLA conference
helping organize donations at a food pantry
entering your program in a contest
taking the exam for a certification

Answers

meeting other business students because networking is meeting with other and discussing information

Answer:

A (First one)

Explanation:

Meeting other business students from other schools at an FBLA conference.

cells can be merged from which group on the home tab of the ribbon

Answers

Cells can be merged from the Alignment group on the Home tab of the ribbon.

What is the ribbon

To Combine boxes: Go to the Home tab and select the Merge and Center option. If you can't click Merge & Center, check that you're not changing a cell. Also, make sure the cells you want to put together aren't in a table.

Advice: If you want to join cells together but don't want to move the data to the center, do this: first, select the cells you want to merge, then click the option that aligns the data to the left, center or right of the merged cells.

Read more about ribbon here:

https://brainly.com/question/29384475

#SPJ4

you’ve found an image you want to insert into your slide presentation you want to make the image look more gray so that it looks like an older image what would you need to adjust

Answers

image grayscale

format : format options: recolor : then pick the color

The minimum wage of a country today is $ 25,000 per month. the minimum wage has increased steadily at the rate of 3% per year for the last 10 years. write a program c to determine the minimum wage at the end of each year in the last decade. (solve using the concepts of loop controls with c programming)

Answers

The C program is given below that calculates the minimum wage at the end of each year for the last decade:

#include <stdio.h>

int main() {

   float wage = 25000.0;

   printf("Minimum wage at the end of each year for the last decade:\n");

   for (int i = 1; i <= 10; i++) {

       wage += wage * 0.03;

       printf("Year %d: $%.2f\n", i, wage);

   }

   return 0;

}

Explanation:

We start by initializing the minimum wage variable to $25,000.Then we use a for loop to iterate over the 10 years, using the loop variable i to keep track of the current year. Inside the loop, we update the minimum wage by adding 3% to it using the formula wage += wage * 0.03. Finally, we print out the year and the minimum wage at the end of that year using printf(). The %.2f format specifier is used to print the wage as a floating-point number with 2 decimal places.

To know more about the  for loop click here:

https://brainly.com/question/30706582

#SPJ11

Describe the major features of super computer

Answers

Answer:

large and operate at a high speed

A high speed low latency iterconnect
Large quantities of FLOPS (Floating Point Operations)
A large high throughput filesystem
The software infrastructure needed to write and run codes that utilize the system
Significant power and cooling infrastructure

poob bn vbyfcfgxfc jghjg jhgh

Answers

Answer:

Ploob was a monster employed at Horville's Hut of Horrors. He looked like a small green ball with a long tube-like nose and hair along his spine.

Explanation:

After you have solved the Tower of Hanoi at least three times, write an algorithm with clear, numbered steps that would guide another player through the steps of solving the puzzle.

Answers

Answer:

def tower_of_hanoi(n , source, auxiliary, destination):  

   if n==1:  

       print("Move disk 1 from source",source,"to destination",destination )

   else:

       tower_of_hanoi(n-1, source, destination, auxiliary)  

       print("Move disk",n,"from source",source,"to destination",destination )

       tower_of_hanoi(n-1, auxiliary,  source, destination)  

         

n = 3

tower_of_hanoi(n,'A','B','C')  

Explanation:

The python function "tower_of_hanoi" is a recursive function. It uses the formula n - 1 of the n variable of recursively move the disk from the source rod to the destination rod.

Finally, the three disks are mounted properly on the destination rod using the if-else statement in the recursive function.

Answer:

C. 127

Explanation: edge 2022

which is true?a.a private helper method can be called by a class userb.a private helper method can call public methods in the same classc.a private helper method can not call other private methods in the same classd.a private helper method can be called from main( ) in another class

Answers

A private helper method can not be called by a class user. Private helper methods can only be accessed within the same class and cannot be accessed by class users.

.As for option (b), it is true that a private helper method can call public methods in the same class. This is because both private and public methods are within the same class and private helper methods are used to help public methods perform their tasks. This means that a private helper method can call a public method in the same

A private helper method is a method that is used within a class to perform a specific task but it is not intended to be used outside of the class.Therefore, option (a) is not true. This means that class users cannot call private helper methods. This is because private helper methods are not designed to be used outside of the class to which they belongclass.Option (c) is false. This is because private helper methods can call other private methods in the same class. A private helper method can be used to perform a specific task that is needed by another private method. This means that a private helper method can call other private methods in the same class to assist them in performing their tasks.Finally, option (d) is not true. This is because a private helper method cannot be called from main( ) in another class. Private helper methods are private and are only meant to be used within the class to which they belong.

To know more about private helper visit :

https://brainly.com/question/29873253

#SPJ11

why do most operating systems let users make changes

Answers

By these changes you most likely are thinking of the term 'Over Clocking'
Over Clocking is used on most Operating Systems to bring the item your over clocking to the max.
Over Clocking; is mostly used for Crypto mining and gaming.

Edhesive 4.6 lesson practice

Range is an example of a_______.

Answers

Answer:

Range is a example of a function

Answer: Function

Explanation: if you ever have trouble go look at the slide show for each presentation and theres your answer

identify the aspects of your application that vary and separate them from what stays the same. what design goal does this echo?

Answers

In the context of software design, the aspects of an application that vary are typically referred to as "varying behaviors" or "variable parts."

These are the parts of the application that can change or have different implementations based on specific requirements or conditions. On the other hand, the parts that stay the same or remain consistent across different variations or implementations are known as "invariant behaviors" or "invariant parts."

This separation of varying and invariant aspects of an application is a key principle of the design goal known as "separation of concerns." The goal is to modularize the system design by separating different concerns or aspects, allowing for independent development, maintenance, and evolution of each part. By isolating the varying aspects, such as configurations, algorithms, or platform-specific implementations, from the invariant aspects, such as core functionality or common modules, the system becomes more flexible, reusable, and easier to manage and modify.

Know more about software design here:

https://brainly.com/question/31930731

#SPJ11

an incident involving a data breach is under investigation at a major video game software company. the incident involves the unauthorized transfer of a sensitive file to an outside source (a leak). during the investigation, employees find that they cannot access the original file at all. verify the data loss prevention (dlp) terminology that describes what has been done to the file in question.

Answers

The incident you described involves a "data breach" at a major video game "software" company, where the incident involves the unauthorized transfer of a sensitive file to an outside source (a leak) describes what has been done to the file in question is "exfiltration."

Exfiltration refers to the unauthorized transfer or leakage of sensitive data from an organization to an external destination or recipient. In this situation, the data loss prevention (DLP) terminology that describes what has been done to the file in question is "exfiltration. It is a cybersecurity term used to describe the unauthorized transfer or theft of sensitive data from an organization's network or system to an external destination or recipient.

Data loss prevention (DLP) is a set of technologies and processes that aim to protect sensitive data from being lost, stolen, or exposed. DLP solutions are designed to detect, monitor, and prevent unauthorized access to sensitive data within an organization's network.

When a DLP solution detects that sensitive data has been transferred outside of an organization's network without proper authorization, it is referred to as "exfiltration."

In response to exfiltration incidents, DLP solutions may trigger alerts, block data transfers, or take other measures to prevent further data loss or unauthorized access.

To learn more about data breaches visit: https://brainly.com/question/27887082

#SPJ11

Who invented the television and what year did color come out? Explain​

Answers

The television was not invented by a single person, but its development involved contributions from several inventors and engineers.

How is this so?

Philo Farnsworth is often credited as one of the key inventors of television, as he successfully demonstrated the first working electronic television system in 1927.

As for color television, it was first introduced commercially in the United States in 1953 by RCA.

The introduction of color television marked a significant milestone in broadcasting, enhancing the viewing experience for audiences worldwide.

Learn more about television at:

https://brainly.com/question/12079773

#SPJ1

7. Citations that are
can be used to build a bibliography when needed.

Answers

Answer:

In-text citations alert readers to cited material and tell them exactly where to go and look. These citations work in conjunction with a bibliography. Usually, an in-text citation is a combination of a name (usually the author’s) and a number (either a year, a page number, or both).

Explanation:

i tried my hardest

brainliest, 100 points, please please please

brainliest, 100 points, please please please

Answers

Triangular Prism and the sketch in the attached diagram which is determined the shape as it represents.

What is Rectangular Prism?

The has 5 sides 2 of which are triangles while the other are rectangles as the Rectangular Prism. This, in other words represents a cuboid

Triangular Pyramid, this has 4 sides, all of which are triangles, Rectangular Pyramid. This has 5 sides; 4 of which are triangles while the last is a square of rectangle. From the analysis above, the best option that answers the question is The Triangular Prism because it perfectly describes Lucia's drawing.

Therefore, Triangular Prism and the sketch in the attached diagram which is determined the shape as it represents.

Learn more about Triangular Prism on:

https://brainly.com/question/27102803

#SPJ1

Answer:

Explanation:

i cant see the image

What is distribution hardware?

Answers

A distributed computer system consists of multiple software components that are on multiple computers, but run as a single system. The computers that are in a distributed system can be physically close together and connected by a local network, or they can be geographically distant and connected by a wide area network.

hris has received an email that was entirely written using capitalization. He needs to paste this text into another document but also ensure that the capitalization is removed.

What should Chris do?

Answers

He should un caps lock it

PLEASE HELP!!!! I'll mark Brainliest for whoever is first!!!!

What does this snippet of code do? birds = ["robin", "finch", "grackle", "crow", "wren"] for i in birds: print(i)

It counts the number of birds in the list.
It prints the index and then each bird name.
It prints each bird name on a separate line.
It prints each index number on a separate line.

Answers

Answer:

It counts the number of birds in the list.

Explanation:

The snippet of code works in counting the number of birds in the list.

What is a code Snippet?

A code snippet is a word that is used in computer programming to inform a little chunk of reclaimable source code, machine code, or text. Some text skilled worker, code skilled worker, and IDEs have a property called Code Snippets. The code in this snippet counts the number of birds in the list.

Therefore, option A is correct.

Learn more about the code Snippet, refer to:

https://brainly.com/question/15003149

#SPJ2

What is Digital Etiquette? Explain in your own words

Answers

Answer:

rules about the best way to communicate

Explanation

rules about being proper and polite

Other Questions
how is rain related to lightning What is the primary purpose of punishment in our legal system? what is one factor that pushed the chinese government toward greener technologies? what is the answer for this its pre algebra pls answer quickly its due in 10 mins A record of travel along a straight path is as follows: 1. Start from rest with constant acceleration of 2.25(m)/(s^(2)) for 11.0 s. 2. Maintain a constant velocity for the next 1.80 min. 3. Apply a constant negative acceleration of -9.27(m)/(s^(2)) for 2.67 s. luther, in reference to saints severinus and paschal, questioned whether souls desired: This is 15 points plz help ( no links ) EXPLAIN YOUR ANSWER plz( ONLY ANSWER THIS IF YOU HAVE AN EXPLANATION AND IF YOU KNOW WHAT THE ANSWER IS)( the answer is not 1,920 because i got it wrong when i typed the answer in ) Which of the following human activities reduces biodiversity?A. prohibiting hunting in wildlife preservesO B. taking tissue samples from members of endangered speciesO C. planting only native grass species to prevent erosion beside highwaysO D. planting only red pine trees to replace native hardwood forests cut for lumber A Sb BCB ABS SCTC BAT CTAD BA CA HELP ME hellllllllllllllllp plz... You deposit $10,000 in an account that pays 7% interest compoundedquarterly. How much money will be in the account after 10 years? draw a flowchart to convert from Fahrenheit to Centigrade the following steps are made: Every nation aims for economic growth and ________ for all its citizens.(this is a business question btw lol) Cindy gets paid an hourly wage. During a 40-hour week, Cindy earns $240. This week she worked only 35 hours. How much did she earn? there are current and future paradigm shifts in health care that affect the leadership skills needed by nurses in the 21st century. what issue at the organizational and unit levels are nurse-leaders being directed to address? Take a look at "Remembering Gandhi. " How did the Salt March reflect Gandhi's philosophy for political change? Find Srxn for the combustion of ethane (CH) to carbon dioxide and gaseous water. Is the sign of Srxn as expected? Which of the following is considered a citizens most important right and civic responsibility? The periodic Table Properties The net electric flux through a closed surface is 1. infinite only if the net charge enclosed by the surface if zero. 2. zero if only negative charges are enclosed by the surface. 3. infinite only if there are no charges enclosed by the surface. 4. zero if only positive charges are enclosed by the surface. 5. zero if the net charge enclosed by the surface is zero.