top-rated free essay

Assignment 1

By georgesco19 Apr 02, 2014 616 Words

Written Assignment 1
MMIS 501

Written Assignment 1 covers a few topics within the first two chapters of the text. The topics related to this written assignment 1 are CPU, fetch-and-execute- cycle, High-level languages and machine languages, the importance of Java, and platform-independent language. The first question asks “What is a CPU and what role does it play in a computer?” The CPU is an acronym for Central Processing Unit. The CPU works in conjunction with the Main memory of a computer to execute programs on at a time. A CPU is not directly used by the user and would not work without supporting devices which are called peripherals. The Central Processing Unit made up of three components which are the control unit, the registers, and the arithmetic/logic units. The control unit acts as a middle man between the main memory and the registers by transferring data and instructions. Along with that the control unit directs the data storage in particular registers to be done by the arithmetic/logic unit. The next component is the register’s serve as small storage areas with specific purposes, an examples is an instruction register which holds the current instruction being executed (Lewis &Loftus, 2013). The arithmetic/ Logic unit is in charge of making decisions and performing calculations. The next question asks “What is meant by the fetch- and execute cycle?” According to the text it is actually called the “fetch-decode-execute cycle.” It serves as one of the main functions of the CPU. This process starts with and instruction being “fetched” from the main memory at a specific address that is stored in the program counter, which it is then put into the instruction register ( Lewis & Loftus, 2013). This instruction goes to the next phase which is where it gets decoded and a specific operation is then completed. The control unit then executes the instruction by activation of the proper circuitry. The third question asks to explain the difference between High-level languages and machine languages. A high-level language is conveyed in English phrases or simply letters. High-level languages are easier to read and write. Machine language is translated in binary digits and is harder for users to understand it, let alone read and write it. While High-level language is short and to the point, machine language is long and unreadable. Something important to point out is that in order for high-level language to work the code must be translated into machine language. The next question asks “What are some things that have made java so popular?” The popularity of Java has grown over the years due in part with easy to use ways. Its core and fundamentals came from C++, but users found that hard to use. Java developers made a simpler version for programming that developers could use. Along with its high security, Java is also object oriented which basically means it focus is on objects before anything else. Java has grown very popular with the internet because it gives developers the opportunity to make animated webpages, making the internet more interactive. The last question asks what the meaning of platform-independent language is. A platform- independent language refers to not having any restriction when carrying out programs imposed by the operating system as they would normally do with platform dependent languages. Java falls under the category of a platform-independent language because Java source code in translated to java bytecode by the compiler. The Java virtual machine reads the bytecode and executes the program. Java bytecode isn’t attached to a specific processor making it accessible to many different computers as long as there is Java interpreter or a bytecode compiler.

APA citation
Lewis, J., & Loftus, W. (2013). Java software solutions, foundations of program design. Addison-Wesley.

Cite This Document

Related Documents

  • 5 Written Assignment 5 Unit 5001V1 Revision 1

    ...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: 13t...

    Read More
  • Assignment Ethics

    ...[pic] ASSIGNMENT SUBMISSION AND ASSESSMENT _________________________________________________________________________ OUMM3203 PROFESSIONAL ETHICS (PLEASE EDIT WHERE NECESSARY-THIS IS ONLY SUGGESTIONS FOR THE ASSIGNMENT’S GENERAL INSTRUCTIONS) _________________________________________________________________________ INSTRUCTIONS TO S...

    Read More
  • PT 1420 Assignment 3

    ...specify in a variable declaration? You must specify the variable type and an identifier. int n; // type - int, identifier - n 6. What value is stored in uninitialized variables? is a variable that is declared but is not set to a definite known value before it is used. Algorithm workbench 3. Write assignment statements that perform the fol...

    Read More
  • Week 5 Assignments New

    ...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 ...

    Read More
  • MKT 571 Quizzes week 1 6

    ...Quiz Week 1   1 One of the most critical steps in the defining process of market research is  defining the problem, the decision alternatives, and research objectives  2 ​ Wabash Bank would like to understand if there is a relationship between the advertising or promotion it  does and the number...

    Read More
  • Mat 222 Week 1 Assignment

    ...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 th...

    Read More
  • benetton images 1

    ...15 Exhibit: II Benetton’s famous advertisements Picture 1 Globe Campaign (1986) Picture 3 A black hand and a white hand linked by handcuff Picture 2 Israeli and Arab (1987) Picture 4 Black and White Hand (1990) (1989) Picture 5 An angelic-looking white child embracing a black one whose hair shaped into devil's horns created a lot of cons...

    Read More
  • APUSH Chapter 1 Cornell Notes

    ...  Mikaela Duguil  Period: 6          Chapter 1 Cornell notes  1. What was not an important goal of the early English explorers and colonists? It was  not an important goal to build a new nation.  2. Discuss the factors that transformed the colonist and caused them to envision and  creating an i...

    Read More

Discover the Best Free Essays on StudyMode

Conquer writer's block once and for all.

High Quality Essays

Our library contains thousands of carefully selected free research papers and essays.

Popular Topics

No matter the topic you're researching, chances are we have it covered.