rewrite the following program segment using a while loop instead of a for loop.

for(i=0;i<100;i++){
if (i%2===0){
print (i)
}
}​

Answers

Answer 1

Answer:

while i=0 or i<100:

if (i%2==0):

print(i)


Related Questions

why should technology be used?

Answers

Answer: Okay

Explanation:

Technology is important because it makes you feel more secure with every area in life for both personal and business reasons. With technology advancing more people are able to have access to supplies such as fresh water and food because technology can help deliver those items to people that otherwise couldn't get it.

What job does a back-end developer perform?
O Evaluates a computer systems vulnerabilities and weaknesses
O Handles what happens behind the scenes on websites
Handles what users see and experience on websites
O Writes code for video games​

Answers

Answer:

Handles what happens behind the scenes on websites

Explanation:

The website back end is made up of server, an application, and a database. The back-end developer builds and coordinate these components together. Back end developers manage the technical side of the websites (that is what the users do not see on the website).

The back end developer needs to know how to program using PHP, java, Python, Ruby, as well as use tools such as MySQL, Oracle, and SQL Server.

Describe at least two ways social media has impacted cybersecurity.

Answers

Answer:

Its Providing Too Much Personal Information since you will be using social media to promote your own small business, you need to take extra precautions. For starters, don’t leave a trail of breadcrumbs for social media hackers. Whether you are representing yourself or your company, avoid sharing stuff like your date of birth, places where you have attended school, as well as names and pictures of your family members.

Disgruntled Employees

While it’s fairly normal for your employees to vent about working for your company, in doing so, they may inadvertently reveal more than they should. It’s a lot more common than you think, since 98% of all employees are using at least one social media platform, and as much as 50% of those are talking about their respective companies. Whether they are sharing sensitive info or posting pictures from their workplace, they may end up sharing something that might hurt your business.

Explanation:

Answer:Its Providing Too Much Personal Information since you will be using social media to promote your own small business, you need to take extra precautions. For starters, don’t leave a trail of breadcrumbs for social media hackers. Whether you are representing yourself or your company, avoid sharing stuff like your date of birth, places where you have attended school, as well as names and pictures of your family members.

Disgruntled Employees

While it’s fairly normal for your employees to vent about working for your company, in doing so, they may inadvertently reveal more than they should. It’s a lot more common than you think, since 98% of all employees are using at least one social media platform, and as much as 50% of those are talking about their respective companies. Whether they are sharing sensitive info or posting pictures from their workplace, they may end up sharing something that might hurt your business

Explanation:

In the 2018-2019 softball season, Allison hit the ball 28 out of 67 times, this included fouls. What was her percentage
of misses?

Answers

Answer:

Allison missed 58.21% of the times.

Explanation:

The first step is to divide 28 by 67 to get the answer in decimal form:

28 / 67 = 0.4179

Then, we multiplied the answer from the first step by one hundred to get the answer as a percentage:

0.4179 * 100 = 41.79%

Then 100(%) - 41.79(%) = 58.21%

Which position(s) in the Load Parameter contains the information on what messages are to be displayed during IPL time

Answers

Answer:

the 27th axis of y

Explanation:

The following details are contained in the eight-character LOAD parameter: The I/O definition file (IODF) VSAM data set's hexadecimal device number is specified by the first four characters (characters 1 through 4 of the LOAD parameter).

What Load Parameter contains the information?

IPL message suppression, IPL prompting, IPL prompting for the system starting mode, and the debug mode for installation from disk can all be controlled using the IPL load option.

Not every disk connected to a CPU has loadable software on it. A disk that meets these requirements is commonly known as a "IPLable" disk, and the SYSRES volume is one such volume. A bootstrap module can be found on IPLable drives at cylinder 0 track 0.

Therefore, A notice or prompt should be displayed at IPL time, according to the seventh position.

Learn more about Parameter here:

https://brainly.com/question/14664840

#SPJ2

In the range E7:E11, apply the Currency number format with zero decimal places and $ as the symbol.

Answers

Answer:

bt wheres the data

Explanation:

Please help!!! I am very confused about this question!

Answers

Explanation:

You mean like Sports Photography - focuses on athletes and coaches

Editoral Photography - focuses on a public story

Architectural Photography- focuses on design of buildings ,etc.

Answer:

Amateur Photography <----> focuses on capturing life events

Advertising Photography <----> focuses on enhancing desirability of products

Editorial Photography <----> focuses on providing visual news

Documentary Photography <----> focuses on social reality

Explanation: I think this should be correct, let me know if it helps :)

An external file that can be imported into a slide to give more detailed explanation of the topic would be ____.

Answers

Answer:

Video clip

Explanation:

In a Microsoft PowerPoint, a video clip is considered an external file. Asides from the pictures and text presented in the slide for a smooth transition of the message in the PowerPoint document, a video clip can give a more detailed explanation of the topic.

This can be done by clicking the Insert tab from a Menu bar. Then click on the Video tab followed by Movie from the file. Then look for the movie file and click insert.

please help me please i really need helpp so i can pass

Answers

Answer:

Piezoelectric gauge is used to convert charge into measureable electric signal.

Universal serial bus interface allows a computer and flash drive to exchange information.

Analytical balance is used to measure mass

Ultrasonic flow sensors measure the seed of water using ultrasonic waves.

Explanation:

Analytical balance is used to measure mass. An analytical balance is a device that can measure the mass of an object  accurately. It can also measure very small amount of mass with a range between 0.1mg - 0.01mg.

Universal serial bus interface allows a computer and flash drive to exchange information. A Universal Serial Bus (USB) is an interface that allows communication between peripheral devices and a computer. It connects peripheral devices such as mouse, keyboards, printers, scanners, external hard drives and flash drives with the computer.

Piezoelectric gauge is used to convert charge into measureable electric signal. A piezoelectric gauge has a piezoelectric sensor that uses piezoelectric effect to measure changes in pressure, temperature, force and convert these changes into electrical charge.

Ultrasonic flow sensors measure the speed of flowing liquid using ultrasonic waves. It uses sound waves to determine the speed of the liquid.

Need help please asapp

Answers

Answer:

B

Explanation:

0.05 is the decimal form of 5%

So the sale amount times 0.05 will give the tax amount

Hope this helps!

With the use of technology and digital files increasing daily, do you think it is necessary for experts to be trained in document and handwriting analysis

Answers

Answer:

Yes.

Explanation:

In this case, it is believed the expert that is being referred to as an expert witness is a "Forensic document examiner. The forensic document examiner is an expert in determining the authenticity or credibility of a document by analyzing the originality of the document, such as handwritings signatures, a history of the documents, etc.

Hence, despite the use of technology and digital files increasing daily, it is still necessary for experts to be trained in document and handwriting analysis because they need to understand the originality of documents and signatures that involve the computerized handwriting of individuals.

What is the software system design to locate information on the World Wide Web
search browser
Search engine
Search keyboard
Search result

Answers

Answer:

Search engine

Explanation:

Answer:

search engine

Explanation:

4) Name ways in which a government could use computers to control its
citizens.
5) Describe at least two social changes brought about by communication
technologies.
6) How does a service economy differ from a production economy?
7) Name three ways in which TV has affected our culture.
8) Define ethical.
I
9) Why does digital editing raise ethical problems?
10) What is a computer virus?

Answers

A computer virus is what takes over a computer and ruins everything. It can spread from device to another device.

g The process of a CPA obtaining a certificate and license in a state other than the state in which the CPA's certificate was originally obtained is referred to a

Answers

Answer:

Substantial equivalency.

Explanation:

An unmodified opinion on financial statements can be defined as an opinion issued by an auditor stating that there are no material misstatements and this simply implies that the, the financial statement represents a true and fair perspective.

Hence, when an investor seeking to recover stock market losses from a certified public accountant (CPA) firm, he or she must establish that the audited financial statements contain a false statement or omission of material fact in accordance with the public company accounting oversight board (PCAOB).

The process of a certified public accountant (CPA) obtaining a certificate and license in a state other than the state in which the CPA's certificate was originally obtained is referred to as substantial equivalency. Thus, this make it possible for certified public accountant (CPA) to practice in a state other than where he or she was issued the license.

What kind of operating system is Windows? I

Answers

Huh? I don’t understand
computer operating system

In 1981, the first digital icons were launched for users in _________, which was the first computer with a GUI operating system.

Answers

Answer:

Xerox Alto

Explanation:

the first digital icons were launched for users in Xerox Alto in 1981. this was the first computer with a General user interface (GUI) operating system. It had a speed designation of 3 Mbit/s.

The xerox Alto had a huge influence in the design of personal computers in decades to come. It was the first to bring together all of the components of the GUI.

In 1981, the first digital icons were launched for users Xerox Alto which was the first computer with a GUI operating system.

It should be noted that the first digital icons that was launched is Xerox Alto in 1981. It was simply the first computer that had a general user interface operating system.

Also, Xerox Alto had a speed designation of 3 Mbit/s and had a huge influence in the design of personal computers in decades to come.

Read related link on:

https://brainly.com/question/21728252

