Answers

Answer 1

Answer:

To convert integer to binary, start with the integer in question and divide it by 2 keeping notice of the quotient and the remainder. Continue dividing the quotient by 2 until you get a quotient of zero. Then just write out the remainders in the reverse order.

Explanation:


Related Questions

Question 17 of 40
What should you do before an interview?
A. Come up with one or two questiono for the Interviewer.
B. Eat a large meal.
C. Study as if for a final.
D. Stay up late the night before trying to guess what the interviewer
will ask.

Answers

C.

Because when you are getting interviewed you need to first study up on what you'd say!

Answer:

I think A

Explanation:

because need a question before your interview

python
Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in binary. For an integer x, the algorithm is:
As long as x is greater than 0
Output x % 2 (remainder is either 0 or 1)
x = x // 2
Note: The above algorithm outputs the 0's and 1's in reverse order. You will need to write a second function to reverse the string.
Ex: If the input is:
6
the output is:
110
The program must define and call the following two functions. Define a function named int_to_reverse_binary() that takes an integer as a parameter and returns a string of 1's and 0's representing the integer in binary (in reverse). Define a function named string_reverse() that takes an input string as a parameter and returns a string representing the input string in reverse.
def int_to_reverse_binary(integer_value)
def string_reverse(input_string)
main.py
# Define your function here.
if __name__ == '__main__':
# Type your code here. Your code must call the function.

Answers

The program illustrates the use of loops .

Loops are used for operations that must be repeated until a certain condition is met.

How to write the program?

The program written in Python, where comments are used to explain each action is as follows:

#This defines the int_to_reverse_binary function

def int_to_reverse_binary(integer_value):

   #This initializes the string output

   strNum = ""

   #The following loop calculates the string output

   while (integer_value > 0):

       strNum += str(integer_value % 2)

       integer_value //= 2

   #This passes the string output to the string_reverse function

   string_reverse(strNum)

#This defines the string_reverse function

def string_reverse(input_string):

   #This reverses the string

   strRev = input_string[::-1]

   #This prints the reversed string

   print("Binary number:",strRev)

# The main begins here

if __name__ == '__main__':

   #This gets the decimal value

   dec_val = int(input("Decimal value: "))

   #This calls the int_to_reverse_binary function

   int_to_reverse_binary(dec_val)

   

Read more about Python programs at:

https://brainly.com/question/24833629

Patricia Works in a coffee shop and manages the inventory of items.for each item she needs to recover the quantity in stock and quantity sold how should she maintain the data

Answers

Answer:

store quantity in stock and quantity sold in a single cell

Explanation:

10) ________ objects control the flow of the application. A) Boundary B) Utility C) Control D) All of the above

Answers

There are different kinds of applications.  Control objects control the flow of the application.

What works the flow of control in a program?

In computer, control flow or flow of control is known to be a type of an order function calls, instructions, and statements.

They are known to be used in the execution or in an evaluation when a specific program is running. Note that a lot of programming languages have the control flow statements, that helps to know the section of code is run in a program at any given time.

Learn more about application from

https://brainly.com/question/23275071

____ is a very fast network media. It contains multiple (sometimes several hundred) clear glass or plastic fibers, each about the thickness of a human hair. Each fiber has the capacity to carry data for several television stations or thousands of voice conversations, but each fiber can only send data in one direction. Data sent over a fiber-optic cable is represented by light pulses and is sent at speeds of up to trillions of bits per second

Answers

Fiber optic cable (FOC) is a very fast network media and it comprises multiple clear glass or plastic fibers.

What is a fiber optic cable?

A fiber optic cable can be defined as a type of wired connector which are either made of glass or plastic and they are typically used for connecting one network device to another, so as to form a computer network and enable the continuous transmission of data between them.

In Computer technology, fiber optic cables (FOCs) are commonly produced through the use of several concentric layers of transparent material such as glass or plastic, with each having a slightly different index of refraction for light waves and about the thickness of a human hair.

Read more on fiberoptic cables here: https://brainly.com/question/116766

What are 4 componenetas llk computers have in common

Answers

Answer:

Input, storage, processing, and output.

Explanation:

hope this helps you

What is one major reason various industries have adopted the use of automated robotic assembly?.

Answers

The major reason various industries have adopted the use of automated robotic assembly is to increase manufacturing productivity.

What is automated robotic assembly?

Automated robotic assembly is the use of automotive technology to operate different areas in the manufacturing industries.

Automated robotics are used to perform the following tasks:

welding, assembly,shipping, handling raw materials, andproduct packing.

The reason why various industries have adopted the use of automated robotic assembly is that it saves time and there is increase in the amount of products manufactured that when manually handled.

