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
yawa3891 [41]
4 years ago
13

Express (118)10 and (-49)10 in 8-bit binary one’s complement form and then add the numbers. What would be the representation (-0

)10 in 16-bit binary one’s complement? (be sure to show your work).
Engineering
1 answer:
stealth61 [152]4 years ago
5 0

Answer:

118_{10}= 0110111 2) -49_{10}=110001_{2} 3) 0_{10}=0:16 \Rightarrow 0_{10}=0_{16}

Explanation:

1) Expressing the Division as the summation of the quotient and the remainder

for

118, knowing it is originally a decimal form:

118:2=59  +(0), 59/2 =29 + 1, 29/2=14+1, 14/2=7+0, 7/2=3+1, 3/2=1+1, 1/2=0+1

118_{10}= 0110111

2) -49_{10}

Similarly, we'll start the process with the absolute value of -49 since we want the positive value of it. Then let's start the successive divisions till zero.

|-49|=49

49:2=24+1, 24:2=12+0,12:2=6+0,6:2=3+0,3:2=1+1,1:2=0+1

100011

-49_{10}=110001_{2}

3) (-0)_{10}

The first step on that is dividing by 16, and then dividing their quotient again by 16, so on and adding their remainders. Simply put:

(-0)_{10}=0:16=0 \Rightarrow (0)_{10}=0_{16} \:or\\(0)_{16}=0000000000000000

You might be interested in
While you are driving you see an animal standing or walking on the side of the road. You should..
STatiana [176]
Take caution, and slow down, it could run out in the middle of the road. Try going around it if possible.
8 0
3 years ago
2 Describe the four major disciplines of engineering and identify problems or projects that an engineer in each discipline might
Harman [31]
Answer: Starting of with Chemical Engineering something that they may encounter is a lack of adeptness man puissance. People that are working there are not much adept or having cognizance regarding to chemical industry. Something someone with a Civil engineering might encounter is the quandary of sustainable construction, and amendment construction site safety. To go on , something that Electrical engineering might encounter is a Non technical , Virtually an electrical engineer has to deal with an astronomical range of machines , control panels,instruments. For example you are working with circuit breakers,as anon as you’ll have expertise on any particular type of circuit breaker, there's a transmutation in trend and the CB you are working with is already obsolete. And last but no least , Something someone might encounter while doing Mechanical engineering is there toxic substances because their work environment is susceptible to fires, explosions, structural failures and equipment malfunctions.
5 0
3 years ago
Which sentence highlights the best way of site planning?
Nadusha1986 [10]

Answer:

Which sentence highlights the best way of site planning?

A group of construction planners are in a discussion over the most suitable plot to construct new buildings. Steven suggests that they should choose the barren stretch of land in the city and construct cluster buildings. James points out that the wetlands will provide them more area for construction. Riley advises that they should not worry about keeping large open spaces while planning building construction.

Explanation:

8 0
3 years ago
Define centrifugal pump. Give the construction and working of centrifugal pump. ​
fenix001 [56]
Centrifugal pump is a hydraulic machine which converts mechanical energy into hydraulic energy by the use of centrifugal force acting on the fluid. These are the most popular and commonly used type of pumps for the transfer of fluids from low level to high level.
7 0
4 years ago
This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balance
Flauer [41]

Answer:

#include <iostream>

#include <vector>

using namespace std;

int main() {

   vector<int> jerseyNumber;

   vector<int> rating;

   int temp;

   for (int i = 1; i <= 5; i++) {

       cout << "Enter player " << i

            << "'s jersey number: ";

       cin >> temp;

       jerseyNumber.push_back(temp);

       cout << "Enter player " << i

            << "'s rating: ";

       cin >> temp;

       rating.push_back(temp);

       cout << endl;

   }

   cout << "ROSTER" << endl;

   for (int i = 0; i < 5; i++)

       cout << "Player " << i + 1 << " -- "

            << "Jersey number: " << jerseyNumber.at(i)

            << ", Rating: " << rating.at(i) << endl;

   char option;

   '

   while (true) {

       cout << "MENU" << endl;

       cout << "a - Add player" << endl;

       cout << "d - Remove player" << endl;

       cout << "u - Update player rating" << endl;

       cout << "r - Output players above a rating"

            << endl;

       cout << "o - Output roster" << endl;

       cout << "q - Quit" << endl << endl;

       cout << "Choose an option: ";

       cin >> option;

       switch (option) {

           case 'a':

           case 'A':

               cout << "Enter a new player's"

                    << "jersey number: ";

               cin >> temp;

               jerseyNumber.push_back(temp);

               cout << "Enter the player's rating: ";

               cin >> temp;

               rating.push_back(temp);

               break;

           case 'd':

           case 'D':

               cout << "Enter a jersey number: ";

               cin >> temp;

               int i;

               for (i = 0; i < jerseyNumber.size();

                    i++) {

                   if (jerseyNumber.at(i) == temp) {

                       jerseyNumber.erase(

                               jerseyNumber.begin() + i);

                       rating.erase(rating.begin() + i);

                       break;

                   }

               }

               break;

           case 'u':

           case 'U':

               cout << "Enter a jersey number: ";

               cin >> temp;

               for (int i = 0; i < jerseyNumber.size();

                    i++) {

                   if (jerseyNumber.at(i) == temp) {

                       cout << "Enter a new rating "

                            << "for player: ";

                       cin >> temp;

                       rating.at(i) = temp;

                       break;

                   }

               }

               break;

           case 'r':

           case 'R':

               cout << "Enter a rating: ";

               cin >> temp;

               cout << "\nABOVE " << temp << endl;

               for (int i = 0; i < jerseyNumber.size();

                    i++)

                   if (rating.at(i) > temp)

                       cout << "Player " << i + 1

                            << " -- "

                            << "Jersey number: "

                            << jerseyNumber.at(i)

                            << ", Rating: "

                            << rating.at(i) << endl;

               break;

           case 'o':

           case 'O':

               cout << "ROSTER" << endl;

               for (int i = 0; i < jerseyNumber.size();

                    i++)

                   cout << "Player " << i + 1 << " -- "

                        << "Jersey number: "

                        << jerseyNumber.at(i) << ", Rating: "

                        << rating.at(i) << endl;

               break;

           case 'q':

               return 0;

           default:

               cout << "Invalid menu option."

                    << " Try again." << endl;

       }

   }

}

Explanation:

4 0
3 years ago
Other questions:
  • 9 b. A sign (including the post and base) weighs 40 pounds and is
    8·1 answer
  • 1.5 kg of liquid water initially at 12∘C is to be heated to 95∘C in a teapot equipped with an 800-W electric heating element ins
    9·1 answer
  • Draw and label a typical true stress-strain curve for a ductile material.
    8·1 answer
  • Metallic nickel crystallizes in a face-centered cubic lattice. If the edge length of the unit cell is found to be 352 pm, what i
    11·1 answer
  • Write a CPP program that prompts the user to enter the number of lines and generates the following pattern of stars. If the nonn
    15·1 answer
  • Imagine that you are the architect that designed the school. Identify five safety hazards that should be included in the design
    15·1 answer
  • David wants to obtain a job as a quality engineer at a manufacturing facility. Which of the following paths should he follow to
    15·1 answer
  • Which is the best description of power? A. the amount of kinetic energy lost during motion
    15·1 answer
  • Future solution for air pollution in new zealand
    7·1 answer
  • Joe is a chemical engineer whose plant discharges heavy metals into the local river. By the test authorized by the city governme
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!