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
svlad2 [7]
3 years ago
9

Write an algorithm and draw a flowchart to count the digits present in the given integer. ​

Computers and Technology
1 answer:
saul85 [17]3 years ago
8 0

Answer:

The algorithm is as follows:

Input number  

count = 0

while(number not equal 0)

   number = number / 10

   count = count + 1

end

Print count

Explanation:

This gets input for the integer number

 Input number  

This initializes count of digits to 0

count = 0

The following loop is repeated while number is not 0

while(number not equal 0)

This performs integer division of the number by 10; the resulting division is saved in variable number

   number = number / 10

The count variable is incremented by 1

   count = count + 1

The loop ends here

end

This prints the count of integers

Print count

<em>See attachment for flowchart</em>

You might be interested in
What is a general term for a type of database which is endlessly and easily scalable without a measurable performance decrease
Andrews [41]

Answer:

<u>Scalable database</u>

Explanation:

Good examples of a scalable database include; NoSQL database, MySQL, Microsoft SQL.

<em>Remember</em>, these databases are called scalable databases because they support memory expansion without a measurable performance decrease.

For example, if the management of a hotel notices that its 1 terabyte computer used to store its security videos is no longer adequate to meet the hotel's expansion, then decide to buy a newer server that can be integrated into the current system. We can say they just applied the concept of scalable databases.

4 0
3 years ago
To make data goes to just appropriate device we use​
Stells [14]

Answer:

To make sure that data sent from a device is just received by appropriate device we use "<u>Switch</u>"  

Explanation:

Switch is the networking device. It is used to connect all the Local area networks in a computer network. The switch store the addresses of all computers over the network. Whenever data packet arrives to the switch, it just read the address of destination computer and just send it to appropriate device instead of all devices.

Hub is also used for this purpose, but it has no ability to read the address and send the packet to all devices over the network.

<em>So, we use Switch to send data to appropriate device.</em>

8 0
3 years ago
In computer programming, what is syntax?
enot [183]

Answer: syntax is a set of rules for grammar and spelling. In other words, it means using character structures that a computer can interpret

6 0
3 years ago
Read 2 more answers
What Is the purpose of coding?
zepelin [54]

Answer:

To give the computer an understanding of what it should do and how that task should be completed. It may look like gibberish, but the computer understands it. (There are also many languages of code)

5 0
3 years ago
Read 2 more answers
G. What are handheld computers? Write its types.​
pav-90 [236]

Answer:

A highly mobile and compact computer, also called a PDA (personal digital assistant), originally built to function as a personal scheduling assistant is called handheld computers.Today, handheld computers frequently provide a convenient connection to the Internet using wireless technology.

industrial portable computers.

portable debarker.

SDIO.

portable VNA.

destinator GPS pocket PC.

medical calculators for pocket PC.

nyse wireless handheld computers.

pu10 pocket PC.

6 0
3 years ago
Other questions:
  • ASAP
    12·2 answers
  • The only requirement of __________ is that the sender must provide some mechanism whereby the receiver can opt out of future ema
    14·1 answer
  • Write a program that allows the user to convert a temperature given in degrees from either Celsius to Fahrenheit or Fahrenheit t
    13·1 answer
  • Okay so I know this is a platform for assignments but I really need a tech expert... So I had a 16 GB SD card and because of eve
    14·1 answer
  • You wish to lift a 12,000 lb stone by a vertical distance of 15 ft. Unfortunately, you can only generate a maximum pushing force
    6·1 answer
  • Which is a good guideline to follow when choosing a background for your slides?. . A. Use a different background for each slide.
    8·1 answer
  • An IP address in the form 197.169.100.1 is called a(n) ________. dotted quad encryption key random number sequential access numb
    7·1 answer
  • Importance of computer education​
    9·1 answer
  • If you are in the Slide Master view, what are the steps to add headers and footers?
    9·1 answer
  • A user can add color to a database to highlight a modification. To do this with a macro, which command screen would you access o
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!