CSC340 Digital Logic Design Assignment 1First Name
Last Name
ID#
Email Address
How to submit your Assignment
After filling all the parts in this file, please follow the following steps.
1) Add your name and ID to the first page.
2) Save the file in the original format (Docx or Doc)
(please do not convert to other file formats e.g. PDF, ZIP, RAR, …).
3) Rename the file as
CSC320 – HW1 – ID – YOUR Last Name – YOUR First Name.docx
Example: CSC340 – HW1 – 234566435 – Smith – John.docx
4) Upload the file and submit it (only using Blackboard)
Question 1:
In what ways are hardware and software different? In what ways are they the same?
Answer:
Question 2:
a) How many milliseconds (ms) are in 1 second?
b) How many microseconds (µs) are in 1 second?
c) How many nanoseconds (ns) are in 1 millisecond?
d) How many microseconds are in 1 millisecond?
e) How many nanoseconds are in 1 microsecond?
f) How many kilobytes (KB) are in 1 gigabyte (GB)?
g) How many kilobytes are in 1 megabyte (MB)?
h How many megabytes are in 1 gigabyte (GB)?
i) How many bytes are in 20 megabytes?
j) How many kilobytes are in 2 gigabytes?
Answer:
Question 3:
Briefly explain two breakthroughs in the history of computing.
Answer:
Question 4:
Suppose a transistor on an integrated circuit chip were 2 microns in size. According to
Moore’s Law, how large would that transistor be in 2 years? How is Moore’s law relevant to
programmers?
Answer:
Question 5:
In the von Neumann model, explain the purpose of the:
a) processing unit
b) program counter
Answer:
Question 6:
Under the von Neumann architecture, a program and its data are both stored in memory. It
is therefore possible for a program, thinking a memory location holds a piece of data when
it actually holds a program instruction, to accidentally (or on purpose) modify itself. What
implications does this present to you as a programmer?
Answer:
Question 7:
Explain why modern machines consist of multiple levels of virtual machines.
Answer:
Question 8:
Explain the three main types of Cloud computing platforms.
Answer:
Question 9:
Explain what it means to “fetch” an instruction.
Answer:
Question 10:
The technologist’s notion of Moore’s Law is that the number of transistors per chip doubles
approximately every 18 months. In the 1990s, Moore’s Law started to be described as the
doubling of microprocessor power every 18 months. Given this new variation of Moore’s
Law, answer the following:
a) After successfully completing your computer organization and architecture class, you
have a brilliant idea for a new chip design that would make a processor six times faster
than the fastest ones on the market today. Unfortunately, it will take you four and a
half years to save the money, create the prototype, and build a finished product. If
Moore’s Law holds, should you spend your money developing and producing your chip
or invest in some other venture?
b) Suppose we have a problem that currently takes 100,000 hours of computer time using
current technology to solve. Which of the following would give us the solution first: (1)
Replace the algorithm used in the current solution by one that runs twice as fast and run
it on the current technology, or (2) Wait 3 years, assuming Moore’s law doubles the
performance of a computer every 18 months, and find the solution using the current
algorithm with the new technology?
Answer:
The end