Learn more about automation here:

https://brainly.com/question/11211656

One new and creative method companies are using to advertise is:
A. stealing people's identities and pretending to be their friend.
B. promoting their products in television advertisements.
c. advertising products on the websites people visit the most.
O D. awarding prizes to users who follow them on social media.
SUBMIT

Answers

Answer:

c. advertising products on the websites people visit the most.

Explanation:

4. is the disappearance of the individual a bad thing?

Answers

Answer:

The program completed in a third of the time with six computers versus one computer.

Explanation:

how does computer science help in dance

Answers

Do not troll, I will be writing you up.

90 POINTS Hazel is working with a database to help determine if the company she works for is making or losing money. Hazel has organized the expenses category from the smallest expense to the largest expense. Which of the following database features has Hazel employed to organize the data?

A.
sorting

B.
filing

C.
nesting

D.
filtering

Answers

Answer:

a

Explanation:

Answer:

it's A  sorting sorry if it's wrong

Explanation:

the term used to describe a memory location whose value changes during the program execution is​

Answers

Answer:

variable

Explanation:

A variable is used to store data and can be changed throughout your program.

qbasic program to convert Nepali rupees into paisa​

Answers

Answer:

INPUT "What is the amount of rupees you want converted into paisa"; rupees

paisa = rupees*100

PRINT paisa

Explanation:

done in QBASIC
the semicolon in the 1st line makes the question have a ? at the end. the rupees key word in the 1st line saves the input as a variable

then the second line multiplies by 100 since there are 100 paisa in 1 rupee

Web résumés allow you to include extra graphics and images that you would not include in a traditional résumé. Please select the best answer from the choices provided T F.

Answers

A web resume is far better than a traditional resume because it can carry so much data about the person, and it includes images also. This statement is true.

What is a web resume?

A web resume is termed as a resume that is read by a computer program that summarizes the information of each employee.

Web resume has the data such as their parent name, education, skills, job experience, hobbies, languages, and so on.

Thus, the photo of the document about the project or internship that has been done in the past can be given on the web resume by uploading the certificate on the computer system along with the resume.

For example, in companies like Linkedin, apna, and so on there are many companies that ask about the person before creating an account.

More about the web resume link is given below.

brainly.com/question/862477

Answer:

true

Explanation:

Which of these can be a problem for people with accessibility issues? Select 4 options.

using left-aligned text

using an image instead of text

using all uppercase text

putting two spaces after a period

flashing images

Answers

The option that has can be a problem for people with accessibility issues is flashing images.

What visuals can lead to seizures?

There are different kinds of Triggers. In television screens or computer monitors this issue can occur as a result of a  flicker or rolling images.

Note that some video games or TV broadcasts has rapid flashes or alternating methods of different colors and as such may have accessibility issues is flashing images.

Learn more about  accessibility issues  from

https://brainly.com/question/26848886

Answer:

using all uppercase text

putting two spaces after a period

using an image instead of text

flashing images

Explanation:

Those are the four answers.

Which of these is most likely to contribute to the long term of a local ecosystem?

Answers

i would help but you didn’t say what these is

Spammers can defeat the registration process of free email services by launching a coordinated attack that can sign up for thousands of untraceable email accounts. what is this type of attack known as:_____.

Answers

Answer:

DDOS OR DOS

Explanation:

im sure its either DOS or DDOS(distributed denial of service)

What standard tcp port is reserved by iana for the openvpn service to operate on?

Answers

Answer:

1194 is the OpenVPN port reserved by the IANA

Explanation:

A router is connected to a network 192.169.1.0/24 and network 192.168.2.0/24. The router is configured to use RIP and has learned of networks 192.168.3.0/24 and 192.168.4.0/24. The router is also configured with a static route of 0.0.0.0 with a mask of 0.0.0.0. The router receives a packet addressed to the network 10.1.0.0/16. What will the router do with the packet.

Answers

Answer:

Forward the packet to the next hop router specified by the route network 0.0.0.0

Explanation:

starting a computer after it has been turned off is term as​

Answers

Answer:

Booting

Explanation:

i really need the answer now!!

3. Which is the path through which an electric current flow? *
1 point
A. close circuit
B. electric circuit
C. parallel circuit
D. series circuit
4. Which of the following is a device that acts as an automatic switch that opens the circuit if too much current flows through it? *
1 point
A. battery
B. circuit breaker
C. switch
D. volts
5. Which statement is true about parallel circuit? *
1 point
A. All parts are connected in a single path.
B. Current flows through more than one path.
C. Same amount of current passes through each load.
D. One electrical device goes out, the rest will not work anymore.
6. Which of the following can cause electrical fire? *
1 point
A. Play with the switches.
B. Insufficient supply of current.
C. Excessive current may overheat the wires.
D. Turn off the appliances when nobody is using it.
7. How many volts of electric energy do the outlets in the Philippines commonly have? *
1 point
A. 50 to 100 volts
B. 100 to 150 volts
C. 110 to 150 volts
D. 200 to 220 volts
8. When a short circuit takes place, the fuse wires melt and break __________? *
1 point
A. battery
B. breaker
C. circuit
D. wires
9. Which of the following shows the proper way in using electricity? *
1 point
A. Use damaged appliances.
B. Use overloaded extension wires.
C. Turn off the lights when not in use.
D. Plug appliances when nobody left in the house.
10. Gemma ironed their clothes. She stopped it when she smells burnt wires. Why did she stop ironing the clothes? *
1 point
A. Check if the extension wire is in good condition.
B. Search any busted bulb or outlet.
C. Find the burnt wires.
D. All of these

Answers

Answer:

3. B.

4. B.

5. B.

6. C.

7. D.

8. C.

9. C.

10. D.

Explanation:

I hope I helped you.

PLS HELP MEE it's due in 2 minutes​

Answers

The answer is False, Double entry is a type of verification when you enter something 2 times to ensure it matches the original source.

75 POINTS!!
PLS HURRY
Choose the term that best completes each sentence.
___are intentional attacks on a system with the intent to do harm.
a. cyberthreats
b. malware
___ may be intentional like a virus or unintentional like a fire or human error.
a. cyberthreats
b. malware

Answers

Malwares are intentional attacks on a system with the intent to do harm.

Cyberthreats may be intentional like a virus or unintentional like a fire or human error

Hope that helps!

HURRY IM TAKING A TEST, WORTH 50 POINTS
Bar graphs compare values across categories using BLANK to display their information Fill in the blank:
1 Lines
2 Colums
3 Maps
4 Circle

Answers

Answer: Colums

Explanation:

Quizlet

Answer:

the answer your looking for is 2/B columns

Explanation:

What happens when an auditory system and computing system are connected by abstraction?
A. They convert sound signals Into data that can be used to tell a device how to function.
B. They allow blological abstractions and computing systems to filter data.
C. They analyze data from both systems so only doctors can uno medical devices. D. They separate Input and output data from one another. ​

Answers

Answer:

It's A. They convert sound signals Into data that can be used to tell a device how to function.

Explanation:

08. Consider the following four binary numbers.
11100111
10101010
11110000
11001100
Which of the following displays the numbers in ascending order?
(A) 10101010, 11001100, 11100111, 11110000
(B) 11110000, 11100111, 11001100, 10101010
(C) 11100111, 10101010, 11110000, 11001100
(D) 10101010, 11001100, 11110000, 11100111

Answers

Answer: A
Explanation: If you convert the binary into decimal
you can easily determine the order from least to
greatest. In this instance of "a," we have 170, 204,
231, 240.

how does salmon brown’s account compare to frederick douglass’s account? to what extent do they agree or disagree?

Answers

The  approaches of John Brown and Frederick Douglass had some similarities and differences. When compared,  the men were said to have fought for its eradication but were said to have used different drastic process.

They agree in terms of what they stood for but differs in terms of the approach used.

What is the role of the two men above?

Note that Douglass as a writer, orator, and statesman was said to have been focused on changing some of the policy.

While Brown on the other had is known to be  radical in nature , who was known to stand for violence. With the use of a small army, he was said to have pioneered some multiple rebellions and aided a lot of people escape bondage.

Learn more about bondage from

https://brainly.com/question/24513713

Is this code object-oriented, or is it procedural? what clues in the code itself did you use to determine what kind of code it is?

based on your reading of the code, what do you think the code is creating or simulating? what are the "objects" in the code line, and to what "class" do they belong?

imagine you wanted to tweak the project so that the list produced by the program included teachers and kept track of how many years they have been working at the school. using the principles of inheritance and overriding, explain how you could take this code and quickly create the new programs.

how could you apply some of the ideas, principles, or structures of coding to fields of study, industries, or tasks outside of creating computer programs? propose at least one way to use "coding" or creating programs outside of computer science and explain how it uses coding-related concepts.

what are the benefits of having access to modern ides that earlier programmers wouldn’t have had?

Answers

An Object-Oriented code or coding refers to a technique of programming that utilizes the identification of classes of objects that are closely tied to the functions with which they are related.

What is a Procedural Oriented Code?