Write a method, public static void selectSort(ArrayList list), which implements a selection sort on the ArrayList of Integer objects list. For example, if the parameter list would be printed as [3, 7, 2, 9, 1, 7] before a call to selectSort, it would be printed as [1, 2, 3, 7, 7, 9] after the method call.

Answers

Answer:

Explanation:

The following code is written in Java and like asked in the question, it is a function that takes in an ArrayList of Integers as a parameter and uses selection sort to sort the array.

public static void selectSort(ArrayList<Integer> list) {

                       for (int i = 0; i < list.size() - 1; i++)

                       {

                               int index = i;

                               for (int j = i + 1; j < list.size(); j++){

                                       if (list.get(j) < list.get(index)){

                                               index = j;

                                       }

                               }

                               int smallerNumber = list.get(index);

                               list.set(index, list.get(i));

                               list.set(i, smallerNumber);

                       }

               }

can u guys tell me what is the definition of umbra​

Answers

a conical shadow excluding all light from a given source specifically : the conical part of the shadow of a celestial body excluding all light from the primary source.

To bundle links together in order to improve bandwidth availability and redundancy, what protocol is used

Answers

Answer:

Link Aggregation Control Protocol

Explanation:

Link Aggregation Control Protocol can be used to assist in the formation of port channel bundles of physical links.

Link Aggregation Control Protocol is an IEEE standard defined in IEEE 802.3ad. LACP lets devices send Link Aggregation Control Protocol Data Units (LACPDUs) to each other to establish a link aggregation connection.

Nia is editing a row in an Access table. The row contains the Pencil icon on the left end of the record
this icon indicate?
A. The record is committed.
B. The record has not been written.
C. The record has been written.
D. Nia is editing the record currently.

Answers

Answer:

The answer is D

Explanation:

That little pencil reminds you that you are entering or editing the current record, and that the changes you are making are not yet saved. The little pencil disappears as soon as you move off the current record. Take that as confirmation that Access has saved your new record, or the changes you made to an existing one.

In the case above, The row has the Pencil icon on the left end of the record this icon indicate Nia is editing the record currently.

What is record?

A record is known to be the state or fact of an act been put down or is been recorded.

Note that In the case above, The row has the Pencil icon on the left end of the record this icon indicate Nia is editing the record currently as it shows the pen icon.

Learn more about record  from

https://brainly.com/question/25562729

#SPJ9

what is the moon in science class?

Answers

Some big ball of cheese that glows or something

Write a java program named SumThousand The program adds all the number from 1 to 1000 together and print out the sum

Answers

Answer:

The program in Java is as follows:

public class SumThousand  {

   public static void main(String args[]) {

     int sum=0;

     for(int i =1;i<=1000;i++)

         sum+=i;

     

     System.out.println("Sum = " + sum);

   }

}

Explanation:

This initializes sum to 0

int sum=0;

This iterates from 1 to 1000

     for(int i =1;i<=1000;i++)

This calculates the required sum

         sum+=i;

     

This prints the calculated sum

     System.out.println("Sum = " + sum);

   

How important "saving" in every individual?​

Answers

Answer:

The importance of saving money is simple: It allows you to enjoy greater security in your life. If you have cash set aside for emergencies, you have a fallback should something unexpected happen. And, if you have savings set aside for discretionary expenses, you may be able to take risks or try new things.

A company is completing research and development for software which it is planning to produce in approximately 2 years time. Which of the following assumptions should the company make about the processing speeds of the hardware which will be used to run this software.

Answers

Answer:

true tbh I don't really Know

create a function that draws a certain number of spaces, followed by a certain number of stars, followed by a newline.

Answers

Answer:

Explanation:

The following code is written in Python and creates a function called create_sentence which takes in 2 parameters which are the number of spaces and the number of stars. Then it uses these values to create the sentence and return it.

def create_sentence(spaces, stars):

   sentence = ""

   for x in range(spaces):

       sentence += " "

   for x in range(stars):

       sentence += "★"

   sentence += "\n"

   return sentence

The rule for creating CAD drawings is that a computer drawing should be created ____ using real-world units.

Answers

Answer:

true size

Explanation:

The CAD drawing is an example of the details of the components of an engineering project. Uses CAD (Computer Aided Design) software to create drawings used throughout the design project, from conceptual design to construction or assembly.

You can control the size of the virtual drawing area in the model space by specifying the drawing boundary

Using the CAD drawing we can use the correct size of the specification project. The original unit can be used due to the sheet size.

give five types of charts

Answers

Answer:

line graphs, bar graphs and histograms, pie charts,

2.20 Write an expression involving a three-letter string s that evaluates to a string whose characters are the characters of s in reverse order. If s is 'top', the expression should evaluate to 'pot'.

Answers

Answer:

