how to count binary ? Help Better understand this question

How To Count Binary ? Help Better Understand This Question

Answers

Answer 1

Explanation:

For each row in the picture, you have to switch on some of the bits to create the number on the left.

Each bit has a value, a "weight" so to speak. By switching on the bit, you add that weight to the sum.

These "weights" are shown at the top row.

So to create 4, it's easy, you just switch on the '4' bit.

Same for 128, only one bit has to be switched on.

40 is a bit more involved, now you have to switch on 32 and 8, since 32+8 is 40.

For every number, there is exactly one combination of switched on bits to create that number. In the case of 40, the binary representation is:

00101000.


Related Questions

Write a program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how many of them are odd.

Answers

Answer:

import random

numbers = []

even = 0

odd = 0

for i in range(100):

   numbers.append(random.randint(1, 200))

for i in range(100):

   if numbers[i] % 2 == 0:

       even += 1

   else:

       odd += 1

print("Even:", even)

print("Odd:", odd)

Explanation:

Gg ez.

Identifies 3 different companies that use Information Systems. Then for each company describe the WHAT the company actually uses, the HOW the company uses it, and the WHY the company needs to implement this system within itself.

Answers

Three companies that use information systems:

IBM:

This company has been using an information management system for transactional and database operations. It was first used in 1968. Till then the system has gone through many modifications as per the changing requirements of the company. The information system used by IBM helps in defining structure for database, an organization for data, query management, database transactions, etc.

Olive:

This company uses a health-based information system. The information system used by this company aims at offering customers and users a regularly updated information base. They can access current research and technical documents. The content is in simple language and accessible in many locations. It gives a portal-like feature that is used to provide data published by experts, key researchers, findings, etc.

Catalyte:

The information system used by this company is a blend of high technology and a diverse workforce. They offer machine learning guided information systems to train candidates, speed up their performance, and generate quality results. Their information systems offer new career options as well as opportunities to develop software using various forums, communities, etc.

The companies that use Information Systems are

Amazon IBMRRE Ventures

How does Ama.zon use information systems?

Ama.zon uses  information systems in a  lot of its business processes as it helps them to have good and improved efficiency in the the area of collection, storage, and analytics of all their customers' information.

Conclusively, IBM uses the information system for:

Keeping of customers information.communicating.Buying and selling etc.

Learn more about  Information Systems from

https://brainly.com/question/14688347

what is a survey? plz hel​

Answers

Answer:

The act of seeing and recording information.

Answer:

a method of collecting data tell me if  i'm wrong or right plz

Explanation:

Explain if a company is responsible for using computer components manufactured using fair trade practices. [9 marks]

Answers

Answer:

Fair trade practices aims at promoting the fair relationships between the buyers and producers. It is a kind of a social movement that makes the producers to provide the better conditions and humane working environment in case of developing countries.

• It also favors and supports the proper and substantial payment to the manufacturers and wages to the labors.

• It is a trading partnership that states the manufacturers to analyze and check their supply sources or resources and provide disclosure if the materials were produced or mined in the areas of conflict or areas of extreme poverty.

Explanation:

can you mark me as brainlist

Answer:

It is a trading partnership that states the manufacturers to analyze and check their supply sources or resources and provide disclosure if the materials were produced or mined in the areas of conflict or areas of extreme poverty.

what are organization tools?

Answers

an app or software created to optimize your daily task performance

Brainliest if correct. 5. if you wanted b show how many employees at your office ride a bicycle to work in
comparison to the number of employees who drive a car, take public transportation,
or walk wihat visual would be best? (1 point)

Answers

Answer:

I believe a bar graph would be best for me. What are your answer options though?

Explanation:

Your job is to protect your company's information assets. What security objectives
should you address?
1) Assets, liabilities, and threats
2) Common vulnerabilities and exposures
3) Confidentiality, integrity and availability
4) Risks, threats and vulnerabilities

Answers

Answer:3

Explanation: The CIA Triangle is the basis of all Security related needs.

check image dont answer if you dont know please

Answers

Answer:

Explanation:

1-2nd option

2-1st option

3-last option

hope this helps!! have a good rest of ur day!! <3

Complete the sentence based on the given information.

______ are responsible for analyzing the client business model, whereas _____ are responsible for identifying errors in the software product to confirm that it meets the client model.

Answers

Answer:

blank answer so brainly doesnt delete your question.

Explanation:

Responsible manner in video and audio conferencing​

Answers

Answer:

1.Mute yourself when not speaking.

2.Be on time.

3.Ensure your technology works correctly.

4.Use technology to fully engage remote participants.

Explanation:

A Product Manager has been given responsibility for overseeing the development of a new software application that will be deployed to a group of Accenture clients.

What would be the most time-saving and cost-effective way for the Product Manager to address the new application’s security considerations?


Utilize a DevSecOps approach to incorporate security into the development process from the beginning.


Schedule development of security features after the application’s initial release.


Design the application’s security features after the application’s initial build is complete.


Contract with an external vendor to develop a security solution separately from the main application.


I don't know this yet.

Answers

There are different software that has been developed today. The most time-saving and cost-effective way is to Design the application’s security features after the application’s initial build is complete.

Accenture is known for their work in improving business needs. They are constantly shifting to a new method of delivering information technology.

They are known to embed security into the product development life cycle helps secure the business and also keeping speed and assisting to remove friction.

Learn more about Accenture from

https://brainly.com/question/25737623

a
2 A car is fitted with the latest GPS navigation system. This device is controlled
by an embedded system in the form of a microcontroller.
Describe the inputs needed by the embedded system and describe which
outputs you would expect it to produce.
b Since updates to the GPS device are required every six months, explain how
the device is updated without the need to take the car to the garage every six
months.

Answers

Answer:

It probaly connected to the internet in some way to resieve updates

Hope This Helps!!!


• R7.9 Write enhanced for loops for the following tasks.
a. Printing all elements of an array in a single row, separated by spaces.
b. Computing the maximum of all elements in an array.
2. Counting how many elements in an array are negative.

Answers

Answer:

a is the correct answer

Explanation:

correct me if I'm wrong hope it's help thanks

Diane, a developer, needs to program a logic component that will allow the user to enter a series of values

Answers

The Examples Of Users:FormTableQueryThe Answers Are:Formatted summary of information from a database

User-friendly interface for adding to or retrieving information from a database

Stores raw data in a relational database

Retrieves specific information from a database. Can also be used to update, edit, and remove dataHope it helps*^-^*All Correct!?

What is a shell programming? Write a shell program to get the following details from the student: NAME, AGE, USN and GENDER. Output all the details to the terminal and also display message whether the student is eligible to vote or not

Answers

Shell programs are computer programs designed to run on the Unix/Linux shell

The shell program where comments are used to explain each line is as follows:

#This gets input for NAME

read NAME  

#This gets input for AGE

read AGE  

#This gets input for USN

read USN

#This gets input for GENDER

read GENDER

#This prints the name

echo "Name: $NAME"

#This prints the age

echo "Age: AGE"

#This prints the usn

echo "USN: USN"

#This prints the gender

echo "GENDER: $GENDER"

#The following if condition determines, if the user is eligible to vote or not

if [ $USN -gt 50 ] then

echo "You are not eligible"

else

echo "You are eligible"

Read more about computer programs at:

https://brainly.com/question/13795586

(a) Explain what the following Java components are used for.JListJFrameFLowLayoutJpanelJFrameEventListener(b) Write simple Java codes to illustrate how each one of the above components are implemented.​

Answers

Answer:

Welcome to Gboard clipboard, any text you copy will be saved here.

C++
see attached file for quesion

Answers

The picture doesn’t load.

If a client must wait too long for software that works, he might attempt to add requests for more and more features to be added to the program. This is known as ________.

Answers

Answer:

scope creep

Explanation:

13) You notice that the row labels in your spreadsheet are 1, 2, 3, 8, 9.
Row labels 4 through 7 are missing. What could cause this?

Answers

Possible reasons for missing out row 4 to 7 are as follows,

Chance of rows from 4 to 7 contain incorrect/ non formatted data.Chance of rows from 4 to 7 are in hidden state.Chance of rows from 4 to 7 are assigned to some other user which does not belongs to your current user.Chance of rows from 4 to 7 were deleted from the sheet.

These are all the possible reasons for missing of row 4 to 7.

Learn more:  https://brainly.com/question/24504878

You are given an array of integers. Your task is to create pairs of them, such that every created pair has the same sum. This sum is not specified, but the number of created pairs should be the maximum possible. Each array element may belong to one pair only.

Write a function

class Solution public int
solution (int[] A); }

that, given an array A consisting of N integers, returns the maximum possible number of pairs with the same sum.

Examples:
1. Given A = [1, 9, 8, 100, 2], the function should return 2. The pairs are (A[0]. A[1]) and (A[2], A[4]); the sum of each pair is 10.
2. Given A = [2, 2, 2, 3], the function should return 1. Although, for instance, A[0]+A[1] = A[0]+A[2], the pairs (A[0], A[1]) and (A[0], A[2]) cannot exist at the same time, because they both contain a common element, A[0].

Answers

Complete PYTHON code with explanation:

def solution(nums):

# form a dictionary which will store

# the possible pair's sum as key and the indexs used for the sum

sumAndpair = {}

# for every element in list nums

for i in range(len(nums)):

# iterate on all the element to the right of current element

for j in range(i+1,len(nums)):

# calculate the sum of current 2 elements

sum = nums[i] + nums[j]

# if the sum is already in the dictionay

if sum in sumAndpair:

# check if the current index have already been used

# if yes, then continue to next iteration

# this will make sure that same number have not been used more than once

if i in sumAndpair[sum] or j in sumAndpair[sum]:

