Data representation and logic

Assignment Help Computer Engineering
Reference no: EM13869

Representing Text and Numbers

Problem 1.1 Latin alphabetic characters can be represented using their ASCII equivalents. Write the decimal representation of all the characters in "Pei, I.M." (don't forget that the punctuation and blank space are considered characters here).

Problem 1.2 UNICODE is a set of numeric values for characters and symbols from around the world. Find the hexadecimal for the Greek letter π (lower case pi)

A binary string can mean di?erent things, depending on how it's interpreted.

Problem 1.3 What decimal number does 01101101 represent if it is interpreted as an unsigned binary number?

Problem 1.4 What ASCII character does the binary string in Problem 1.3 represent?

Problem 1.5 What single character does 00011011 00001001 represent in the tables.

2 Binary Arithmetic

What is the result of the following 8-bit unsigned binary operations? Give the result in unsigned binary.

Problem 2.1 00101011 + 01100110

Problem 2.2 11101000 - 00110101

What is the result of the following 8-bit two's complement binary operations? Give the result in two's complement binary.

Problem 2.3 00110011 + 10011001

Problem 2.4 11110011 + 10010101

Suppose you have a color represented as a red, green, blue triple, with each component an integer between 0 and 255 represented as an 8-bit unsigned binary number. The red component is 10010011, the green 11111000, and the blue 00001111.

Problem 2.5 What happens if, in an attempt to make the color more red, you add 10000000 to the red component, while leaving the green and blue components as they were?

Convert the following problem into two's complement binary and perform addition to get the resulting two's complement binary solution.

Problem 2.6 80 - 117 Hint: Remember this can be written as an addition problem:

80 + (-117).

3 Interpreting Logical Statements

View the 2012 list of the 1000 largest US Corporations from Fortune Magazine on the web at https://money.cnn.com/magazines/fortune/fortune500/2012/full list/. This site is linked from the Moodle page so you do not need to retype it. Indicate whether each of the following statements is true or false:

Problem 3.1 Hewlett-Packard has more revenue than Apple, and has more pro?t than International Business Machines (IBM).

Problem 3.2 If Apple has more pro?t than Microsoft and Amazon.com has more pro?t than Hewlett-Packard, then Google has more pro?t than Cisco Systems.

Problem 3.3 Microsoft has more pro?t than each of the following: Hewlett-Packard, IBM, Dell, Intel, Amazon.com, and Google.

Problem 3.4 Either Cisco Systems has more revenue than Sysco, or Cisco Systems has more pro?t than Sysco, but not both.

Problem 3.5 If Honeywell International has less revenue than Oracle, then either Microsoft has more pro?t than Oracle or Apple has more pro?t than Oracle, but not both.

Problem 3.6 Intel has more revenue than Amazon.com or AT&T has more pro?t than Microsoft, and it is not the case that both Intel and Microsoft each have more pro?t than Cisco Systems.

Problem 3.7 Intel and Medtronic both appear on the Top 100 list, or AT&T and Verizon Communications each have more pro?t than Microsoft.

4. Logic Puzzle

Problem 4.1 Solve the following logic puzzle: You are planning a vacation to Canada with some of your relatives, and you and they vote on which city below to visit. One city got four vote, two got two votes, two got one vote, and the remaining two cities got zero votes. Use logic and the clues below to determine how many votes each city got.

Quebec City
Toronto
Ottawa
Montreal
St. John's (Newfoundland)
Charlottetown
Halifax

Here are the clues. Make sure you explain how you obtained your answser.

a) Ottawa and Quebec City got di?erent number of votes.

b) Montreal either got the most votes, or it got zero votes.

c) Quebec City got more votes than Halifax did.

d) In the list of cities above, each of the two cities that got two votes has a city that got no votes immediately above it in the list.

e) Either Halifax got one fewer votes than Toronto did, or it got one fewer vote than Ottawa did.

Reference no: EM13869

Questions Cloud

Conduct a marketing experiment : Conduct a marketing experiment in which students are to taste one of two different brands of soft drink
Write a paper on steel sustainability : Write a paper on steel sustainability.
Leadership styles in different organizations : Ccompare the effectiveness of different leadership styles in different organizations
Designing vb applications across multiple platforms : Technical Project "Designing VB Applications Across Multiple Platforms".
Data representation and logic : Representing Text and Numbers, Binary Arithmetic, Interpreting Logical Statements, Logic Puzzle, Binary and Algorithms.
Data storage & "exception error trapping" : Discussion on Data Storage and  "Exception Error Trapping".
Current events and u.s. diplomacy : Discussion on  Current Events and U.S. Diplomacy,  "Divorcing America", and  "The Rise of China".

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd