When do you use a for loop?

Answers

Answer 1

Answer:

You use a for loop when you know how many times you want to run the loop

Explanation:

if you dont know, use a while loop


Related Questions

Which visual novels do you recommend and why?

Answers

Answer:

I rec recommend Fate/Stay Night. It's honestly so good!

Explanation:

What predefined match policy allows viewers to watch a claimed video but does not allow ads to display on the video

Answers

Answer:

The correct response is "Track".

Explanation:

Tracks encourage the individual that listens to that same music video to miss or ignore that same starting of almost any soundtrack at a certain moment. It might also impact an individual who accompanies a facility that implements or obeys guests.

For obvious reasons, a digital ad service can track client's internet search engine behavior patterns to continue providing accurate recommendations.

What is the purpose of slicing?

a. To combine characters in order to form a single string
b. To combine two or more strings into one big string
c. To pull out a group of characters from a string
d. To pull out one specific character from a string

Answers

Answer:

C

Explanation:

Because a and b are talking about combining and when you slice you don't combine when you slice and when you slice something its into 2 or more parts, unlike what d says

b) Describe the computer processing that is required to maintain the correct growing
conditions.​

Answers

Answer:

Explanation:To get the best plant growing conditions, the temperature and humidity (moisture in the air) have to be controlled.

The greenhouse therefore has temperature and humidity sensors linked to a computer, and the computer has a control program storing details of the correct temperature and humidity settings. The greenhouse is fitted with a heater, sprinkler and window motor which are also linked to the computer.

If the humidity falls below the values stored in the program, the computer activates the sprinklers and closes the windows. If the temperature falls outside the values stored in the program, the heater is activated by the computer.

can some one please help

Answers

Answer: It probably will cost a lot of money

Explanation:

Select the correct answer
Which filter enhances the color contrast around the edges of an image?

A. Texture filters

B.Sharpen filters

C.Blur filters

D.Noise filters

Answers

Answer: C. Blur filters

Explanation:

The unsharp mask filters or blur filters can be used for professional color correction. This will adjust the contrast of the image. Edge details and may produce a darker and lighter line on all side of the edges. This helps in creating illusion or blur image giving a sharp contrast and sharper image.

So, the color answer C. Blur filters

Answer:

B, Sharpen Filters

Explanation:

i got it right lol

What is a letter that is written by someone you know and is used by a college during the application process?

Answers

Letters of recommendation.

Answer:

Letters of recommedation ..

Explanation:

Which term refers to the portion of the hard drive where print jobs are stored before going to the print device

Answers

Answer:

Print Queue.

Explanation:

I majored in Technology

Printer spoolers, which queue print jobs and send them one at a time to a printer, should not be confused with printer drivers.

What print jobs are stored before going to the print device?

In order to enable control of print queue actions like stopping, restarting, or canceling tasks, a print queue provides users with printer management features. Some print queues let users rearrange the queue's order and assign print jobs a higher priority.

Messages that need to be printed are gathered in print queues. An Unspecific print queue can be started or canceled.

Applications can print with the help of printer drivers without having to be aware of the specific technical specifications of each printer model.

Therefore, The area of the hard disk where print jobs are kept before being sent to the printer is referred to as the print queue.

Learn more about print device here:

https://brainly.com/question/4005823

#SPJ6

What is the function of a web browser, and what are the main components of a web address?

Answers

Answer:

The primary function of a web browser is to render HTML, the code used to design or "mark up" webpages. Each time a browser loads a web page, it processes the HTML, which may include text, links, and references to images and other items, such as cascading style sheets and JavaScript functions.

Function of a web browser: A web browser allows users to access and view websites on the internet, request web pages from servers, and display their contents.

Main components of a web address (URL):

1. Protocol

2. Domain

3. Subdomain

4. Path

5. Query parameters

6. Fragment identifier

The Function of a Web Browser:

1. Requesting Web Pages: The web browser sends requests to web servers to fetch specific web pages or resources (such as images, videos, and stylesheets) associated with those pages.

2. Rendering Web Pages: Once the web browser receives the requested content from the server, it interprets and renders the HTML, CSS, and JavaScript code to display the web page's content and structure.

3. Supporting Multimedia: Web browsers are capable of handling various multimedia elements, such as images, audio, and video, allowing users to experience a rich and interactive web environment.

4. Managing History and Bookmarks: Web browsers keep track of the browsing history, allowing users to revisit previously visited sites. They also provide features to bookmark and save favorite websites for quick access.

Main Components of a Web Address (URL):

