Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Question Regarding binary and hexadecimal
Index -> General Discussion
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jayshaw94




PostPosted: Sun Jan 15, 2012 9:40 pm   Post subject: Question Regarding binary and hexadecimal

Quick question
For one of my classes I received 2 questions.
I'm having a bit of trouble understanding the questions. Help would be awesome

Question 1:

Using the built in Calculator function in Windows (Start, Calc) from the programmer's view menu drop down:
CONVERT 91 BASE 10 to a BINARY Number and to a HEXADECIMAL Number (Replace the X's below).

Answer: 9110 converts to
XXXXXXX2
XX16



If anyone has the answer to this could you please explain how you got the answer
Question 2:

A truth table follows the rules of logic that were used by Greek philosophers in searching for truth and were then used by George Boole in a mathematical manner as follows:
0 and 0 = 0; 1 and 1 = 1; 0 and 1 = 0
0 or 0 = 0; 1 or 1 = 1; 0 or 1 = 1

COMPLETE THE FOLLOWING TRUTH TABLE
Answer
1 AND 1
0 OR 1
1 AND 0
0 OR 1

If anyone has the answer to this could you please explain how you got the answer
Sponsor
Sponsor
Sponsor
sponsor
mirhagk




PostPosted: Sun Jan 15, 2012 9:44 pm   Post subject: RE:Question Regarding binary and hexadecimal

For the first one, simply switch the calculator to programming mode, then use the buttons on the side to bin or hex or dec (binary, hexadecimal, or decimal respectively)

and that truth table, well you are given the answers. Just match the statement above to the one below.
jayshaw94




PostPosted: Sun Jan 15, 2012 9:53 pm   Post subject: RE:Question Regarding binary and hexadecimal

Thank you
I thought it was a difficult quesiton
mirhagk




PostPosted: Sun Jan 15, 2012 10:04 pm   Post subject: RE:Question Regarding binary and hexadecimal

no, they only really get complicated once you must simplify them, and even then, it's quite simple.
Display posts from previous:   
   Index -> General Discussion
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: