3 Replies - 2454 Views - Last Post: 26 February 2013 - 05:31 PM

#1 k.s110   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 60
  • Joined: 13-February 13

CS QUESTION THINK I GOT THE ANSWER

Posted 25 February 2013 - 05:00 PM

I think the answer for the following question is B...because when I use the conversion technique -89 converts to 10100111 as two complement:

some clarification would help my uncertainty

link
Posted Image

Uploaded with ImageShack.us

This post has been edited by modi123_1: 25 February 2013 - 05:02 PM


Is This A Good Question/Topic? 0
  • +

Replies To: CS QUESTION THINK I GOT THE ANSWER

#2 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6538
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: CS QUESTION THINK I GOT THE ANSWER

Posted 26 February 2013 - 04:54 PM

We're not going to provide answers for a examine.
Was This Post Helpful? 0
  • +
  • -

#3 k.s110   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 60
  • Joined: 13-February 13

Re: CS QUESTION THINK I GOT THE ANSWER

Posted 26 February 2013 - 05:15 PM

View Postk.s110, on 25 February 2013 - 05:00 PM, said:

I think the answer for the following question is B...because when I use the conversion technique -89 converts to 10100111 as two complement:

some clarification would help my uncertainty

link
Posted Image

Uploaded with ImageShack.us


hmm are you serious?..exam? I don't understand I was asking for help this forum says Theory help as well..all I'm doing is presenting questions and trying to find the answer? never knew that wasn't allowed..I thought novice CS members could find help..without being accused..and ive actually presented an answer if i'm wrong you could just tell me what I am doing wrong the method I used to solve the above was:

using this example:

Two's complement is not a complicated scheme and is not well served by anything lengthly. Therefore, after this introduction, which explains what two's complement is and how to use it, there are mostly examples.

Two's complement is the way every computer I know of chooses to represent integers. To get the two's complement negative notation of an integer, you write out the number in binary. You then invert the digits, and add one to the result.

Suppose we're working with 8 bit quantities (for simplicity's sake) and suppose we want to find how -28 would be expressed in two's complement notation. First we write out 28 in binary form.

00011100

Then we invert the digits. 0 becomes 1, 1 becomes 0.

11100011

Then we add 1.

11100100

That is how one would write -28 in 8 bit binary.

I saw how he got -28 and applied it to this question to get -89 all i wanted to do is assure myself of the answer.

sorry if im doing anything wrong just tel me and I will stop =]
Was This Post Helpful? 0
  • +
  • -

#4 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6538
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: CS QUESTION THINK I GOT THE ANSWER

Posted 26 February 2013 - 05:30 PM

View Postk.s110, on 26 February 2013 - 06:15 PM, said:

hmm are you serious?..exam?


Looks like a question from a take home exam or an an on-line course. Doesn't it?

Its not my call. That's up to the forum leader to decide.

As for the question you asked...

Quote

some clarification would help



What exactly was the question? Because all I see is "Some clarification would help." With what part? Because that's so vague that it seems like you're really asking, "Explain the whole concept" which I'm sure was covered in your book or by your teacher. So rather than ask for an entire chapter of explanation on binary numbers - is there a specific part that confuses you?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1