The Von Neumann architecture

The Von Neumann architecture is a design model for general purpose computing machines that uses shared memory for instructions and data and is the basis of modern computer architecture. It has four parts: the arithmetic logic unit (ALU) that performs all arithmetic operations and comparisons, the control unit (CU) that fetches and decodes instruction and data from the memory before passing the proper command for the ALU to execute or passes information to the I/O controllers, the memory that stores instructions and data, and the input/output devices.

In modern times, the CU and ALU are integrated into a single device called the processor.

The architecture uses system bus for communication between its components, especially between the control unit and the remaining components. Data and instructions are transferred in bus as digital signals. There are three types of busses: the address bus transports memory addresses which the CU wants to access to read or write data or instructions; the data bus transfers data and instructions between the CU and the other components (memory, ALU, or I/O); and the control bus which carries the order from CU to the other components and the responses from the other components back to the CPU.

Get quality help now
Writer Lyla
Verified writer

Proficient in: Architecture

5 (876)

“ Have been using her for a while and please believe when I tell you, she never fail. Thanks Writer Lyla you are indeed awesome ”

+84 relevant experts are online
Hire writer

Question 2 1. For the integer values 0, 99 an 127, represented in decimal a) Provide their representation in binary in an 8-bit, two’s complement system. 0 = 0000 0000 99 = 0110 0011 127 = 0111 1111 b) Calculate the two’s complement of each of the bit strings just obtained, and explain what these new bit strings represent. 0 = 0000 0000 99 = 1001 1101 127 = 1000 0001 These new bit strings are how the numbers 0, -99, -127 are represented in computers.

Get to Know The Price Estimate For Your Paper
Number of pages
Email Invalid email

By clicking “Check Writers’ Offers”, you agree to our terms of service and privacy policy. We’ll occasionally send you promo and account related email

"You must agree to out terms of services and privacy policy"
Write my paper

You won’t be charged yet!


Using the Web as a resource for your investigation, discuss the different characteristics of the JPEG and PNG representations of images, and describe the types of images that would be best suited to each. JPEG uses compression methods for images stored in this format. The compression method usually results into loss of some data that causes the image to pixelize, especially along the edges. On the other hand, PNG uses lossless compression method ensuring the image to be of highest quality.

It has two types: the 8-bit format that is capable of displaying only up to 256 colors, and the 24-bit format capable of displaying millions of colors. However, because compression is lossless, PNG is not capable of reducing file sizes as much as JPEG does. JPEG also has the capability of storing images with virtually no defects by setting image quality to 100 percent. In this case, JPEG is best suited in saving photograph images saving more disk space and allowing faster downloads when used and shared over the internet. The 8-bit PNG is preferable for images or simpler graphics that uses only 256 colors or less.

The 24-bit PNG is best if one does not want to sacrifice quality over the reduction in file size. Question 3 Describe how the selection sort and bubble sort algorithms would work on an array that is already in sorted order. To make the problem definite consider an array containing the values 1, 2, 3, 4, and 5 in that order. Describe how the selection sort and bubble sort algorithms would work on this array. Discuss any features of each algorithm that can be used to enable a full implementation of the algorithm to be avoided when the array is already sorted.

Selection sort would still have to undergo the full implementation of the algorithm even if the list is already on a sorted order while bubble sort would only have to undergo the loop in its algorithm. For example, in an array containing 1, 2, 3, 4, 5 in order, selection sort would select the lowest number from the first position to the last which is 1 and already in the correct position. The process would be repeated but would start on the second position, instead of the first, on the second pass.

On the other hand bubble sort would start by comparing 1 and 2 and would not make a swap since it is in order, then compares 2 and 3, 3 and 4, and 4 and 5. This process is during the first pass in the bubble sort loop and would terminate after it since no swap was made. Selection sort algorithm has no way of determining whether the remaining part of the list is already in sorted order even when no swap is made after any portion of its loop such that it has to undergo the whole process to ensure that the list is in sorted order.

Cite this page

The Von Neumann architecture. (2016, Sep 24). Retrieved from

The Von Neumann architecture

👋 Hi! I’m your smart assistant Amy!

Don’t know where to start? Type your requirements and I’ll connect you to an academic expert within 3 minutes.

get help with your assignment