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
ArbitrLikvidat [17]
4 years ago
15

2) Show the decimal equivalent of each of the numbers if they are interpreted as (4 answers): 11001101 01101001 a. Unsigned bina

ry b. Signed binary
Computers and Technology
2 answers:
gayaneshka [121]4 years ago
8 0
<h2>Answer:</h2><h2 />

<em>11001101 (as unsigned binary) is 205 in decimal</em>

<em>11001101 (as signed binary) is -51 in decimal</em>

<em>01101001 (as unsigned binary) is 105 in decimal</em>

<em>01101001 (as signed binary) is still 105 in decimal.</em>

<h2>Explanation:</h2><h2 />

a.  11001101

1 => Treating as unsigned binary

Since the number is unsigned, the usual direct conversion to decimal is sufficient. i.e

11001101 = 1 x 2^{7} + 1 x 2^{6} + 0 x 2^{5} + 0 x 2^{4} + 1 x 2^{3} + 1 x 2^{2} + 0 x 2^{1} + 1 x 2^{0}

11001101 = 128 + 64 + 0 + 0 + 8 + 4 + 0 + 1

11001101 = 205 (in decimal)

<em>Therefore 11001101 (as unsigned binary) is 205 in decimal</em>

2 => Treating as signed binary

Signed binary using 2's complements dictates that the most significant bit (leftmost bit) in a binary number represents the sign of the bit. If the most significant bit is 0, then the number is positive. If it is 1, the number is negative.

Since the most significant bit of the number (11001101) is 1, then the number is negative.

Therefore to convert it to its decimal counterpart;

<em>i. flip all its bits by changing all 1s to 0s and all 0s to 1s as follows</em>

=> 11001101 = 00110010

<em>ii. add 1 to the result above as follows</em>

=> 00110010 + 1 = 00110011

<em>iii. now convert the result to the decimal representation as follows</em>

00110011 = 0 x 2^{7} + 0 x 2^{6} + 1 x 2^{5} + 1 x 2^{4} + 0 x 2^{3} + 0 x 2^{2} + 1 x 2^{1} + 1 x 2^{0}

00110011 = 0 + 0 + 32 + 16 + 0 + 0 + 2 + 1

00110011 = 51 (in decimal)

<em>Therefore, 11001101 (as signed binary) is -51 in decimal</em>

b.  01101001

1 => Treating as unsigned binary

Since the number is unsigned, the usual direct conversion to decimal is sufficient. i.e

01101001 = 0 x 2^{7} + 1 x 2^{6} + 1 x 2^{5} + 0 x 2^{4} + 1 x 2^{3} + 0 x 2^{2} + 0 x 2^{1} + 1 x 2^{0}

01101001 = 0 + 64 + 32 + 0 + 8 + 0 + 0 + 1

01101001 = 105 (in decimal)

<em>Therefore 01101001 (as unsigned binary) is 105 in decimal</em>

2 => Treating as signed binary

Signed binary using 2's complements dictates that the most significant bit (leftmost bit) in a binary number represents the sign of the bit. If the most significant bit is 0, then the number is positive. If it is 1, the number is negative.

Since the most significant bit of the number (01101001) is 0, then the number is positive and the usual conversion to decimal will suffice. i.e

01101001 = 0 x 2^{7} + 1 x 2^{6} + 1 x 2^{5} + 0 x 2^{4} + 1 x 2^{3} + 0 x 2^{2} + 0 x 2^{1} + 1 x 2^{0}

01101001 = 0 + 64 + 32 + 0 + 8 + 0 + 0 + 1

01101001 = 105 (in decimal)

<em>Therefore 01101001 (as signed binary) is still 105 in decimal.</em>

<em>Note: A positive binary number will have the same value (in decimal) whether it is treated as signed or unsigned.</em>

iragen [17]4 years ago
5 0

Answer:

<u>Signed:</u> -4 -5 +6 -1

<u>Unsigned:</u> 12 13 6 9

Explanation:

We are given with binary number i.e. 1100110101101001. First of all we will break this binary number into sets of 4 starting from the right side of the binary number. First set will be 1001, second will be 0110, third wil be 1101, fourth will be 1100.

<u>Basic concept of converting binary numbers into decimal numbers:</u>

256 128 64 32 16 8  4  2  1  

0      1      1    0    1  0  0  1  1

Add the number written above each of the binary number if its 1 and ignore if its 0. Starting from the left side 0 represents 256 so, we will ignore it. 1 represents 128 so we will consider it and so on.

128+64+16+2+1 = 211

011010011 is the binary of 211.

For signed binary, if the last number of the set is 0 the, it is a postive number. For unsigned binary, if the last number of the set is negative then, it is a negative number.

<u>For signed binary:</u>

1100    1101    0110   1001

-4        -5      +6       -1

<u>Note:</u>

We are not adding these numbers because in the question it is specified to give 4 answers.

<u>For unsigned binary:</u>

1100    1101    0110   1001

12        13      6       9

<u>Note:</u>

We are not adding these numbers because in the question it is specified to give 4 answers.

You might be interested in
Code Example 8-1
damaskus [11]

Answer:

Option A: FileNotFoundError

Explanation:

FileNotFoundError is an exception which is thrown when a program fail to open a specified file. The root causes of this type of error can be:

  1. The directory path to locate a target file is wrongly defined in our code due to a typo on the file name or misuse of relative directory path, such as ../ and ./ which denote two different paths.
  2. For some reasons, a target file is misplaced in a wrong directory.

Any one of the above reasons can lead to the exception to be thrown when the file doesn't exist.

