COSC473 Introduction to Computer Systems Assignment

Assignment Help Other Subject
Reference no: EM132500602

COSC473 Introduction to Computer Systems Assignment - School of Science, RMIT University, Australia

Question 1 - Number Systems

Please answer the following questions, showing all your working out and intermediate steps.

a. Convert the last four digits of your RMIT student number to binary, octal, and hexadecimal. For example, if your student number is "s1234567", then convert 456710 to binary, octal, and hexadecimal.

b. Convert the last four digits of your RMIT student number to base 13, where 1010 = A13, 1110 = B13, 1210 = C13.

c. Consider a base 26 number system wherein the letters of the alphabet represent the digits. That is, A26 = 010, B26 = 110, C26 = 210, ... Z26 = 2510.

Use the first three letters of your given name, and the first three letters of your surname, as numbers in the base 26 system. Add these two base 26 numbers together to obtain the sum (in base 26). Show all your working out and intermediate steps.

Note: If one of these has less than three letters, repeat the last letter, e.g. LI become LII.

Question 2 - Binary Addition and Subtraction

Please answer the following questions, showing all your working out and intermediate steps. For this question, use the last two digits of your student number. (For example, if your student number is "s1234567", then A=7 and B=6) If either of these digits is a "0", use 9 instead.

a. Convert the decimal numbers A and B to 4-bit binary numbers. Show how to add together these two 4-bit binary numbers and state whether the answer is valid to 4-bit arithmetic.

b. Convert the decimal numbers A and B to 5-bit binary numbers. Using two's complement representation, show

(i) How to subtract the two 5-bit binary numbers (A-B);

(ii) How to translate the binary result back to decimal.

Question 3 - Bitwise Operations

The bitwise operators AND, OR, and XOR allow for bits to be reset (to 0), set (to 1), and inverted (from 0 to 1, and from 1 to 0). Bit masks are strings of bits that allow for a single bitwise operation on particular bits. Commonly a bit string is 8 bits long (referred to as a byte).

Conventionally, bit strings are indexed from 0 staring with the rightmost digit.

Let A = xxxx xxxx2, where each x is a unique bit (0 or 1).

Byte A

x

x

x

x

x

x

x

x

Bit position

7

6

5

4

3

2

1

0

Find the appropriate bitmask(s) M and bitwise operator(s) for ALL byte A for the following cases, showing all your working out and intermediate steps:

a. Reset the 2 bits on each side and make sure that only these 4 bits are reset in the byte.

b. Toggle the values of the middle 4 bits (the opposite of what it currently is), and set the 2 bits on each side.

Question 4 - Logic Circuits and Truth Tables

884_Logic Circuit.png

For each of the above circuits:

a. Write down the equivalent logic expression (simplification is NOT required).

b. Write a truth table that shows the inputs (A, B, C) and the outputs of each gate up to and including the final output (O). Showing all your working out and intermediate steps (the output of each gate) in the truth table.

c. Compare the final output columns in these two truth tables. Do these two expressions give the same output?

Question 5 - SECDED code

An even-parity SECDED encoded character has been retrieved, with the hexadecimal value of BE616. Please answer the following questions, showing all your working out and intermediate steps.

a. Was there an error? Explain your answer.

b. If there was an error, either correct it (reporting the corrected ASCII character) or explain why it could not be corrected.

Question 6 - Advanced Question

You need to attempt either 6.1 or 6.2 to be eligible for an HD for this assignment, NOT BOTH.

Question 6.1 - Half-precision Floating-point Format

Do some research and find out how real (floating point) numbers are represented in Binary.

a. Devise your own 16-bit representation for floating point numbers, and explain what the various bits are used for. Explain in detail,

(i) How many bits are allocated to the mantissa and the exponent, respectively?

(ii) What defines the range and the precision (or accuracy) of the numbers stored in floating point notation?

b. If your student number is "s1234567", then

A = 7 and B = 6;

x = A+B ÷ 10 = 7+6 ÷ 10 = 7.6

y = B ÷ (A×10) = 6 ÷ (7 × 10) = 0.0857 (rounded to 4 decimal places)

If either of these digits is a "0", use 9 instead.

If both of these digits are the same, use B = A-1.

Show in detail:

(i) How x and y would be represented in binary using your 16-bit representation;

(ii) The steps needed to add together the two numbers x and y in binary;

(iii) The steps needed to convert the binary result obtained to decimal.

(iv) Did you lose precision/accuracy through addition? Discuss what is causing this "loss of precision" error.

c. When adding up a large number of floating point numbers at very different magnitudes, in what order should they be added together to get the most accurate result? Explain why with an example.

Question 6.2 - Logic Simplification using Karnaugh Maps and Boolean Algebra

Do some research and find out how a Karnauph map is used for reducing logic functions into minimal Boolean expressions.

a. Show in detail, how to use the K-map to simplify the logic expression of circuit (1) in Question 4.

b. Show in detail, how to use Boolean Algebra to simplify the logic expression of circuit (1) in Question 4.

c. Compare the above two simplification methods and discuss which is better: Boolean algebra or K-map?

d. What are the limitations of Karnaugh Maps? Explain with an example.

Reference no: EM132500602

Questions Cloud

Describe the behaviors of the sales force : Describe the behaviors of the sales force that are targeted with the compensation plan. Assess how a value proposition is achieved for current and future.
Review Activity Diagram and Use Case description documents : Review the activity diagram and Use Case description documents (attached). Both of these are partially completed
Create Use Case diagram using Visual Paradigm application : Create ONE Use Case diagram using Visual Paradigm application based on the activity diagram and the Use Case descriptions. Keep it in native vpp format
Estimate how much will have in five years : Estimate How much will you have in 5 years? You plan to start a program in 5 years. You can invest the money at 6% interest, compounded annually.
COSC473 Introduction to Computer Systems Assignment : COSC473 Introduction to Computer Systems Assignment Help and Solution - RMIT University, Australia. Question 2 - Binary Addition and Subtraction
Discussion - Islamic Finance in Oman : Discussion - Islamic Finance in Oman. Discuss the use of Islamic Finance used to fund projects and companies in Oman as compared to the Western model
Develop a plot the data in the order of the dates : Develop a Plot the data in the order of the dates. Lexon Inc. is a large manufacturer of affordable DVD players. Management recently became aware of rising
Find how much will have in five years : Find How much will you have in 5 years? You plan to start a program in 5 years. You can invest the money at 6% interest, compounded annually.
Find how much are budgeted variable manufacturing costs : At 1600 units, how much are budgeted variable manufacturing costs? Items from Bonita Company's budget for March in which 1500 units.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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