Choose the word that makes each sentence true.
Use a while/for loop when you know you want to make 10 passes through a loop
Use a while/for loop when you want to continue passing through a loop until a condition is met

Answers

Answer 1

Answer:

Use a for loop when you know you want to make 10 passes through a loop

Use a while loop when you want to continue passing through a loop until a condition is met

Explanation:

Let us first clear that when do we use for loop and when do we use while loop.

For loop is used when the programmer already knows the number of repetitions.

While loop is used when the number of iterations are not known but the condition has to be used to determine the number of iterations.

Hence,

Use a for loop when you know you want to make 10 passes through a loop

Use a while loop when you want to continue passing through a loop until a condition is met


Related Questions

What is the purpose of including comments in code?

Answers

Answer:

To help keep your code organised/understandable by other people.

Explanation:

One of the worse things if you are looking back at your code in the future is not being able to know what your code sections are for right away. You will want to make sure you explain what each section of code does for your own personal help. I'm not saying its required to do, you should probably do it to help yourself or other people who are going to read/collaborate on your code.

it includes all types of technology used to deal with information such as computers hardware and Software technology used for ______, _______ and _______​

Answers

Answer:

Creating, storing, and transferring information.

Explanation:

Information Technology (IT) can be defined as a set of components or computer systems, which is used to collect, store, and process data, as well as dissemination of information, knowledge, and distribution of digital products.

Generally, it is an integral part of human life because individuals, organizations, and institutions rely on information technology in order to perform their duties, functions or tasks and to manage their operations effectively. For example, all organizations make use of information technology (IT) for supply chain management, to process financial accounts, manage their workforce, and as a marketing channel to reach their customers or potential customers.

Hence, Information Technology (IT) includes all types of technology used to deal with information such as computer hardware and Software technology used for creating, storing, and transferring information.

What caused accident? into passive voice​

Answers

Accident was caused by what

What is the difference between special purpose software and customized software​

Answers

The choice of a specific software product model depends on your business specs. General-purpose solutions cover a set of the most common functions. The tailor-made one allows you to stand out for the individual approach for business processes and tasks.Jul 27, 2020

Answer:

im trying to do a challenge because this kid deleted all my answers      

Explanation:

Which of the following actions is most likely to help reduce the digital divide?
A
Adding a requirement that all users of a popular social media site link their accounts with a phone number,
B
Deploying satellites and other infrastructure to provide inexpensive Internet access to remote areas of Earth
С
Digitizing millions of books from university libraries, making their full text available online
Offering improved Internet connections to Internet users who are willing to pay a premium fee for more bandwidth

Answers

Answer:

The digital divide refers to the gap between those able to benefit from the digital age and those who are not.[1][2] The concern is that people without access to the Internet and other information and communication technologies will be disadvantaged, as they are unable or less able to obtain digital information, shop online, participate democratically, or learn skills and offer skills. This resulted in programs to give computers and related services to people without access.

Since the 1990s, a potent global movement, including a series of intergovernmental summit meetings, were conducted to "close the digital divide". Since then, this movement formulated solutions in public policy, technology design, finance and management that would allow all connected citizens to benefit equitably as a global digital economy spreads into the far corners of the world population.[3][4] Though originally coined to refer merely to the matter of access—who is connected to the Internet and isn't—the term digital-divide has evolved to focus on the division between those who benefit from Information and Communication Technology and those who are not.[5] Thus, the aim of “closing the digital divide” now refers to efforts to provide meaningful access to Internet infrastructures, applications and services. The matter of closing the digital divide nowadays includes the matter of how emergent technologies such as Artificial Intelligence (so-called AI4D[6]), robotics and Internet of things can help societies.[7] As it has become clear that the Internet can harm as well as help citizens, the focus of closing the digital divide had focused on the matter of how to generate "net benefit"[8] (optimal help minimal harm) as a result of the impact of a spreading digital economy.[9]

The divide between differing countries or regions of the world is referred to as the global digital divide,[10][11] examining this technological gap between developing and developed countries on an international scale.[12] The divide within countries (such as the digital divide in the United States) may refer to inequalities between individuals, households, businesses, or geographic areas, usually at different socioeconomic levels or other demographic categories.

The digital divide refers to the difference among populaces and regions with access to modern communication and information technology and those without or with limited access.

It refers to the divide between demographics and regions that have access to and have no access to modern information and communication technology.Mobile phones, TVs, personal computers, and internet connectivity may include these innovations.It provides enhanced Internet connections to Internet users willing to pay an extra bandwidth charge, which can help to reduce the digital divide.

Therefore the final choice is "Option D".

Learn more:

brainly.com/question/12658571