6 0
3 years ago
What command would you use to view the path taken by an ethernet packet in windows?
Anni [7]
Hey there,
The answer is <span>tracert.

Hope this helps :))

~Top
</span>
5 0
3 years ago
he timing device in an automobile’s intermittent wiper system is based on an RC time constant and utilizes a 0.500-μF capacitor
Tatiana [17]

Answer:

4000k-ohm to 10,000k-ohm

Explanation:

As we know that time constant for an RC circuit is t=RC

Putting the values of t we can get the range of varaiable resistor as;

t=RC

Putting t=2 we get the first value of the range for the variable resistor

2=R*0.500*10^-6

R=2/(0.500*10^-6)

R=4*10^6

R=4000k-ohm

Now putting t=5 we get the final value for the range of variable resistor

t=RC

5=R*0.500*10^-6

R=5/(0.500*10^-6)

R=10*10^6

R=10,000k-ohm

So variable resistance must be made to vary in the range from 4000k-ohm to 10,000k-ohm

5 0
4 years ago
Create a program that generates a report that displays a list of students, classes they are enrolled in and the professor who te
Ainat [17]

Answer:

All the classes are mentioned with code and screenshots. . That class is shown at last.

Explanation:

Solution

Class.Java:

Code

**

* atauthor your_name

* This class denotes Class at the college.

*

*/

public class Class {

 

  private String className,classID;

  private Professor professor;

 

  /**

  * atparam className

  * atparam classID

  * atparam professor

  */

  public Class(String className, String classID, Professor professor) {

      this.classID=classID;

      this.className=className;

      this.professor=professor;

  }

     /**

  * at return classID of the class

  */

  public String getClassID() {

      return classID;

  }

    /**

  * Override toString() from Object Class

  */

  public String toString() {    

      return classID+" "+className+" "+professor.getName()+" "+professor.getEducation();        

  }  

}

Person.Java:

Code:

/**

* atauthor your_name

* This class represents Person

*

*/

public class Person {    

  protected String name;  

  /**method to fetch name

  * at return

  */

  public String getName() {

      return name;

  }

  /**method to set name

  * at param name

  */

  public void setName(String name) {

      this.name = name;

  }

Professor.java:

Code:

import java.util.ArrayList;

import java.util.List;  

/**

* at author your_name

*

*This class represents professors

*

*/

public class Professor extends Person{    

  private String professorID, education;

  private List<Class> classes=new ArrayList<Class>();    

  /**

  * at param name

  * at param professorID

  * at param education

  */

  public Professor(String name,String professorID,String education) {        

      this.name=name;

      this.professorID=professorID;

      this.education=education;        

  }

  /**

  * at return

  */

  public String getEducation() {

      return this.education;

  }    

  /**

  * at return

  */

  public String getprofessorID() {

      return this.professorID;

  }  

  /** to add classes

  * at param Class

  */

  public void addClass(Class c) {

      classes.add(c);

  }  

  /**

  * Override toString() from Object Class

  */

  public String toString() {

      String result=this.getName()+" - "+professorID+" - "+education;

      for(Class c:classes) {

          result+=c.toString()+"\n";

      }      

      return result;

  }

}

}

Student.java:

Code:

import java.util.ArrayList;

import java.util.List;  

/**

* This class represents students

*  at author your_Name

*

*/

public class Student extends Person{    

  private String studentID;

  private List<Class> classes=new ArrayList<Class>();    

  /**

  * atparam name

  * atparam studentID

  */

  public Student(String name,String studentID) {      

      this.name=name;

      this.studentID=studentID;      

  }  

  /**

  * atreturn

  */

  public String getStudentID() {

      return studentID;

  }

     /**

  * atparam c

  */

  public void addClass(Class c) {

      classes.add(c);

  }    

  /**

  * atreturn

  */

  public int getClassCount() {

      return classes.size();

  }

  /**

  * Override toString() from Object Class

  */

  public String toString() {

      String result=this.getName()+" - "+studentID+"\n";

      for(Class c:classes) {

          result+=c.toString()+"\n";

      }    

      return result;

  }  

}

NOTE: Kindly find an attached copy of screenshot of the output, which is a part of the solution to this question

6 0
3 years ago
3D printers, also known as ________, create three-dimensional shapes by adding very thin layer after layer of material until the
xz_007 [3.2K]

Answer:

Additive Manufacturing

Hope this Helps!

5 0
2 years ago
Other questions:
  • 6. When you don't have enough room to stop, you may _______ to avoid what's in front of you.
    14·1 answer
  • A​ client-server application that requires nothing more than a browser is called​ ________.
    8·2 answers
  • You're setting up some VMs to test an application you're considering making available to employees of the small company you work
    13·1 answer
  • Although “dog.jpg” and “dog.JPG” and “Dog.jpg” and “DOG.JPG” all appear to be the same file, they are not considered the same wh
    7·1 answer
  • in a management information system, the quality of information is determined by its usefulness to users, and its usefulness dete
    8·1 answer
  • Fallon is a new student on campus. Everywhere she goes, she is asked for her 12-digit student number. To memorize her new studen
    10·1 answer
  • ?__________ is the term that describes devices that automate many industrial tasks by receiving digital commands and converting
    5·1 answer
  • Aisha designed a web site for her school FBLA club and tested it to see how well it would resize on different systems and device
    5·1 answer
  • Which Internet protocol (IP) packet fragmentation header field specifies where the fragment belongs in the original datagram
    6·1 answer
  • 3.12 LAB: Output range with increment of 5 Write a program whose input is two integers, and whose output is the first integer an
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!