continue

# if no, then append the current i and j to the value of current sum

else:

sumAndpair[sum].append(i)

sumAndpair[sum].append(j)

# if the current sum is not in the dictionary

# add the sum as key with a list of index used

else:

sumAndpair[sum] = [i, j]

# copmpute the maximum possible number of pairs with the same sum

# which will be the maximum length value out of all the possible sum

# this maximum length will be divided by 2, since a pair of i, j contrinute to one sum

maxLength = 0

for key, value in sumAndpair.items():

if maxLength

I have a D in one of my majors, I got a lot of 70s and I'm failing music. im in middle school. Will I be held back? Please answer this

Answers

Answer:

probably sorry it will be okay

Depends on where you’re from and what grading scale is used. I wouldn’t say you’re ruined if you push hard the rest of the year.

I really need help with this question! Please help!

Answers

Answer:

(C) Emma goes to sleep late and does not set an alarm.

Explanation:

Decomposing a problem is setting a back drop inference as to (WHY?) something happens . So Emma woke up late , the only reasonable (WHY?) in this question would be (C)

state an application that would be better to write c++ than java and give a rationale for your answer

Answers

Microsoft Visual Studio is the best deal

list 3 things needed in order to complete mail merge process.



pls help me!​

Answers

There are three documents that are involved in the mail merge process:

1- the main document
2- the data source
3- the merged document.

Alexis plans to stop trading once she lose 5% of her account balance, her account balance is $215.00. How much money is she willing to lose ?

Answers

Answer:

She's willing to lose $10.75.

Explanation:

$215.00 * .05 = answer

         or

$215.00 * .95 = x

$215.00 - x = answer

VPN or Proxy is safer?

Answers

Proxy chain is safer

hi hi hihihihihivvv hihihihihihi v vhi

Answers

Answer: hihihihihihiihihi hihihihiihihih

Explanation: hi.

Meenakshi has created a presentation of six slides. The slides have the same background, but s wants to change the background of each slide. Which option can help her in doing so?​

Answers

Ans:- Using Background Styles button present in Background group on the Design tab.

Define Word Processing

Answers

Answer:

Word Processing refers to the act of using a computer to create, edit, save and print documents. ... Text can be inserted, edited, moved, copied or deleted within your document and the appearance of the text can be modified in numerous ways.

What is the result of the following code?

x=7//2+10%2**4

print(x)

Answers

Answer:

3

Explanation:

We can split the expression into two sections

First Section:

7 // 2 = 3. Using the floor division we only utilize the integer part.

Second Section:

10 % 2**4 = 0**4 = 0

Bringing back the full version expression we have

3 + 0 = 3

Other Questions
Identify whether each writing practice is correct ( / ) or not ( X ).1. Decide on a topic that you are the only one who understands and appreciates.2. Do extensive research online and in the library.3. Prioritize sources that are instantly available to you as not to waste time.4. Always stay on a neutral side in your persuasive speech.5. Make three strong points and never go beyond that.will mark brainliest if answer. [-4,6)Write the interval as an inequality. In the late 19th century, which of the following reasons suggested that the United States needed to expand? How can you tell from the equations, without graphing, how many solutions the system has? How many protons are in C-14? Sebastian compares toy car prices at three different store so he can get the best deal for his little brother's Christmas gift. a. Toys R Us 5 cars for $6.25b. Walmart 10 cars for $12.64C. Target-2 cars for $2.76Which store has the best unit rate? I need halp plz, no incorrect What is the range of this graph? what is the exact circumference of the circle? A. 10 FT B. 20 FT C. 40 FT D. 60 FT Write a letter to the Editor of Times of India voicing your concern about the rash driving of the bus drivers. [Hints : Dangerous driving, unsafe for passengers and pedestrians, stricter measures to be taken by RTA Road Transport Authority such as fines and suspension rewarding safe drivers cause of accidents] HELPHOW AM I MEANT TO ANSWER THIS QUESTION I WOULD ASO LIKE ANSWER.THX (1 point)1. Which of the following describes how Spanish explorers affected Native American cultures inthe American Southwest?O The Spanish shared their wealth and goldO The Spanish converted Native Americans to Christianity.O The Spanish moved Native Americans to Mexico.O The Spanish brought Native Americans back to Spain, A rooster laid an egg on top of the barn roof. Which way did it roll?It didnt roll roosters dont lay eggs. antianxiety, antidepressant, or antipsychotic medications are most frequently prescribed by what was the pascaline used for? How many miles did Zheng he travel Pleaseeeeeeeeeee help me What trend are we seeing in terms of osteoporosis, heart disease, and high blood pressureO Decreased rates in the adult U.S. populationO Decreased rates in the young U.S. populationO Increased rates in the young U.S. populationO Increased rates in men, decreased rates in women when you are yeah then what happens when i love doing it for the when i was a little kids lol what is 1000-1? can someone help me do this