A married couple makes a combined $100,000 a year. This means their income will be taxed about 25%. How much money will they be left with after taxes are taken out of their paychecks?A married couple makes a combined $100,000 a year. This means their income will be taxed about 25%. How much money will they be left with after taxes are taken out of their paychecks?A married couple makes a combined $100,000 a year. This means their income will be taxed about 25%. How much money will they be left with after taxes are taken out of their paychecks?A married couple makes a combined $100,000 a year. This means their income will be taxed about 25%. How much money will they be left with after taxes are taken out of their paychecks?

Answers

Answer:

$75,000

Explanation:

Given that :

Combined income made = $100,000

Percentage Tax paid on income = 25%

Amount left after tax :

(100% - 25%) * combined income made

75% * $100,000

0.75 * $100,000

= $75,000

Hence, amount left after tax is $75,000

RIGHT ANSWER GETS BRAINLIEST

Which method will search an array for the first occurrence of 10?
myArray. ____(10)

search
index
find
append

Answers

Answer:  B.

Index

Explanation:

The Index function is used to find the occurrences of numbers in a list/ pattern.

The method that will search an array for the first occurrence of 10 is an index. The correct option is B.

What is an array?

A data structure called an array consists of a set of elements (values or variables), each of which is identifiable by an array index or key. Depending on the language, additional data types that describe aggregates of values, like lists and strings, may overlap (or be identified with) array types.

A grouping of comparable types of data is called an array. For instance, we can create an array of the string type that can hold 100 names if we need to record the names of 100 different persons. array of strings = new String[100]; In this case, the aforementioned array is limited to 100 names.

A formula with numerous computations capabilities on one or more items in an array is known as an array formula.

Therefore, the correct option is B, index.

To learn more about array, refer to the link:

https://brainly.com/question/27820133

#SPJ2

Compound conditions require a computer to sense whether multiple conditions are true or false.

True
False

Answers

Answer:

False

Explanation:

You can have multiple conditions in your while and for loops as well as your if statements.

What is the best way to appeal to an audience in any medium ?
A. With passion, hope, and dishonesty
B. With insincere flattery and concern
C. With complicated figures and facts
D. With emotions, logic, and character​

Answers

Answer:

I think it's D

Explanation:

The best way to appeal is with emotions

Answer:

Credibility, logic, and emotions

Explanation:

Can someone pls answer this question within 30 min
Will give extra points

Answers

Answer:

whats the question

Explanation:

wont show anything on the doc

to play a sound during transitions select a sound from - - - - - - list​

Answers

Answer:

Explanation:

On the Transitions tab, in the Timing group, click the Sound arrow, and then click the sound you want to play. ...

If you want the sound to repeat until another sound effect plays, select the sound effect and then, in the Sound list, click Loop Until Next Sound.

In the Sound list, click [Stop Previous Sound].

Please Help meeeeeeeeeee:

To rename and save a document to OneDrive, you should use which option?

a) Copy
b)Download
c) Save
d)Save as

Answers

Answer:

D) save as

Explanation:

If you press save as it'll give you the option where to save to.

Copy I think good luck

what are the unique features of the software used in hospital

Answers

Answer:

computer is the unique feature of the software used in hospital

choose the function that will result in a 3 on the next line.
>>> aList = [3, 10, 10, 10, 30, 30]
>>> aList. ___(10)
count
index
pop

Answers

Answer: count

Explanation:

Given the program :

>>> aList = [3, 10, 10, 10, 30, 30]

>>> aList. ___(10)

To obtain a value of 3 on the next line, we use the count function :

aList.count(10)

The above statement returns the number of occurrences of digit 10 in the list aList. Digit 10 occurs 3 times in the list. Hence, output will be 3

The index function returns the lowest index where the digit 10 appears and thus it will give an output of 1

The pop function to used to deletes item belonging to a specified index and returns the item which is removed, for this exercise, selecting the pop function will throw an error as the list does not have any item with the index 10.

Answer:

count

Explanation:

count does exactly what it is inteded for...count, counts.

count(10) counts how many 10s there are. theres 3 tens so count is the answer to get 3 on the next line.

Question 10(Multiple Choice Worth 5 points)
(04.03 LC)
When you select a slide from the slide pane, what appearance indicates which slide you have chosen?

A.The slide appears grey.

B.The slide is circled.

C.The slide is outlined.

D.The slide is highlighted.

Answers

Answer:

The correct answer is: Option C. The slide is outlined.

Explanation:

PowerPoint is a software that is used to create presentations for education and businesses. The software consists of menus and options to add and format slides.

When the slide is selected in the side pan of the window, the selected slide is outlined.

Hence,

The correct answer is: Option C. The slide is outlined.