A web address, also known as a URL (Uniform Resource Locator), is the unique address used to identify a specific web page or resource on the internet. It consists of several components:

1. Protocol: The protocol is the method used to access the resource.

2. Domain: The domain is the address of the website or server hosting the resource. It is typically the main part of the URL.

3. Subdomain (Optional): Subdomains are prefixes added before the main domain.

4. Path: The path specifies the location of the specific resource on the server. It may include directories and filenames.

5. Query Parameters (Optional): Query parameters are additional data passed to the web server for processing.

6. Fragment Identifier (Optional): The fragment identifier is used to specify a specific section or anchor within a web page.

Learn more about Web here:

https://brainly.com/question/27961981

#SPJ6

answer this now
and thanks

Answers

Answer:

the process of burning something

Answer:

Option D) the process of burning something

Explanation:

Combustion, or burning, is a high-temperature exothermic redox chemical reaction between a fuel and an oxidant, usually atmospheric oxygen, that produces oxidized, often gaseous products, in a mixture termed as smoke. 

plzz help me with this question.........

Write a program to input a number find the sum of digits and the number of digits. Display the output also.......

sample input - 7359
sample digits - 24
number of digits - 4​

Answers

Answer:

please mark as brainliest!!

Explanation:

public class SumOfDigits{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Please enter a number to calculate sum of digits"); int number = sc.nextInt(); // Remember number/10 reduces one digit from number // and number%10 gives you last digit int sum = 0; int input = number; while (input != 0) { int lastdigit = input % 10; sum += lastdigit; input /= 10; } System.out.printf("Sum of digits of number %d is %d", number, sum); // closing Scanner to prevent resource leak sc.close(); } }

is it just me or do people delete other peoples questions and it shows up in my inbox staying its mine

Answers

Answer:

yessss same bru.h

Explanation:

Answer:

ive had that happen before i dont know why it happens

help pleaseee!!!!!!! will give brainliest !!!!!
How do you increase the number of CPUs in a virtual machine in order to optimize it?

Answers

Answer:

Not sure if this will help

Explanation:

increase the number of motherboards, and install compatible CPUs on each motherboard

select the correct option
and thanks

Answers

M cucumber
Should be the ans

Answer:

Cucumber

Explanation:

Cucumber has the largest portion. .08 kg/tray/day. The entire graph equals 100%, and the cucumbers take up 17.8% of it.

How does entertainment relate to coding?

Answers

Answer:

not sure if this is the type of answer you're looking for but: Entertainment can relate to coding because in TV shows and movies, there is lots of editing. Especially with cartoons. Inorder to make these, we have to use coding. This can even relate to real life plays and preformenses depending on how much technology you use to preform them.

BRAINLIEST!!! HELP!!! 20 PNTS!!

Which is the correct way to add a border color?

A. border-color(red);

B. border-color: red;

C. red: border-color;

D. border-color = red;

Answers

Answer:

The answer you are looking for is "B.) border-color: red"

HTML and CSS coding is fairly simple, but to assign a border color to a certain tag, you would write

Tag Name (without <>'s)

{

border-color: red

}

Remember that your border color will affect all of the tags mentioned in this command.

what do you understand by the term "Artificial Intelligence "?​

Answers

Answer:

Artificial Intelligence (AI) is the branch of computer sciences that emphasizes the development of intelligence machines, thinking and working like humans. For example, speech recognition, problem-solving, learning and planning.

You’ve been tossed into an insane asylum. What do you tell the people there to prove to them that you don’t belong inside?

Answers

Was this a question on an assignment or are you in an asylum right now

An asylum is for crazy people. I'm crazy. Crazy people don't realize they're crazy. If I realize I'm crazy, then I'm not crazy. Therefore, I do not belong here.

Categorize each memory card as based on new or old technology. PLEASE HELP.

Answers

Answer:

SD Cards and XDQ Cards are new XD Cards and CF Cards are old.

Explanation:

Hope this helps.

What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms

Answers

Answer:

1. You want to use parameters

2. You don't want your program to run multiple times

3. You want to call that snippet of code throughout your program

hope this helped :D

Which of the following is NOT true regarding fonts which should be used in memos?
O Typically serif fonts are used such as Times New Roman
O Typically sans-serif fonts are used such as Arial
O Headers should be 12-point font size
O Body text should be 10-point font size

Answers

Answer: Typically serif fonts are used such as Times New Roman.

Explanation: Have a gr8t day and pls mark me brainliest.

Why would it be useful to split up the coding for creating an app between multiple programmers? Select 2 options.

greater innovation

greater control over the code.

faster development.

greater consistency between sections of code.

Answers

Answer: c

Explanation:

Answer:

I'd be willing to wager it is A and D but not 100% sure.

Explanation:

Eli needs to export files from his mailbox into a single file that is portable and can be backed up to removable media. Which file type will he use?

Answers

Answer:

PST

Resource:

This question has already been answered here: https://brainly.com/question/18415952

Explanation:

PST is the personal storage table, which is a file built by Microsoft to store data from outlook and other services too.  Really quick, this may or may not be an option that you are looking for but, what I would do in my opinion would be to use the PST and export it on a removable USB, since USBs are removeable media.


8.10 Code Practice Question 1

Write code that takes in two words from user input and stores them in the variables x and y respectively. Then, the programs the values in x and y, and print x and y).

Note: The variable names x and y are required for this question

Answers

x = input("Enter a word: ")

y = input("Enter a word: ")

x,y = y, x

print(x)

print(y)

I hope this helps

Since we need to perform some coding functions such as:

Asking for the input of a numberStoring them as individual variablesPrinting/Displaying the values independently.

First thing we need to do is to declare the unknown variables as x and y

Next would be to write the input this way:

x= input ("Put a word:")

y= input ("Put a second word:")

x,y = y, x

Print(x0

Print(Y)

Read more about programming here:

https://brainly.com/question/18900609

What will you see on the next line?

>>> aList = [12, 3, 5, 7, 7]
>>> aList.index(7)

1

7

3

2

Answers

Answer:

its 3, just did it on edg 2020

Explanation:

sdfdsfdsfdsfsdfsdf vote me brainliest!

The next line after >>> aList = [12, 3, 5, 7, 7], >>> aList.index(7) is 3. The correct option is c.

What is an array?

A group of identical objects or pieces of data held near to one another in memory is referred to as an array. An array type is a user-defined data type that consists of an ordered collection of objects of a single data type. Ordinary array types have a set maximum number of elements they can hold and use the ordinal position as the array index.

The unordered list that is a part of the simple array is thus visible. The unordered list can be converted to an ordered list by executing the command "aList. sort()".

So, the next line will be:

>>> aList = [12, 3, 5, 7, 7]

>>> aList.index(7)

3

Therefore, the correct option is c. 3.

To learn more about array, refer to the link below:

brainly.com/question/14915529

#SPJ2

just hellllllp me plzzzzzzzzzzzzz

Answers

it should increase the amount of thrust

Answer:

It is C.

Explanation:

Hope this helped have an amazing day!

The type of medium used to hide data in steganography is referred to as __________. This may be a photo, video, sound file, or Voice over IP, for example.

Answers

Answer:

:L

Explanation:

Answer:

symmetric cryptography

Explanation:

help plz (will give brainliest)

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This is the python program in the question that is:

def sum(n1,n2):

n=n1+n2

return n

The question is: write a function CALL that displays the return value on the screen.

So, the correct program is written below:

*********************************************************************  

def sum(n1,n2):# it is function that define sum

 n=n1+n2 # variable n that store the result of n1 and n2

 return n # return the result

print(sum(3,5))# call the sum function with parameter 3 and 5 , it will print 8

print(sum(4,101))

# call the sum function with parameter 4 and 101 it will print 105

********************************************************************************

you can also store the sum result into another variable, because this function return the sum. So, you can store that return value into another vairable and using the print function, to print the value of this variable such as:

*****************************************************************************

def sum(n1,n2):# it is function that define sum

n=n1+n2 # variable n that store the result of n1 and n2

return n # return the result

result= sum(6,9) # store the sum result into another variable i.e result

print(result)# print the result variable value

*****************************************************************************

Which of the following best describes the protocol used on the internet?

Answers

Answer:

The protocols of the Internet are open and used by all devices connected to the network

Explanation:  

There are billions of devices connected to the Internet, and hundreds of different kinds of devices: laptops, tablets, phones, refrigerators, handheld credit card readers, and so on. Protocols (standards) ensure that the variety of devices interact with each other smoothly.  There are a lot of protocols! The Internet was designed with several layers of abstraction that sort the protocols according to what part of the process they support.

) Find and write the o/p :
X=[“F”,66,”QE”,15,”S”,34]
Y=0
Z=” ”
A=0
for c in range(1,6,2)
Y+=c
Z=Z+X[c-1]+'$’
A+=X[c]
Print(x,y,z)

Answers

Answer:

The output of this question is

['F', 66, 'QE', 15, 'S', 34] 9  F$QE$S$

Explanation:

In this question the user want to print the value of X,Y and Z

Let calculate the value of X first.

As the value of X is not altered in the program to its value will be the same that is:

['F', 66, 'QE', 15, 'S', 34]

Now we will calculate the value of Y

It is written as

Y+=c

which can be written as Y=Y+c

The loop here start form 1, the it go to 3 then 5 as explained below

Range(1,6,2) is written

The first value is the start value

The second value is stop value

While the third value is how much to increment.

So first its value will be 1 then increment it by 2. It will become 3

then increment it by 2 again it will become 5. in the next step it will become 7 which is out of range

so

Y=Y+c  =>  Y=0+1       (first loop)

