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
Mice21 [21]
3 years ago
6

What is the decimal representation of the following signed binary numbers?

Computers and Technology
1 answer:
zheka24 [161]3 years ago
5 0

Answer:

(10000000)₂ = -128 in decimal

(11001100)₂ = -52 in decimal

(10110111)₂ = -73 in decimal

Explanation:

<u>NOTE:</u> If Most Significant Bit is 0, it is positive number and if MSB is 1, it is negative number. If number is positive we can simply convert it to decimal. But if number is negative, follow following formula:

  • (complement of the number) +1

<u>EXAMPLE 1</u>

  (10000000)₂

  (01 1 1 1 1 1 1)₂   ↔  complement of the number

<u>+                    1</u>

  (10000000)₂ = 1 ×2^{7}= 128 (magnitude in decimal)

But we remember MSB was 1 so answer is -128.

<u>EXAMPLE 2</u>

  (1 1 0 0 1 1 00)₂

  (0 0 1 1 0 0 1 1)₂

<u>+                       1  </u>

  (0 0 1 1 0 1 0 0)₂ = 52 (magnitude in decimal)

But we remember MSB was 1 so answer is -52.

<u>EXAMPLE 3</u>

  (1 0 1 1 0 1 1 1)₂

  (0 1 00 1 000)₂

<u>+                      1  </u>

  (01 00 1 00 1‬)₂ = 73 (magnitude in decimal)

But we remember MSB was 1 so answer is -73.

You might be interested in
The function that overloads the ____ operator for a class must be declared as a member of the class.
ira [324]

It is necessary to declare the function as a member of the class that overloads the ->c operator for the class.

<h3>What does C's -> operator mean?</h3>
  • In C/C++, the Arrow operator makes it possible to access items in unions and structures.
  • It is used in conjunction with a pointer variable pointing to a union or structure.
  • As demonstrated below, the arrow operator is created by utilizing a negative sign and the greater than symbol.
  • (Pointer name)->(Variable Name) is the syntax.
  • To access members of a class, structure, or union using a pointer, use the -> (arrow) operator.
  • A member of the object to which the pointer points is designated by a postfix expression, a -> (arrow) operator, followed by a potential qualified identifier or a pseudo-destructor name.

Therefore the correct answer is, c. ->

The complete question is:

The function that overloads the ____ operator for a class must be declared as a member of the class.

a. ::

b. *

c. ->

d. +

To learn more about -> operator, refer to:

brainly.com/question/13814474

#SPJ4

7 0
2 years ago
(1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a
Sergeu [11.5K]

Answer:

import java.util.Scanner;

public class num3 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter Favorite color");

       String word1 = in.next();

       System.out.println("Enter Pet's name");

       String word2 = in.next();

       System.out.println("Enter a number");

       int num = in.nextInt();

       //Point One

       System.out.println("You entered: "+word1+" "+word2+

               " "+num);

       //Point Two

       String passwordOne = word1+"_"+word2;

       String passwordTwo = num+word1+num;

       System.out.println("First password: "+passwordOne);

       System.out.println("Second password: "+passwordTwo);

       //Point Three

       int len_passwrdOne = passwordOne.length();

       int len_passwrdTwo = passwordTwo.length();

       System.out.println("Number of characters in "+passwordOne+" :" +

               " "+len_passwrdOne);

       System.out.println("Number of characters in "+passwordTwo+" :" +

               " "+len_passwrdTwo);

   }

}

Explanation:

  • This question is solved using java programming language
  • The scanner class is used to receive the three variables (Two string and one integer)
  • Once the values have been received and stored in the respective variables (word1, word2 and num), Use different string concatenation to get the desired output as required by the question.
  • String concatenation in Java is acheived with the plus (+) operator.
3 0
3 years ago
How many fixes are available for Adobe Photoshop CS4 (64 Bit)?
arsen [322]

Answer:

There are three (3) fixes in adobe cs4.

Explanation:

Adobe photoshop cs4 is a version of the creative cloud's professional graphic applications used to edit pictures, design interfaces, make graphical illustrations, draw and animate the drawings, etc.

It can be installed in several computer operating system platforms like linux, mac and windows. The adobe photoshop cs4 doesn't support the windows installation and might run into several issues. There are other issues in other supported platforms, but unlike for windows, there are three fixes for these problems.

4 0
3 years ago
According to the presentation, integrity and ethics are particularly important for careers in which of the following pathways?
Aloiza [94]

Journalism and Broadcasting

3 0
3 years ago
Only the root user can modify a file that has the immutable attribute set.
Vladimir79 [104]
False if the roots modify it’s capable of it’s attributed set
8 0
2 years ago
Other questions:
  • Identify requirements that should be considered when determining the locations and features of firewalls. What are some importan
    5·1 answer
  • James has been asked to build a low-profile computer for his friend to use as a home theater system. James needs to choose parts
    15·1 answer
  • Can I use some Company's name in my Research Project. For example, my research is based on E-commerce security and i wanna use A
    14·1 answer
  • A website's ____ page provides basic information about the individual or organization and includes a navigation bar with links t
    13·1 answer
  • What is copy and paste?
    13·2 answers
  • Mary can view the thumbnails of her presentation slides when she’s creating the slides which element of the programs interface i
    8·1 answer
  • What is the code for this please?​
    13·1 answer
  • How did the military in the early 1900s move resources?
    7·1 answer
  • True or False? Popular sites are always mean accurate.
    14·2 answers
  • Assignment 1:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!