You are creating a program for the school's
upcoming theater production. You would like to
include a picture of the cast on the cover of the
program. Which of the following factors do you
need to consider? Choose all that apply.

•image compression

•image file format

•image resolution

•image scalability

Answers

Answer:

Image file format

Image resolution

Image scalability

Explanation:

Answer:

Image File Format

Image resolution

Image Scalability

The next answer is BMP !

Explanation:

Language: JAVA
Given the following method:

public void call(int k)
{
if (k > 1)
{
call(k - 2);
call(k - 1);
System.out.print(k);
}
}

What will be the output by the command call(5);?

a) 3 4 5
b) 2 2 3 4 5
c) 2 3 2 3 4 5
d) 2 3 2 2 3 4 5
e) 2 3 2 3 2 3 4 5

Please explain this if possible--thanks in advance!

Answers

Answer:

B

Explanation:

I believe that would be the answer from the algorithm you used in the call function.

Correct me if I am wrong

Dan wants to check the layout of his web page content. What is the best way in which he can do this?
A.
check the page on a smartphone
B.
check a paper printout of the page
C.
check the page in an old version of a web browser
D.
check the page in safe mode

Answers

Answer:

B. check a paper printout of the page

Explanation:

B. check a paper printout of the page

"Rights and duties are two sides of the same coin." Explain with examples​

Answers

Answer:

Find the explanation below.

Explanation:

Rights are privileges that citizens or members of a community are entitled to by law. Duties are the responsibilities required of them. These two work together and are dependent on each other. Performing our duties help to safeguard our rights.

For example, the law specifies the right to life for people. This is an entitlement that should be respected by the individual and others around him. It is therefore the duty of the individual and others to respect this right to life and never compromise it in any way.

The law allows the right to free speech. It is also our duty to be patriotic and this would prevent compromising the right to free speech by saying unpatriotic things that can cause political tensions.

is it important to know the basic foot massage first before giving foot spa treatment? why?​

Answers

Answer:

Just like your neck, back, and shoulders, your feet can also benefit from a regular rubdown. Foot massage improves circulation, stimulates muscles, reduces tension, and often eases pain. It also gives you a chance to check out your feet so you can get a jump on treating blisters, bunions, corns, and toenail problems.A good foot spa session releases the tension formed around the tight muscles and tendons and allows blood to flow and circulate smoothly to your other bodily organs and brain. Sliding into liquid bliss allows knots to unknot and pain for to be gently soothed away.

Hope this helps, have a wonderful day/night, and stay safe!

cal
2
4
Solve the equation
x-1​

Answers

Answer:

The solution is: [tex]x = 9[/tex]

Explanation:

Question

[tex]\frac{x-1}{2} = 4[/tex]

Required

Solve the equation

[tex]\frac{x-1}{2} = 4[/tex]

Multiply through by 2

[tex]2 * \frac{x-1}{2} = 4 * 2[/tex]

[tex]x - 1 = 4 * 2[/tex]

[tex]x - 1 = 8[/tex]

Add 1 to both sides

[tex]x - 1 + 1 = 8 + 1[/tex]

[tex]x = 8 + 1[/tex]

[tex]x = 9[/tex]

I NEED HELP QUICK

The computer's operating system
keeps confidential documents secure, copies information form one document to another, and transfers data across networks
O defrags the hard drive, saves data, and retrieves documents
O allocates the computer's resources and compresses files
O displays a GUI, allocates the computer's resources, and retrieves files

Answers

Answer: keeps confidential documents secure,

displays a GUI, allocates the computer's resources, and retrieves files

Explanation:

The operating system can be defined as the software installed in the system that provides the information and services to the users by controlling the hardware, software resources, and regulates the computer programs. It runs the applications and programs in the system, displays the graphic user interface for the services, stores, manipulates, and retrieves files. It prevents the unauthorized access to the data and programs by using passwords thus provides the security to the system and documents.

Your friend has a great idea for a new app, and she shows you a document that outlines what the app will do. This document is an example of: a market analysis. b functional requirements. c phishing prevention. d data flow diagram.

Answers

Answer:

D

Explanation: D and B are both vary close, I know that A and C are wrong, But the answer would be D: "Data flow diagram", because they are highlighting what the app is supposed to do. Function requirements would be your freind showing you a list of things they need for the app to work properly. I hope this answers your question.

Keisha wants to change the default printer before printing an e-mail. Which steps will accomplish this task?
on the Home tab, clicking Print and choosing the desired printer from the Printer drop-down list
O on the File tab, clicking Print and choosing the desired printer from the Printer drop-down list
O on the Home tab, clicking Open and choosing the desired printer from the Printer drop-down list
O on the File tab, clicking Open and choosing the desired printer from the Printer drop-down list
lol

