Which conditions make using an array a better choice than a list? Select 3 options.

1. when you will do a great deal of arithmetic calculations

2. when you have a very large quantities of numeric data values

3. when all your data are string

4. when your list would contain a mixture of numbers and string values

5. when efficiency is of great importance

Answers

Answer 1

Answer:

When efficiency is of great importance

When you will do a great deal of arithmetic calculations

When you have a very large quantities of numeric data values

Explanation:

Did it one edge

Answer 2

1. when you will do a lot of arithmetic calculations

2. when you have very large quantities of numeric data values

5. when efficiency is of great importance

Thus, options A, B, and E are correct.

What is an array?

A data structure called an array consists of a compendium of values, each of which is identifiable by a memory location or key. In different languages, additional data structures that capture an aggregate of things, like lists as well as strings, may overlay array types.

Just using an array is a preferable option when you'll be performing a lot of math operations, when you're dealing with a lot of numerical data values, and when performance is crucial. A grouping of comparable types of data is called an array.

Therefore, option A, D, and E is the correct option.

Learn more about array, here:

https://brainly.com/question/13107940

#SPJ2


Related Questions

In this challenge, your input will be three lines, each containing a string. The first line will be stored in the variable s1, the second in s2, and the third in s3. Define a variable called joined_with_commas that holds a string with the contents of s1, followed by a comma, followed by s2, followed by a comma, followed by s3.

Answers

Answer:

Answered below.

Explanation:

This challenge is solved using Python programming language.

#First getting the inputs and storing them in #variables s1, s2, s3

s1 = input ("Enter first string: ")

s2 = input("Enter second string: ")

s3 = input ("Enter third string: ")

#Then joining them with commas to make one #string.

joined_with_commas = "$s1 , $s2 , $s3"

print (joined_with_commas)

There are a couple of ways to build string in Programming, in this exercise we will be using the String Template method.

Let us implement this Algorithm using the Kotlin Programming Language

//Declaring variables

var s1  = "This"

var s2 =  "is"

var s3 = "Brainly"

// We will using the string Template to set values for the final variable

var joined_with_commas = "$s1 ,$s2 , $s3"

//The expected output will be "This, is, Brainly"

Learn more about String Template:

https://brainly.com/question/25619349

WHAT TYPES OF ACTIVITIES ARE PERFORMED BY HEALTH CARE SOFTWARES

Answers

Answer:

lectronic Health Record (EHR) Software. ...

Medical database software. ...

Medical research software. ...

Medical diagnosis software. ...

Medical imaging software. ...

E-prescribing software. ...

Telemedicine software. ...

Appointment scheduling (booking) software.

NEED HELP WILL MARK BRAINLIEST AND 25 POINTS FOR ANSWER Which statement best describes a characteristic of a relational database?

It contains tables that are completely independent of one another.

It contains tables with fields that are associated with one another.

It is a feature that is primarily used to navigate databases.

It is a feature that is primarily used to add queries to tables.

Answers

The relational database has the characteristic feature of the adjoining of data with one another.

What is a relational database?

The relational database is given as the interconnection of the data with the digital database management system.

The relational database is given with the characteristics of the adjoining of data tables and fields associated with one another. Thus, option B is correct.

Learn more about relational database, here:

https://brainly.com/question/13262352

#SPJ2

Identify and give the application of the following operators.

(a) / (b) //​

Answers

Answer:

This answer depends on what language you're using, but in most languages, "//" is used to precede a one-line remark. "/" is used to divide a number by the other.  For example:

// this is a remark

var foo = x / y;

There are exceptions to both, although the / is almost universally used for division.  One exception would be assembly of course, I don't know if there are any higher level languages that don't use the slash.

Which statement is true for rapid prototyping? (A. It creates a two-dimensional model of a part or a product, from the original model of the product.) (B. It is also known as 2D printing.) (C. It helps to avoid costly mistakes by allowing corrections early in the production process.) (D. It is also referred to as layered modeling.) ​

Answers

Answer:

C: It helps to avoid costly mistakes by allowing corrections early in the production process.

Explanation:

Remember, a prototype refers to an early sample or model of a product that is designed to test and figure out a concept or process.

The Rapid prototyping process has many advantages, besides being faster with the use of 3D dimensional technology, it allows for easy corrections of design/modeling errors early in the production process.

Answer:

C.

Explanation:

Plato

given a number n for each integer i in the range from 1 to n inclusive print one value per line as follows fizzbuzz if __name__

Answers

Answer:

The program in Python is as follows:

def fizzBuzz(n):

    for i in range(1,n+1):

         print(i)

   

if __name__ == '__main__':

    n = int(input().strip())

    fizzBuzz(n)

Explanation:

This declares the fizzBuzz function

def fizzBuzz(n):

This iterates from 1 to n

    for i in range(1,n+1):

This prints every number in that range; one per line

         print(i)

   

The main begins here

if __name__ == '__main__':

This prompts user for input

    n = int(input().strip())

This calls the fizzBuzz function

    fizzBuzz(n)

Adam is writing a program that: 1) has the user guess a number, and 2) tells the user how many guesses it took to get the correct answer. But when Adam tests the program, it always outputs that it took the user one guess, even when it takes many guesses. What error did Adam most likely make, and how should it be fixed? The difference between a for loop and a while loop is that a for loop is a loop that happens for a certain number of times. A while loop happens until a certain condition is met. How do you know when to use each one? Give specific examples in your answer. What are some programs that you have used that have condition-controlled loops and count-controlled loops? Why is it important that if, elif, and else statements appear in the proper order? What are some situations where you might find it useful to use the “!” symbol in a program?

Answers

Answer:

There are two ways in which programs ... count-controlled loops; condition-controlled loops ... Sometimes it is necessary for steps to iterate a specific number of times. ... A count-controlled loop is used when the number of iterations to occur is ... the variable 'count' is used to keep track of how many times the algorithm

Explanation:

Answer:

Adam most likely forgot to add a while loop to the guessing code or didn’t add it properly, meaning that instead of letting him guess multiple times it just continues the code, all he needs to do is add a while loop to fix the line of code.  

Explanation:

hope this helps

Review the advantages of database management systems in the Connolly textbook. Which two advantages do you think are the most important

Answers

Answer:

The two advantages of database management systems that are the most important are:

1. Data sharing: Database management systems enable data to be shared among users from different locations.  It provides access to many users of the data, who can make specific data requests to meet their information needs.

2. Data consistency: Database management systems make it possible for all users to have the same data.  It eliminates the problem of inconsistent data for decision making.

Explanation:

Basically, a Database Management System (DBMS) is defined as the software that enables end-users to create, read, update, delete, and access data in each database.  Among the most notable advantages of Database Management System (DBMS) are improved data sharing and security, minimized data inconsistency, better data integration, improved data access, improved decision making, and increased end-user productivity.

What is design reference threat

Answers

it’s a threat ‘make it spicey’ so with design

You already know about lists. What missing function will return the index of 7 in the list? >>> myList = [12, 5, 7, 3, 25] >>> myList. (7)

Answers

Answer:

The index function

Explanation:

Required

What function is needed to complete the program

To return the index of an item in a list, we make use of the index function.

In this case, the complete program will be:

myList = [12, 5, 7, 3, 25]

print(myList.index(7))

At the end of program compilation and execution, the index of 7 (which is 2) will be returned/printed.

Answer:

index

Explanation:

The plugin that changes Jenkins to use green balls instead of blue for successful builds is ________.

Answers

Answer:

The answer is below

Explanation:

Jenkins is a server used by developers to to reliably build, test, and deploy their software. Jenkins has different plugins that can be used for this testing.

Jenkin green ball plugin changes jenkins to use green balls instead of blue for successful builds. This green ball plugin is used as an alternative for blue ball builds and it does not affect the output of the XML and JSON APIs.

What does this icon mean?
Plz hurry it’s for a school quiz you will get a brainly

Answers

Answer:

Filter data

Explanation:

If u dont believe me here is a pic

What would be the result of the following calculation in a spreadsheet?


=5+10/5-3*3-1


a. -1

b. -3

c. 1

d. 3

e. 0


answer: B. -3

Answers

Answer:

answer a -1

b-3 hi hello who are you

The ______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.

Answers

Answer:

1. Where,

2. From

Explanation:

In SQL query language when working on a database, a user can use certain clauses to carry out some functions.

Hence, The WHERE clause allows us to select only those rows in the result relation of the FROM clause that satisfy a specified predicate.

This is because the "Where clause" selects the rows on a particular condition. While the "From clause" gives the relation which involves the operation.

Statistics are often calculated with varying amounts of input data. Write a program that takes any number of non-negative integers as input, and outpu

Answers

Answer:

Explanation:

The following program is written in Java and is a function that asks the user for an input and keeps doing so until a negative value is entered, in which case it calculates the average and max values and prints it to the screen.

public static void average () {

                       int num;

                       int sum = 0;

                       Scanner in = new Scanner(System.in);

                       System.out.println("Enter Number");

                       num = in.nextInt();

                       int count = 0;

                       int max = 0;

                       while(num >= 0)

                       {

                               sum+=num;

                               System.out.println("Enter Number");

                               num = in.nextInt();

                               count++;

                               if(num>=max){

                                       max = num;

                               }

                       }

               System.out.println(sum/count);

               System.out.println(max);

               }