The program in Python is as follows:

s = input("Three letter string: ")

if(len(s)==3):

    print(s[::-1])

else:

    print("Invalid length")

Explanation:

This prompts the user for a three-letter string

s = input("Three letter string: ")

The following if condition checks if the length of the string is 3. If yes, it reverses and print the reversed string

if(len(s)==3):

    print(s[::-1])

If otherwise, it prints "Invalid length"

else:

    print("Invalid length")

When packets are routed on the Internet, the route for a particular packet is not pre-
determined. Instead, the next hop is decided by each router along the way.
How does that increase the fault tolerance of routing on the Internet?

Answers

Answer:

She notices the website is using a different font and logo, and that the emails are suspiciously worded:

Explanation:

Answer: Each router can pick a connection that's currently working and available.

Explanation: yes

The following program calculates yearly and monthly salary given an hourly wage. The program assumes a work-hours-per-week of 40 and work-weeks-per-year of 50. Insert the correct number in the code below to print a monthly salary. Then run the program. The monthly salary should be 3333.333... .

Answers

Answer:

The program implemented in Python is as follows:

hourly=float(input("Hourly Wage: "))

print("Annual Rate: "+str(hourly * 40 * 50))

print("Monthly Rate: "+str(round((hourly * 40 * 50/12),2)))

Explanation:

The question is incomplete as the missing code is not given. However, I've written the program from scratch in python.

This prompts the program user for the hourly Wage;

hourly=float(input("Hourly Wage: "))

This calculates and prints the annual rate

print("Annual Rate: "+str(hourly * 40 * 50))

This calculates and prints the monthly rate

print("Monthly Rate: "+str(round((hourly * 40 * 50/12),2)))

Note:

The annual rate is calculated by multiplying the hourly wage to number of hours per week (40) to number of weeks per year (50)

The monthly rate is calculated by [tex]annual\ rate/12[/tex]

Other Questions
ion 7 (5 pointsIf the resistance of aircuit is 3 ohms, and the voltage produced by the cell in thecircuit is 12 voltsvhat's the magnitude of the current?1236 amperes0.25 amperes9 amperes4 amperes The zeros of a polynomial function are 1/2, -4 and -1. What are the factors? A rectangular garden is 5.24 meters wide and 7.08 meter long. How much fencing will it take to enclose the garden A contractor buys 16 yd of nylon carpet and 22 yd of wool carpet for $1902. A second purchase, at the same prices, includes 20 yd of nylon carpet and 21 yd of wool carpet for $2033. Find the cost per yard of the wool carpet. what was a major disadvantage of the south? what caused the rate of the erosion to change around 1905 and 1906 Can u create an equation for a line parallel to the given line that passes through the origin? Rutherfordium-261 has a half-life of 1.08 min. How long will it take for a sample of rutherfordium to lose one-third of its nuclei? Your uncle lives 20 miles away. So far, your family has driven 6 miles toward your uncle's house. Howmuch farther is it to your uncle's house? Judaism, Islam and Christianity share a belief in...1. the central authority of the Pope2. a prohibition of the consumption of pork3. reincarnation and the Four Noble Truths4. monotheism and ethical conductpick fast please Pleaseeee helppppppppp Angle ABC is similar to angle LMN. Also, angle B measures 35 and angle C measures 95What is the measure of angle L? Gibberellins are hormones produced in the root tips of plants. The plant uses these hormonesto stimulate the growth of shoots.How are gibberellins able to affect other parts of the plant?F Gibberellins are absorbed through the stomata and attach to chloroplasts.G Gibberellins are transported through vascular tissues to other parts of the plant.H Gibberellins become concentrated within the tissues of the plant during mitosis.J Gibberellins become modified once they infect healthy cells and are later released to infectother cells. Help, I attached a screenshot with the extract and questions. This needs to be handed in at 6 PM. Which word best fits Beveridge's views in his speech?O A. Generosity: He supported sending the Filipinos money.OB. Imperialism: He supported American control of territories.O C. Christianity: He supported sending more missionaries.O D. Abolitionism: He supported freedom for Filipinos. Which means the same as a/b? Write the slope-intercept form y = mx + b for the line passing through the points (0,11) and (5,4).y = -7/5x +11Y= -5/7x + 11y = 5/7x +11y = 5/7x +11 Find the magnitude of the velocity of the of the chain when 5.58 m of the chain is hanging vertically. Answer in units of m/s. Which choice best explains what caused Lee to hurry back home immediately? When 1 mole of P4O10(s) reacts with H2O(l) to form H3PO4(aq) according to the following equation, 453 kJ of energy are evolved. P4O10(s) 6H2O(l)4H3PO4(aq)