Answers

Answer:

The steps that will accomplish the task are;

On the File tab, clicking Print and choosing the desired printer from the Printer drop-down list

Explanation:

In steps required to change the default printer on Microsoft Outlook before printing as e-mail are as follows;

1) Select the File tab on the Menu bar

2) Click on the Print option on the File's Menu

3) From the Print window displayed under the File Menu in Microsoft Outlook select the desired printer from the Printer options drop-down list

The steps that will accomplish the task are On the File tab, clicking Print and choosing the desired printer from the Printer drop-down list.

What is the definition of Technology?

Answers

Answer:

The first one A.

Explanation:

6.8 Code Practice
please can have some help please

Answers

sure what is the question though

What are the main differences between an analog recording and a digital recording?

Answers

Answer: Recording an album with analog technology can require a whole studio full of equipment, but with digital recording technology, it's possible to record a whole album in a bedroom on a laptop. And whereas analog technology can wear out or be damaged, digital media can last for an indefinite length of time.

Explanation:

What is the minimum level of education a person should strive to achieve in order to find gainful employment?

A.

10th grade

B.

high school diploma

C.

bachelor’s degree

D.

postgraduate degree

pls help im being timed pls help yal

Answers

Answer:

B

Explanation:

C would guarantee one but B is possible

Answer:

b

Explanation:

A occurs when you reset a mobile device but retain your installed applications and personal settings

Answers

Answer:

Soft Reset

Explanation:

A Soft Reset is a type of reset in which a gadget such as smartphones, PC, or other related gadgets undergo to refresh or reset the device or makes certain applications work or function well without user data, settings and applications.

Hence, a SOFT RESET occurs when you reset a mobile device but retain your installed applications and personal settings

Answer:

Soft Reset

Explanation:

Which staff member takes a set of plans and supervises their construction?

Answers

Answer:

Technical director

Explanation:

Someone else's models and designs ,building, decoration, installation, service, hit, and processing supervises by the technical director.

Other Questions
in dont let the bed bugs bite what does the term technical mean? You are opening a savings account with $500 that you have saved. The bank offers 3.2% interest, compounded yearly. How much money will you have in you account after 7 years? A 24-f0ot ladder rests against a house near a second story window 20 feet from the ground. Assume that the ladderand the house both stt on level ground.To the nearest whole nurmber, find the following values:A The measure of the angle formed by the base of the ladder and level ground isB. The measure of the angle formed by the top of the ladder and the second story window isC. The distance, on level ground, between the base of the ladder and the house isfeetdegrees.feet. Joe bought some CD's and DVD's at the store. He bought a total of 12 items. The CD's were $14. The DVD's were $22. He spent $200.How many of each did he buy? force of 4 Newtons in 20 power output? 40 Nm/sec 2 Nm 2 Nm/sec 1 Hey can anyone give me a good transition word(s) Big sisters are the crabgrass of life what figure of speech Hey can someone help real quick Im not sure of my answer easy question in photo On a standardized test, Rasi answered the fast: 22 questions in 5 minutes. There are 7]questions on the test. If he continues to answer questions at the same rate how long willit take him to complete the test? According to the map, to which of the following places did humans migrate after reaching North America? aNorth America bSouth America cAfrica dEurope 1. A sled is being pulled to the left by 5 dogs, each dog pulling with 6 Newtons of force. Find the net force (ignore friction). 2. If a person pulls on a cart to the right with a force of 10N and a second person pulls to the left with a force of 3N, what is the net force on the cart ignoring all other forces? 3. A 2N and 6N force pulls on an object to the right and a 4N force pulls to the left a 0.5kg object. What is the net force on the object if you ignore all other forces? 4. A 20kg bike accelerates at 10m/s^2. With what force was the person pedaling if friction exerted a force of 100N 5. If a person is pushing a cart with a force of +40N, friction is -10N and the cart accelerates at 0.5m/s^2, what is the mass of the cart? What is the best way to appeal to an audience in any medium ? A. With passion, hope, and dishonestyB. With insincere flattery and concern C. With complicated figures and factsD. With emotions, logic, and character Read the paragraph that first mentions Aristotle. What do you think the word political means in the sentence? Why did Aristotle use that word in his writing? Use evidence from the text to support your answer. .If two organisms are in the same phylum, they must also be in the samea. classb. speciesc. familyd. kingdom pls help Quadrilateral ABCD is an isosceles trapezoid. What is the mB? Solve the system: (MAFS.912-A-REI.3.6)4+7=414x+7y=414+7=414x+7y=417=16 The diagram shows a square based cuboid. Work out the volume of the cuboid. State the units of your answer. What is the degree of 9x^4 + 3x I really need help. And its setted up-