#1. How many cells can be in a computer's main memory if each cell's address can be represented by two hexadecimal digits? What if four hexadecimal digits are used? Explain your answer.

Answer:
Hexadecimal digits is a base 16 number system and it ranges between 0 and F i.e. 0 - 9 and A - F (10 -15). (Table 1 below shows binary, decimal and hexadecimal representation). Two hexadecimal digits will be between 00 and FF and this will make up to 256 cells i.e. 0 – 255 (16 bits) and for four hexadecimal digits will be between 0000 – FFFF and this makes up to 65536 cells i.e. 0 – 65535 (32 bits).

#2. Suppose that only 50GB of your personal computer’s 120GB hard-disk drive is empty. Would it be reasonable to use CDs to store most of the material you have on the drive as a backup? What about DVDs? Explain your answer.

Answer:

With 120GB of storage and 50GB space free that amounts to 70GB of data to back up, the maximum a CD can take is 700MB (0.7GB) that amounts to 100 CDs. The size of an average DVD-R is about 4.7GB this will make up to 15 DVDs and this makes a lot sense than using 100 CDs.

#3. Suppose three values (x, y, and z) are stored in a machine's memory. Describe the sequence of events (loading registers from memory, saving values in memory, and so on) that lead to the computation of x + y + z. How about (2x) + y?

Answer:
I. To compute x + y + z, each of the values must be retrieved from memory and placed into the register, the sum of x and y must be computed placed into the registry and the value of the sum must be added to z and...

...declared but is not set to a definite known value before it is used.
Algorithm workbench
3. Write assignment statements that perform the following operations with the variables a, b, and c.
a. Adds 2 to a and stores the result in b
b. Multiplies b times 4 and stores the result in a
c. Divides a by 3.14 and stores the result in b
d. Subtracts 8 from b and stores the result in a
Assignment statements that perform operations with the variables...

...[pic]
ASSIGNMENT SUBMISSION AND ASSESSMENT
_________________________________________________________________________
OUMM3203
PROFESSIONAL ETHICS
(PLEASE EDIT WHERE NECESSARY-THIS IS ONLY SUGGESTIONS FOR THE ASSIGNMENT’S GENERAL INSTRUCTIONS)
_________________________________________________________________________
INSTRUCTIONS TO STUDENTS
1. This assignment contains only ONE (1) question that is set in the language of the printed module for the...

...PT1420 - Unit 5 Homework and Lab Assignment
Unit 5 Assignment 1: Homework
1.) Design an if-then statement that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100. (Simple if statement)
If x > 100 then
Y=20
Z=40
End if
2.) Design an if-then statement that assigns 0 to the variable b and assigns 1 to the variable c if variable a is less than 10. (Simple if statement)
3.) Design an if-then-else...

...
Chartered Management Institute Approved Centre
Level 5 Extended Diploma in Management and Leadership
Written Assessment – 5
Unit 5001V1
Instruction Sheet
Assignment: Unit 5001V1 – Personal development as a manager and leader
Level: 5
Lecturer: Ian Laing
Date of Issue: 13th May 2015
Date Due In: 26th June 2015
Format: Word Document submitted to:
ianlaing@ihlassociates.karoo.co.uk...

...1. In the statement, x =3;, the ' =' operator is one of Java's extended assignment operators.
2. Using the same name for two methods in the same class, where each method has different parameter input, is called overloading.
3. The nextInt method of Java's Random class returns an integer chosen at random from a range of values between 0 and n-1 where n is the parameter value passed to the method.
4. Java's while statement, and the if-else statements are examples...

...
Week 2 Assignment
Yasir Shakoor
Intermediate Algebra MAT222
Professor Perez
09/01/2014
For our Week 2 assignment, in Intermediate Algebra, we were asked to solve the problem number 68 on page 539 of Elementary and Intermediate Algebra. aside from completing the problem, we were also asked to write a two to three page paper while including the five given vocabulary words for the week. Please see the problem below:
Shipping...

...Solving Proportions
Tara Lint
MAT 222 Week 1 Assignment
Instructor: James Segala
August 18, 2013
Solving Proportions
Proportions exist in the real world. For example, in finding out the price of a unit, or the population of a specific species. The first problem that we are working with states that “. Bear population. To estimate the size of the bear population on the Keweenaw Peninsula, conservationists captured, tagged, and released 50 bears. One year later, a random...

...conEcon345 Money and Banking Assignment 1
Zhongli Sui (Bill) 31438104
a). What is YTM(i) for bond A and B? which one is highest?
Bond A: 1000 = 1001+i + 901+i2 + 80(1+i)3 + 70(1+i)4 + 60(1+i)5 + 600(1+i)5
i(A) = 0
Bond B: 1000 = 1001+i + 1001+i2 + 100(1+i)3 + 100(1+i)4 + 40(1+i)5 + 400(1+i)5
i(B) = - 0.04419415
Bond A has higher yield than Bond B. ( 0 > -0.044195)
b). Suppose i=0.05 for both bond...