1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
monitta
3 years ago
14

Convert the given for loop to while loop and find the output of the program assuming the

Computers and Technology
1 answer:
Kruka [31]3 years ago
6 0

Answer:

Explanation:

num = int (input ("Enter a value"))

sum =0

count=0

i = 1

while i < num:

 if i%2 == 0:

        count += 1

        sum += i

        i += 1

 i += 1

print(sum)

print(count)

The output assuming num is 15 would be

56

7

You might be interested in
Consider the scenario below. Will the solution attempted by the technician fix the problem or make it worse? Defend your answer.
vampirchik [111]

1. At Work--and at Play

At the 2005 E3 trade show, the big news was the extreme capabilities of the next Xbox and PlayStation consoles--these machines will more closely resemble home media computers rather than game devices. And with flat-screen monitors that double as TVs and cell phones that double as PDAs and MP3 players, the convergence of tech for work and play may reach a crescendo in the next few years.

What does this mean for your business? Maybe you'll return to the heady dotcom days and offer your employees a game console for break times. After all, you can also use it to play back video and digital photos in meetings. And a cell phone that plays music could be handy in traffic, but one that plays MP3s of the latest business audio book can also keep you informed on the go. So don't pooh-pooh the latest consumer devices as having no potential for business use--with a little imagination, you can mix business and fun.

2. Prepare to Get Mini

The mini computer packs a full-fledged PC into a package the size of a laptop battery, and can be used at your desk or as a portable computer--they're smaller than the slimmest laptops, and they don't have the limited capability of a PDA. And they come equipped with all processing power, memory and ports you'd expect in a regular computer, minus the bulk and weight. Some have docking cradles and can be used as tablets, while others feature slide out screens, but they're all small enough to be able to slip into a purse or pocket. Unfortunately, they're still cost prohibitive: A mini PC can cost as much as $4,000, whereas a regular computer with the same processing power can be purchased for less than $500. At this point, mini PCs are really a fashion statement for the ultimate early adopter, but keep your eyes peeled because once prices drop, they could change the way that everyone does business out of the office.

3. Next Gen Cell Phones

3G, or third-generation, cell phone networks are popping up all across the country. And they're not just for making phone calls. Current releases offer a variety of capabilities, including on-demand video services that let you watch streaming video clips on your phone, built-in camcorders that record video, still cameras to snap pix, MP3 players to play your favorite music, and mini SD cards, Memory Sticks or Multimedia Memory Cards to save and transfer it all between devices. 3G Smartphones sport mini keyboards to save your thumb from cramping up during marathon text message sessions, feature Windows Mobile OS and can be Bluetooth or Wi-Fi-enabled. GPS-equipped cell phones also just made their debut. Use them to get driving directions while on the road or to keep track of employees.

4. Inventory Gets Smart

Radio Frequency Identification (RFID) embeds tiny data-packed radio transceiver chips into all kinds of goods and containers. Like a talking bar code, an RFID chip can talk to a scanner several feet away and tell it far more than a printed label, even from inside an unopened carton. The technology has been around for decades, but has only recently come into use. The Department of Defense and Wal-Mart are already taking advantage of RFID. Once pricing gets friendlier and some standards are worked out, the technology will trickle down to smaller retailers and businesses.

"When transportation companies begin reading carton and pallet tags as shipments are loaded, transferred and delivered, this could provide smaller retailers with the same level of tracking that UPS and FedEx provide," says Bert Moore, director of IDAT Consulting and Education, a Pittsburgh technology consulting firm. "Better tracking will allow managers to better schedule work flow and inventory."

3 0
3 years ago
Respond to the following in three to five sentences. Select the workplace skill, habit, or attitude described in this chapter th
Serjik [45]

A skilled and successful worker is any worker who has special skill, training, knowledge, and (usually acquired) ability in their work. A skilled worker may have attended a college, university or technical school. Or, a skilled worker may have learned their skills on the job. Examples of skilled labor include engineers, software development, paramedics, police officers, soldiers, physicians, crane operators, truck drivers, machinist, drafters, plumbers, craftsmen, cooks and accountants. These workers can be either blue-collar or white-collar workers, with varied levels of training or education.

1. They Think About the Skills They Need for the Next Job

We all (OK, most of us) try to be awesome at the skills in our job descriptions, but the most successful people also focus on what they’ll need to know to succeed in their next jobs. Not sure what skills you should be developing? Check out career expert Laura Katen’s tips for honing in on exactly what to reach for next.

2. They Speak Up in Meetings

Especially if you’re in a large meeting, intimidated by the higher-ups there, or don’t know much about what’s going on, it’s easy to sit tight and listen. But the people who get ahead don’t wait for permission or an invitation to speak—they make sure everyone in the room knows they have something to contribute. Even if you don’t have a suggestion? “Speaking up to advocate for a co-worker’s point of view or asking a well thought-out question can go just as far,” says leadership coach Jo Miller.

3. They Dress for the Job They Want

You’ve heard it a thousand times—but it consistently holds true. People who get ahead at work look to those above them and emulate not only the clothes they wear, but the ways in which they present themselves in the office, interact with others, and approach their work.

4. They Get to Know the Higher-Ups

It’s pretty hard to get promoted if your boss’ boss doesn’t know who you are—so make it a point to get to know the higher-ups in your department. Check out Sara McCord’s tips for talking to your boss’ boss the right way.

5. They Know How to Communicate With Those Higher-Ups

If you’ve ever been in an executive-level meeting, you know that c-suiters communicate a bit differently than the rest of us. So, if you want to make it there someday, it’s key to learn how to talk the talk. Career coach Lea McLeod gives a few tips for getting started.

8 0
4 years ago
Read 2 more answers
The physical parts or components of a computer system is called
liq [111]
The ConputergefvkdevkdegkedgkgxkgwxkzgkfzsjsfzjzsdjszfjwzfhwfwHkdKGWsqkgddaqhkdqakgQdgkQGgqzdgzkqdhqkfzqkhqczljaxhlcwzhlzchaxlhwxgkwdgkwdwkzgzmgzgkwdgmwzdgzwkdamxadmhfzahm
8 0
3 years ago
Read 2 more answers
An interactive online representation of geospatial data, which can be accesses via a Web browser is a(an): a. Web Application b.
Mashcka [7]

Answer: Web Map

Explanation:

7 0
2 years ago
What number will be output by the console.log command on line 5?
anzhelika [568]

Answer:

E

Explanation:

If you follow the line of code and add 1, 2, and then 3, 10 + 1 + 2 + 3 = 16.

7 0
3 years ago
Read 2 more answers
Other questions:
  • A(n) ________ network is a computer network that spans a relatively small area, allowing all computer users to connect with each
    14·1 answer
  • How to find something in the cloud?
    8·1 answer
  • Why is the wizard able to install the printer when an actual print device is not connected to the computer??
    11·1 answer
  • Describe the effects technology, particularly computers, has had on mechanical labor.
    8·1 answer
  • Use the drop-down menu to complete the sentences about the benefits of flowcharts.
    5·1 answer
  • Define operator precedence ? explain with an example.​
    13·1 answer
  • Backing up your data on a regular basis is a part of the
    14·2 answers
  • Which computer language uses short words known as mnemonics for writing programs?
    14·1 answer
  • In the chemical reaction of baking cookies, the product is?
    11·1 answer
  • Service provided by multiple servers acting in parallel is referred to as: a. Multiple-phase queuing system b. Multiple-channel
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!