                  Y=1+3       (second loop)

                   Y=4+5    (third loop)

  Some y will be 9

Now let focus on the value of Z

Z= " " +X[1-1]+'$'  (first loop)  value of  c=1

so it will become

Z=F$

Now in 2nd Loop

Z=" " + X[3-1]+'S'  (2nd loop)    value of c=3

it will become

Z=QE $

Now in 3rd Loop

Z=" " + X[5-1]+'S'

it will become

Z=" " S + $

so the overall answer of print will become

['F', 66, 'QE', 15, 'S', 34] 9  F$QE$S$

Other Questions
complete the table of values for y=2-xx= -1, 0, 1, 2, 3, 4, y= , , , , -1, , which statement best describes the loyalists?A) they were immune from paying taxes under the british governmentb) they believes Independence would create more economic opportunities c) they trusted the British government to protect their rights d) they believed to all conflicts should be settled peacefully e) they were often imprisoned for defy the British government Mary saw a bangle bracelet at an accessories shop that she liked and told her friend Susan that the most she would pay for it was $38.00. When she found out the price was $33.50, she immediately bought it and gained $nothing in consumer surplus. (Enter your response rounded to two decimal places)If Mary was to buy another bangle bracelet, her additional consumer surplus would . HydrotropismStimulus = ___________ Response = __________ A sunlight, roots grow downwards B water, roots grow towards source of water C plant leaves move away from touch, plant stem grows towards light D Plant stem grows upward, plant roots grow downward MATH QUESITON - PLEASE ANSWER ASAPPlease look at the picture below and give me answers to both the questions. (a) Calculate the linear acceleration of a car, the 0.220-m radius tires of which have an angular acceleration of 11.0 rad/s2. Assume no slippage. what is the MAD of 82, 72, 45, 91, 58, 83, 65, 87, 90, 77, 73, 89 ?I'm very confused. hey plz help, and thanks ** 8. How many atoms of Carbon are in C2H40? Suver Corporation has a standard costing system. The following data are available for June: Actual quantity of direct materials purchased 35,000 pounds Standard price of direct materials $ 8.00 per pound Material price variance $ 7,000 Unfavorable Material quantity variance $ 7,500 Favorable The actual price per pound of direct materials purchased in June was: Multiple Choice $7.76 per pound $8.00 per pound $8.20 per pound $8.24 per pound Simplify the expression. 3.7z to the power of 2+7.2+9z-1.2-2z+z to the power of 2.Please help A student is writing a letter to the local center of government. Read the draft of the student's letter and complete the task that follows.Last week, our school worked on the "Adopt a Highway" project on County Highway 247, where several of us students picked up trash on the side of the road. When we were done, I noticed that the next several miles of highway were littered with tons of garbage. I believe that the city could expand this project by allowing people to perform community service to pay down fines and tickets by picking up trash. This would help to beautify the highway that leads into the next town, and perhaps from there, other people will work to beautify the rest of the state. Please consider allowing people to perform community service by picking up the trash that litters County Highway 287. Thank you for your time and attention to this matter.The student wants to revise the letter to clarify the relationship between the claim and reasons by adding a transitional word or phrase. Which word or phrase BEST connects the underlined sentences in the student's letter?A To the contrary,B However,C As a result,D Additionally, PLEASE HURRY!!Look at the image below! Science 6th grade digital INB- You dont know what parts of the ground are safe and what parts are thin crusts of soil covering fires or sinkholes. Design a system that can access the area and take measurements that show changes in the fire. (No right or wrong answer just need someone to come up with something and quick.) How can vaccines be used to prevent viral infection?A.)To prevent a immune response in the hostB.)To destroy any virus that enters the hostC.)To create a blocking protein on the cellD.)To prevent the replication of the virus What is the correct order of the scientific method? When you can tell how a person feels based on the person's facial expression, which of the four components of emotional intelligencepropagated by Mayer and Salovey comes into play? PLS HELP ASAP! g(c)=19c^2What is g(4)?Enter your answer in the box. What part of the plant cell gives it is green color?