You are on page 1of 3

INFO1150 Guided Reading Assignment Chapter 1-1 Read Chapter 1, pages 1 to 10.

For each question, type in your answer to the following questions in the spaces provided after each question. 1) What feature of a computes makes it such a useful tool to a wide variety of tasks?

2)

What does CPU stand for, and what is its main job?

Central processing unit, it carries out the instruction of a computer program and performs calculations and functions of the computer

3) What are the two main parts of a CPU, and what does each part do? ALU Arithmetic logic unit, it handles and calculates arithmetic operations and fuctions

CU Control unit, it mains order and directs flow of operations and data

4) Briefly describe what happens in each step in the fetch-decode-execute cycle of the CPU. Fetch first step the cup does is fetch the data from the main memory and stores them in registers, data is placed next to the address bus then moves from the main memory along a hardware path called the data bus. Decode CPU makes sence of the instructions by decoding them and prepares various areas for the next step Execute finally the CPU processes the data and carries out the insutrctions which is then stored in another register

5) What does RAM stand for and what is its main function? RAM Random access memory is basically temporary memory, it is what you are acutally using at any one time. 5) Memory is divided into sections made up of groups of eight switches. What is another name for one of these individual switches? bit

2012 FC

7) A collection of eight of these switches is called a ? _______byte___________________8) How does the computer keep track of where it stores data in RAM? --- it stores data using a transistor and capacitor which are paired to create a memory cell which represents a single bit of data. 9) What are the two general categories of software that run on a computer? System software and application software 10) What is the main function of an operating system? handles system resources such as computer memeory and provides GUI, runs applications and stores retrieves and manipulates files. 11) What does the term multi-tasking mean, and how does an operating system manage to do this? Multi tasking allowes operatin system to run more then one program at a time, this is done by time slicing using a kernel system called a scheduler.

12) What exactly is a computer program? a computer program is a series of instructions that a computer can interpret and execute.

13) What is the definition of an algorithm? an algorithm is a procedure or a series of steps for solving a problem. Consist of 1. What tasks are to be done 2. Order in which the tasks are to be done. 14) What is the only language that a CPU can understand, and what are the characters in this languages alphabet? 1s and 0s

15) What was the original intended use for the Java programming language when it was created in 1991? language for control programs for consumer goods such as microwaves and fridges
16) A unique feature of the Java language is that its source code is not compiled into a machine language for any specific CPU. Instead it is compiled to an intermediate language called called java byte code. How is this java byte code then run on a CPU? Each platform will have a machine specific interpreter program called Java Virtal machine JVM or JRA java runtime enviorment . THESE ARE SOFTWARE. The interpreter translates each line of byte code to a processer-specific machine code.

2012 FC

16) When the original use for Java did not work out, what did the development team do with it instead? They used it for the internet and created a web browser called Hot java

17) What is the difference between a Java application and a Java applet?

A java application is able to run stand alone with the support of a virtial machine and a java applet runs under the control of a browser. 18) Can a java applet do harmful things to your computer, such as re-format your hard drive without your permission? Why not? no because they have implemented several security features such as automatic garbage collection and the elimination of pointer arithmetic. 19) What are the five common elements of any computer programming language? variables or objects, expressions, assignments, statements, conditionals 20) How many key words are there in the Java programming language, and what is the rule regarding the letter case in which you have to use when coding with them? 50, case sensitive. 21) Java key words are also known as reserved words. What does reserved mean in this case? Reserved means pre-defined in the languages formal specifications .

22) In Code Listing 1 on page 10, count up the total number of Java key words used in the program. How many are there?

2012 FC

You might also like