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
stira [4]
4 years ago
5

Sally needs to teach her class how to convert a decimal number to a binary number. What is the first step she should take to sta

rt the process? A. divide the decimal number by the base value 2 B. collect the digits in the reverse order C. note the remainder separately D. divide by 2 until she gets 0 as the remainder
Computers and Technology
1 answer:
Alborosie4 years ago
6 0

<u>Answer:</u>

  • <em>A. divide the decimal number by the base value 2</em>
  • <em>C. note the remainder separately</em>
  • <em>D. divide by 2 until she gets 0 as the remainder</em>
  • <em>B. collect the digits in the reverse order</em>

<u>Explanation:</u>

When we want to convert decimal number to a binary number first we have divide the given number by 2. The next step is to note the reminder of the number in the side every division so that the reminder value is the binary value. Repeat this until an zero is encountered.

We have to collate all the remainders from last of first and then the collated number is the answer for the given problem.

<em>So the given option can be ordered as, </em>

  • <em>A</em>
  • <em>C</em>
  • <em>D</em>
  • <em>B</em>
You might be interested in
For an alternative to the String class, and so that you can change a String's contents, you can use_________ .
mr_godi [17]

Answer:

c. StringBuilder

Explanation:

An alternative to the String class would be the StringBuilder Class. This class uses Strings as objects and allows you to mix and match different strings as well as adding, removing, implementing,  and modifying strings themselves as though they were similar to an array. Unlike the string class StringBuilder allows you to modify and work with a combination of strings in the same piece of data as opposed to having various objects and copying pieces which would take up more memory.

7 0
4 years ago
The operations planning practice of inputting sales forecasts into computer software that accurately predicts the amount and tim
netineya [11]

Answer:

"Materials requirement planning" is the correct answer for the above question.

Explanation:

  • The "Materials requirement planning" is a software system that is used to hold the record of the raw materials.
  • It is used to tell about the material which is present in the stocks. It also used to schedule the delivery.
  • This software is used to enhance the productivity of the company.
  • The above question asked about the software which is needed to keep the record of the raw material. This software is known as "Materials requirement planning".
3 0
3 years ago
for my assignment 2: Room area assignment, I keep getting a negative number for room 2, and I don't know why I'm getting the wro
ivann1987 [24]

Answer:

The program in Python is as follows:

A = int(input("Side A: "))

B = int(input("Side B: "))

C = int(input("Side C: "))

D = int(input("Side D: "))

E = int(input("Side E: "))

A1 = A * B

A2 = (D - B - E)*(A - C)

A3 = 0.5 * E * (A - C)

Area = A1 + A2 + A3

print("Area:",Area)

Explanation:

One reason, you're getting a negative answer is that you probably entered a greater value for side C than A. Side A is meant to be greater than side C. Since the program do not need to be validated, you have to be careful with your inputs.

Another reason could be that your program is incorrect.

Get input for sides A to E

<em>A = int(input("Side A: "))</em>

<em>B = int(input("Side B: "))</em>

<em>C = int(input("Side C: "))</em>

<em>D = int(input("Side D: "))</em>

<em>E = int(input("Side E: "))</em>

Calculate rectangle area 1 (A1)

A1 = A * B

Calculate rectangle area 2 (A2)

A2 = (D - B - E)*(A - C)

Calculate the triangle area 3 (A3)

A3 = 0.5 * E * (A - C)

Calculate the total area

Area = A1 + A2 + A3

Print the calculated area

print("Area:",Area)

7 0
3 years ago
The term asymptotic means the study of the function f as n becomes larger and larger without bound.
harkovskaia [24]

Answer:

False

Explanation:

The term asymptotic means approaching a value or curve arbitrarily closely

5 0
3 years ago
Pick two programming languages. Please describe: - The major differences between those two languages; and - If you were assessin
kiruha [24]

First language : JAVA

Second Language : C++

Major Difference :

1. Platform Dependency :

Java is platform independent which means that its code can be run on any machine. It uses JVM ( Java virtual machine ) which converts the code in byte form and then run it which makes it flexible enough to be used on any system. So .exe file can run on any OS.

C++ is not platform independent and thus its .exe file  cannot be run on different OS.

2. Objects

In JAVA everything is reference typed and is inherited from the class objects that are predefined in it.

In C++ not everything is class or reference typed.

3. Garbage Collector

Java has built in garbage collector when we use classes in java.

C++ make developer to collect garbage when he uses reference types like pointers.

Why choose Java and C++ ?

People are very confused about the platform in-dependency of JAVA, so i decided to choose Java and compared that concept with c++ which is mother of all languages.

8 0
4 years ago
Other questions:
  • Read the scenario, A manager wants to hire a new technician for the help desk that typically assists clients with simple compute
    10·1 answer
  • Individuals who require better speed and performance for graphics-intensive applications (e.g., video editing, gaming, etc.) pre
    8·1 answer
  • Print "Censored" if userInput contains the word "darn", else print userInput. End with newline. Ex: If userInput is "That darn c
    14·1 answer
  • True or False. Over the past few years, the hacking community has engaged in more "lone wolf" types of hacking activities as opp
    7·1 answer
  • Write a C function which takes three parameters which are the cost for an item in a grocery store, the quantity to buy, and the
    12·2 answers
  • This is for career exploration, I need help please! &lt;3 HELPPPP
    8·2 answers
  • THIS IS FOR MY FINAL PLEASE HELP
    6·1 answer
  • The main difference between \f and \r is that \f produces a
    13·1 answer
  • What should software firm design for the VR sample at Museum?
    5·1 answer
  • What are the key constructs of a G&amp;T Value Delivery objective?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!