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
Flauer [41]
3 years ago
8

Design an algorithm to convert a decimal number, n, to binary format?

Computers and Technology
1 answer:
Fudgin [204]3 years ago
8 0

An algorithm that would convert a decimal number n to binary format must have at least 16 commands.

<h3>What is an algorithm?</h3>

An algorithm is a term to refer to a series of sequential instructions that allow actions or programs to be executed. It is an indispensable tool for the digital world because it is the basis for technology.

An example of an algorithm to convert from decimal numbers to binary format would be:

Process Decimal_bin

Define decimal as Integer;

Define binary as Character;

Define modulus as Integer;

Define aux as Integer;

Write 'Enter the decimal number';

Read decimal;

aux<-decimal;

binary<-'';

While decimal>0 Do

 modulus<-decimal MOD 2;

 binary<-Concatenate(ConvertToTex(modulus),binary);

 decimal<-trunc(decimal/2);

FinWhile

Write binary;

EndProcess

Learn more about algorithm in: brainly.com/question/21970419

You might be interested in
Renee's creating a plan for her business's information system. What should she do after she determines the goals for her busines
Sever21 [200]
The correct answer is letter D, determine how applying information systems will increase her business opportunities. 

This is the smartest and the best step that she can take in order for her to increase her profits from her business. When here profits have increased, it is already easy to figure out the next steps on how she can expand her company. 
5 0
3 years ago
____ are systems in which queues of objects are waiting to be served by various servers
Ksju [112]

Answer: Queuing systems

Explanation:

We have  the queuing theory which gives us the in depth knowledge of queuing systems which helps us to predict the queue length and the waiting time at the respective nodes in an network. A group of queuing systems together constitute the queuing network. The queuing theory helps to cope with the demand of various services in an queuing network composed of queuing systems.

4 0
3 years ago
What is an objective of state-sponsored attackers?
Keith_Richards [23]

Answer:

The correct answer is 2. To Spy on citizens

Explanation:

State-sponsored attackers have particular objectives aligned with either the political, commercial or military interests of their country of origin. Investigation shows that “the reality is that if a determined, state-sponsored adversary wants your data, they’re going to get it unless another state-sponsored entity helps you defend it.”

7 0
3 years ago
User-system interaction is?
Mandarinka [93]
A multidisciplinary, post-Master<span> educational program which provides practical training in the field of </span>human-computer interaction and user interface design<span>.</span>
8 0
3 years ago
What is the keyboard shortcut to display the merge to printer dialog box?
sp2606 [1]
Alt + Shift + M are the keyboard shortcuts to display the merge to printer dialog box.
3 0
3 years ago
Other questions:
  • Operating system software allows you to use your fingers, a mouse or other pointing device to select screen controls, such as bu
    5·2 answers
  • Why are video texts an example of multimedia? A. They use audio and visual elements together. B. They use one type of medium to
    13·2 answers
  • Jeremy, a college student, is preparing to give a speech on "Social Responsibilities." He refers to a Web page on a tab using
    10·1 answer
  • Consider the following classes: public class A { private int myNum; public A(int x) { myNum = x; } public int getNumber() { retu
    11·1 answer
  • How to copy single slide to powerpoint
    15·1 answer
  • Object-oriented programs employ a group of techniques for handling errors called ________ handling.
    12·1 answer
  • Write a program that reads raw data from a file that contains an inventory of items. The items should be sorted by name, and the
    12·1 answer
  • What means the data is still saved even if you turn the computer off or unplug it?​
    5·1 answer
  • I dont uderstand dis my teacher no helping pls help me i need to understand TEch
    10·1 answer
  • Create a basic program that accomplishes the following requirements: Allows the user to input 2 number , a starting number x and
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!