This refers to a kind of programming language that utilizes a step-by-step method so as to break down a task into a set or a collection of factors or variables and routines or sub-routines using a set of instructions that are sequential.

Objects in programming refer to a type of abstract data that has a state and behavior. It is a specific instance of a class.

A class in programming is a templated definition of the techniques and variables of a certain type of object.

What are some of the principles and structures of coding?

There are 10 principles of coding. Some of them are:

Keep it simpleSeparate concernsDocument your Code etc.

Some of these principles can be used in normal day-to-day activity and even in business. item 1 for instance can be used during communication.  Effective communication is more effective when it is kept very simple.

It is to be noted that the code referenced in the question is unavailable hence the general answer.

Learn more about Object-Oriented Code at:
https://brainly.com/question/4560494

Which of the following best describes your sequence of actions when developing a web page?

Selected:a. Save the HTML file, Edit the HTML file, review the results, load the HTML file into the web browserThis answer is incorrect.
b. Edit the HTML file, save the HTML file, load the HTML file into the web browser, review the results
c. Review the results, save the HTML file, load the HTML file into the web browser, edit the HTML file
d. Load the HTML file into the web browser, edit the HTML file, review the results, save the HTML file

Answers

Answer:

I think D

Explanation:

Answer:

B

Explanation:

Saving it, then editing it wouldn't load the new changes

but editing it than saving it, would load the new Changes

When preparing your taxes, what can possibly help
reduce the amount of taxes that you owe?
Stock and savings interest
Sharing what you earned on a W-2 or 1099 form
Having stock dividends
Credits and deductions

Answers

When preparing your taxes, what can help is Sharing what you earned on a W-2 or 1099 form.

What are some expenses that can be taken as a tax deduction?

Note that a  person's Office supplies, credit card processing fees, tax preparation fees, etc., are some expenses that are taken as tax deductions.

Conclusively, Taxes are some amount of money taken by the government from our income. By Sharing what you earned on a W-2 or 1099 form, one can know the amount you earn.

Learn more about taxes from

https://brainly.com/question/25783927

Answer:

When preparing your taxes, credits and deductions can possibly help reduce the amount of taxes that you owe.

Explanation:

Other Questions
Which president is responsible for finally establishing black history as a month-long event? Accrued Revenues are a/ana. Assetb. Liabilityc. Revenued. ExpenseAccrued Expenses are a/ana. Assetb. Liabilityc. Revenued. Expense what is the mean of 13,5,11,8,14,15 Mark has two summer jobs he babysits and helps with the gardening he works at each job three days a week and I was a total of 240 Mark has two summer jobs he babysits and helps with the gardening he works at each job three days a week and I was a total of 240 the table shows his earnings each day how much money does he earn each day babysitting What is 8x25 to ding out the answer pleasePlease I need help please help Energy-efficient jobs are growing! One job includes being a conservation scientist, which is part of the STEM job cluster. What is the best definition for a conservation scientist?A. manage, improve, develop new machines to cook faster and more evenly.B. develop, document, and research new ways to move people into careers of interestC. manage improve, and protect natural resources to maximize their use without damaging the environment. If the composer notes that the piece should be played presto, they mean for it to be played very fast.OA. TrueOB. False A taxi ride cost a flat fee of 4. 00 plus an additional 1. 25 per mile how many mile would a person travel if they paid 19. 0 18.Given that sin x =8and sin y = , where x and y are acute, find the value of cos (x + y).17A.B.13022114022114020422022C.D. Convert 68% As a fraction A customer opened a file attachment and now her pc is infected with ransomware Which subtraction equation shows how to subtract 42122812 using equivalent fractions? A. 42122812 B. 18122212 C. 50123212 D. 48122412 What is the name given to hills with flat tops and steep sides located in the Badlands of the Midwest region? I have worked in the field for many years and have a strong background in the field . why is sentence ineffective? 2 Which set of side lengths will form a triangle?16 ft, 4 ft, 21 ft.6 30 ft, 30 ft, 60 ft12 ft, 12 ft, 20 ft3ft, 5 ft, 10 ft True or false? Prokaryotic cells are significantly smaller then eukaryotic cells.Answer: False He said to her "was I really that easy to forget" Convert the sentence into indirect speech! Blake went shopping for a new pair of pants because of a sale. The store was offering a 10% discount. If the price on the tag was $40, what would be the price after the discount but before tax, to the nearest dollar and cent?Please don't send a link! What is question c in the question? PLS HELP OMG I CANT FIND ITGiven a graph for the transformation of f(x) in the format g(x) = f(x) + k, determine the k value.Fix)X0-910k= -3k = 3k = 5k = 8graph below pls help