Answer:hi

Explanation:

A Task can be created in Outlook 2016 by clicking on the Tasks navigation item, or by
O clicking on the View tab.
O saving a contact.
O creating an appointment.
O flagging an email.

Answers

A Task can be created in Outlook 2016 by clicking on the Tasks navigation item, or by clicking on the View tab. Thus, option A is correct.

What is a Variable Expense?‌

Business expenses can be classified as either fixed (invariable) or variable. A fixed expense does not change based on a business’s other activities. Costs like rent and administrative salaries are fixed costs, which remain the same no matter how much a business is producing. Imagine a factory that produces pencils — the cost of renting the factory building will remain the same, month after month, no matter how many pencils the company actually produces.

Variable expense ratio expresses variable expenses as a proportion of a company's sales. To calculate the variable expense ratio, simply divide the company's total variable expenses by the company's total net sales. To express the result as a percentage, simply multiply it by 100.

Therefore, A Task can be created in Outlook 2016 by clicking on the Tasks navigation item, or by clicking on the View tab. Thus, option A is correct.

Learn more about variable expense on:

https://brainly.com/question/13097236

#SPJ5

Choose the type of collection created with each assignment statement

____ collection A = {5:2}
Options: tuple, dictionary, list

____ collection B = (5,2)
Options: tuple, dictionary, list

____ collection C = [5,2]
Options: tuple, dictionary, list

Answers

Answer:

dictionary

tuple

list

Explanation:

4. What is the package name in which the Scanner class resides?

Answers

Related Articles. Scanner is a class in java. util package used for obtaining the input of the primitive types like int, double, etc. and strings.

Give an example of an occasion when you used logic to solve a problem

Answers

you can use it when like confirming a policy

Is a free verse a poetry that has no images

Answers

No it just means that it does not have any specific rhymes or formats
No they just typically have no set meter

How the python programming interesting for non programmers?

Answers

Answer:

The python programming language is interesting for non-programmers as it is easy to learn the syntax.  It has extensive libraries that can support every action of the non-programmer and programmer.

Explanation:

Python as a programming language has proved to be the easiest to learn and use.  It is also powerful and versatile, making it the best choice for all beginners and experts.  The readability of the Python language also makes it a great first programming language to learn.  It enables one to think like a programmer and not waste time over any confusing syntax.  Another great advantage possessed by the Python language is that it is easy to download and install for use.

What stores all software and files on your computer and reads and writes data onto a spinning magnetic or optical disk?

Answers

Answer:

Depends. could be an external opticial drive, a scuzi drive, a real to real tape system, or just a simple electromagnetic hard drive with speeds of 1000 rpm or more

Which of these expressions is used to check whether number is equal to value?
num?value
num=value
num-value
num==value

Answers

i think it's the second one

Answer:

d:num==value

Explanation:

The programming interface for a legacy motor controller accepts commands as binary strings of variable lengths.

a. True
b. False

Answers

Answer:

The answer is "Option a"

Explanation:

The given question is incomplete, that's why its correct solution can be defined as follows:

The above-given question is the part of the Binary Autocomplete, in which this Autocomplete function would be a full word or sentence after just a few other letters were entered into the system. It approach improves text taking appropriate on smartphone devices of particular because every letter should not be written in such a single phrase.  

How to format each dictionary item as a text string in the input file. How to covert each input string into a dictionary item. How to format each item of your inverted dictionary as a text string in the output file.

Answers

Answer:

- To get the items of a dictionary and print them as a string, use the items() method to unpack the keys and values in a for and print or write them into a file.

for key, value in mydict.items():

   print(f"{key}, {value}")

- To convert string from user input into dictionary;

   mystring = input().split(" ")  #assuming the words are separated by a space.

   from word in mystring:

       mydict[word] = mydict.get(word, 0) + 1

This would use the words in the string as the keys of the dictionary and the count of each word as the respective values.

Explanation:

A dictionary is a data structure in python used to store data in key-value pairs. The items are enclosed in curly braces and can be accessed with the key in dot or bracket notation.

Dictionaries in Python are used to represent data items in pairs; i.e. key and values

(a) Format items as strings in an input file

To do this we make use of the file manipulation.

Assume the dictionary name is given as: myDict

See attachment for the complete solution

Read more about Python dictionary at:

https://brainly.com/question/14353514

Karin realized that a song takes up a lot more space on her computer than the lyrics of the song typed out in ms word document . Why does this happen

Answers

Consider that there are many different components of one file such as a song rather than a word document of typed words. Research the components of why this song takes up space on a computer.

NEED HELP 100 POINTS FOR ANSWER AND BRAINIEST!!! Which comparison operator is used to signify that a value is not equal to another value?
<>
<<
>=
=

