Friday, November 4, 2011

CSIT 534 Operating System (2)

MICROPROCESSOR

CPU is composed of the ALU, accumulator and different kinds of registers (storage, address and general purpose) to process the data from instruction of the program. Dual core or multi core processors are designed for taking multi task works independently or corporately by combining with hyerthreading technology. Hyperthreading takes advantage of the fact that at any one time only part of a CPU’s computational power is being used. This means a dual core processor can simultaneously handle four threads or more if software and hardware are design for it.

PROGRAMMING LANGUAGE

Programs call interpreter and compliers translate commands written in higher level language in to machine language. Generally, complex software consists of one file that contains a master program- the kernel – surrounds by a collection of files that contain subprograms, or routines. The kernel call routines it need to perform certain task.

As a user types information into a program, it is stored as a variable. After a program has information in a variable, it can manipulate it with commands that perform mathematical operations on numbers or parse text string. Parsing is the joining, deletion, or extraction of some of the text characters to use them elsewhere in the program. When a variable is text, it is often called a string.

Interpreter and complier are both software programs that translate program source code that human understand into machine language.

No comments:

Post a Comment