Answers

Answer:

We use SQL Not Equal comparison operator (<>) to compare two expressions. For example, 10<>11 comparison operation uses SQL Not Equal operator (<>) between two expressions 10 and 11

Explanation:

<> operator is used to signify that a value is not equal to another value , Option A is the correct answer.

What are Comparison Operators ?

An operator used to compare or relate the value of two number or string is called a Comparison operator.

The value of 0 or 1 is returned on using Comparison Operators.

<> , Not equal to operator signifies that the value are either greater than or less than the other value but not equal in any case.

Therefore <> operator is used to signify that a value is not equal to another value.

To know more about Comparison Operators

https://brainly.com/question/15260168

#SPJ2

What is the correct term for a piece of malware that hides inside a legitimate software program or file from trusted sources

Answers

Answer: Trojan horse

Explanation:

Based on the Greek legend of how Greek soldiers hid in a Trojan horse to infiltrate and destroy Troy from within, Trojan horse malware mirrors this attack when attacking software.

It hides inside and disguises itself as a legitimate software program or a file from a trusted source and then when clicked on, it works to infect the software.

Describe the action of the indexOf and substring methods. Explain how these methods can be used to divide an existing string into two parts. Why is it necessary to add 1 to the position of the space when copying the remainder of the string

Answers

Answer:

The indexOf is a string method used to get the index of a character in a string. It can be used with the slice, substr, or subString methods to divide a string into two or more parts.

var words = "hello John Snow";

var A = words.slice(0, words.indexOf("John"));

var B = words.slice(words.indexOf("John") + 1, words.length());

One (1) is added to the space of avoid repeating a character in both new strings.

Explanation:

The indexOf method is a built-in method in Javascript used to get the index of a character or word in a string variable. The return integer number can be used in a method like a slice() to divide the string and them to other string variables.

The motherboard

allows the different parts of a computer to communicate
helps to keep things cool inside the tower
is the memory of the computer
is where the computer is plugged into an outlet in the wall

Answers

Answer:

a:(allows the different parts of a computer to communicate)

Explanation:

The motherboard is the main command center for the whole pc which recieves your inputs and responds by sending outputs...

Other Questions
Kings Plazas Lids Store has a sale on fitted hats 3 for $33.00, and a sign states that 4 Brooklyn Nets headbands cost $12.00. Find the total cost of buying 2 fitted hats and 3 headbands What are 2 countries that have influenced modern Canada? Explain What is a "line drive"? a. Home runb. Wooden batc. Special throwd. Fast, straight hit Analyzing Magazine Article CitationWhich magazine article citation is written correctly in MLA style?Youve Come a Long Way, Wes. David Brewster. Seattle. Sept. 1970: 34-45. Print.Youve Come a Long Way, Wes. Brewster, David. Seattle. Sept. 1970: 34-45. Print.Brewster, David. Youve Come a Long Way, Wes. Seattle. Sept. 1970: 34-45. Print.Brewster, David. Youve Come a Long Way, Wes. Seattle. Sept. 1970: 34-45. Print. Which equation represents the standard form of the equation y = (x + 3)2 - 4? depression symptoms include: ????????su!cidal Behavior includes: If the following data were transformed, and points with the coordinates (x.log()) were plotted, what points would be plotted? Round log() to threedecimal places Which type of wave has the longest wavelength?Gamma raysUltraviolet raysVisible lightMicrowavesRadio waves Can someone help me plzzz!! I need help in geometry urgently!!! What happens to the intracellular fluid leaked by cells Who answers the three economic questions in a market economy?A. SocietyB. GovernmentC. BusinessesD. WorkersE. Buyers 2) Jean is a 12 year old girl who consumed chicken that was not fully cooked at a restaurant.Thirty-six hours later, she started vomiting and was constantly having diarrhea. After a week,she had a fever and swelling around her eyes and under her neck.help me pls Need an answer asap plzzzzzzzzzzzzzzzzzzz! Change each decimal to a percent by moving the decimal point two placesto the right. 0.762 How many pounds of gold ore would need to be processed to obtain 5 grams of gold (Au) if the ore is 0.1% gold by mass? A number cube is labeled 1 through 6. What is the probability of NOT rolling a 2?A. 1/6B. 2/6C. 3/6D. 4/6E. 5/6 Carrie has 0.83 liters of juice in her pitcher. Sanji's pitcher has 2 times as much juice as Carrie's pitcher. Lee's pitcher has 4 times as much juice as Carrie's pitcher. Sanji and Lee pour all their juice into a large bowl.How much juice is in the bowl?There are liters of juice in the bowl. What is the y-intercept of a line that passes through the points (2,7) and (6, 1)? Please help ASAP!!!!