Engineering in Kenya

Basics of Computer Science

Posted by on Apr 6, 2018 in Computer Science | 0 comments

300x250 animated Basics of Computer Science

The main objective of learning the Basics of Computer Science is to understand the basic operations of a computer, to be able to operate a computer using basic and advanced DOS commands, prepare and present a document using a word processor, prepare and present a spreadsheet and learn how to use an application package alone. Engineering in Kenya has more information.

 

System Software in Basics of Computer Science

These are general programs written for the system, which provide the environment to facilitate writing of application software of Basics of Computer Science. They include: -

  • The Compiler is a translator system program used to facilitate a high-level language program into a machine language program.
  • The Assembler is another translator system program used to translate an assembly language program into machine language program.
  • The Interpreter which is also a translator program is used to translate a high-level language program into a machine language program but it translates and executes line by line.
  • The Loader is a system program used to store the machine language program into the memory of the computer.

 

Application Software in Basics of Computer Science

In Basics of Computer Science, it is the set of programs necessary to carry out operations for a specified application. Example programs for Basics of Computer Science: -

  1. Word processing;
    • Microsoft word
    • Word perfect
  2. Presentation software
    • PowerPoint
    • Freelance
  3. Browsers
    • Internet explorer
    • Netscape

 

Software Development for Basics of Computer Science

Major activities

  • Editing (writing the program)
  • Compiling (creates the object file)
  • Linking the compiled files (creates executable file)
  • Loading and executing
  • Testing the program

 

Computer languages in Basics of Computer Science

Basics of Computer Science

Basics of Computer Science1 Basics of Computer ScienceThey are three, namely;

  • Machine language
  • Assembly language
  • High-level language

 

Machine Language

The computer can execute a program written using binary digits only. For Basics of Computer Science this type of program is called machine language program. Since these programs use only ‘0’s and ‘1’s, it will be very difficult to develop programs for complex problem solving. Also, it will be difficult for a person to understand a machine language program written by another person. At present computer users in Kenya do not write programs using machine language. Also, for Basics of Computer Science, these programs cannot be used on another type of computer i.e. the programs were machine independent.

 

 

 

 

 

ADD operation          value of 1st operand   address to store result

 

Assembly Language

In assembly language for Basics of Computer Science, mnemonic codes are used to develop program for problem solving. The program given below shows assembly language program for Basics of Computer Science, to add two numbers A and B;

 

Program code Description
READ A It reads the value of A
ADD B The value of B is added with A
STORE C The result is stored in C
PRINT C The result in C is printed
HALT Stop execution

 

Assembly language in Basics of Computer Science is designed mainly to replace each machine code with an understandable mnemonic code. To execute an assembly language program in Basics of Computer Science, it should first be translated to an equivalent machine language program. Writing and understanding programs in assembly language is easier than that of machine language. The programs written in assembly language are also machine-dependent.

 

High Level Languages for Basics of Computer Science

High level languages in Basics of Computer Science are developed to allow application programs which are machine independent. High level language for Basics of Computer Science permits the user to use understandable codes using the language structure. In order to execute a high level language program, it should be translated into a machine language either using a compiler or interpreter. The high level languages commonly used for Basics of Computer Science include: -

  • FORTRAN – (FORmula TRANslation)
  • BASIC – (Beginners All-purpose Symbolic Instruction Code)
  • COBOL – (COmmon Business Oriented Language)

Recently developed programming language for Basics of Computer Science such as

  • Visual FoxPro
  • Visual Basic (VB)
  • Visual C++ (VC++) are more popular among the software developers for Computer Science in Kenya.

 

The following program written in BASIC language is to add two given numbers;

Program code Description
INPUT A,B To read the value of A&B
LET C=A+B A&B are added and result is stored in C
PRINT C Print the value of C
END Stop execution

 

Conclusion on Basics of Computer Science

The Basics of Computer Science equip one with knowledge both in the efficient designing of software and in the techniques one can apply to all other aspects of software design, development and verification (testing). One should also learn enough about hardware in order to utilize more of its potential using personal software designs. The basics are easy. Software development and study is part of Basics of Computer Science.

Basics of Computer Science

 

The main objective of learning the Basics of Computer Science is to understand the basic operations of a computer, to be able to operate a computer using basic and advanced DOS commands, prepare and present a document using a word processor, prepare and present a spreadsheet and learn how to use an application package alone.

 

System Software in Basics of Computer Science

These are general programs written for the system, which provide the environment to facilitate writing of application software of Basics of Computer Science. They include: -

  • The Compiler is a translator system program used to facilitate a high-level language program into a machine language program.
  • The Assembler is another translator system program used to translate an assembly language program into machine language program.
  • The Interpreter which is also a translator program is used to translate a high-level language program into a machine language program but it translates and executes line by line.
  • The Loader is a system program used to store the machine language program into the memory of the computer.

 

Application Software in Basics of Computer Science

In Basics of Computer Science, it is the set of programs necessary to carry out operations for a specified application. Example programs for Basics of Computer Science: -

  1. Word processing;
    • Microsoft word
    • Word perfect
  2. Presentation software
    • PowerPoint
    • Freelance
  3. Browsers
    • Internet explorer
    • Netscape

 

Software Development for Basics of Computer Science

Major activities

  • Editing (writing the program)
  • Compiling (creates the object file)
  • Linking the compiled files (creates executable file)
  • Loading and executing
  • Testing the program

 

Computer languages in Basics of Computer Science

They are three, namely;

  • Machine language
  • Assembly language
  • High-level language

 

Machine Language

The computer can execute a program written using binary digits only. For Basics of Computer Science this type of program is called machine language program. Since these programs use only ‘0’s and ‘1’s, it will be very difficult to develop programs for complex problem solving. Also, it will be difficult for a person to understand a machine language program written by another person. At present computer users in Kenya do not write programs using machine language. Also, for Basics of Computer Science, these programs cannot be used on another type of computer i.e. the programs were machine independent.

 

 

 

 

 

ADD operation          value of 1st operand   address to store result

 

Assembly Language

In assembly language for Basics of Computer Science, mnemonic codes are used to develop program for problem solving. The program given below shows assembly language program for Basics of Computer Science, to add two numbers A and B;

 

Program code Description
READ A It reads the value of A
ADD B The value of B is added with A
STORE C The result is stored in C
PRINT C The result in C is printed
HALT Stop execution

 

Assembly language in Basics of Computer Science is designed mainly to replace each machine code with an understandable mnemonic code. To execute an assembly language program in Basics of Computer Science, it should first be translated to an equivalent machine language program. Writing and understanding programs in assembly language is easier than that of machine language. The programs written in assembly language are also machine-dependent.

 

High Level Languages for Basics of Computer Science

High level languages in Basics of Computer Science are developed to allow application programs which are machine independent. High level language for Basics of Computer Science permits the user to use understandable codes using the language structure. In order to execute a high level language program, it should be translated into a machine language either using a compiler or interpreter. The high level languages commonly used for Basics of Computer Science include: -

  • FORTRAN – (FORmula TRANslation)
  • BASIC – (Beginners All-purpose Symbolic Instruction Code)
  • COBOL – (COmmon Business Oriented Language)

Recently developed programming language for Basics of Computer Science such as

  • Visual FoxPro
  • Visual Basic (VB)
  • Visual C++ (VC++) are more popular among the software developers for Computer Science in Kenya.

 

The following program written in BASIC language is to add two given numbers;

Program code Description
INPUT A,B To read the value of A&B
LET C=A+B A&B are added and result is stored in C
PRINT C Print the value of C
END Stop execution

 

Conclusion on Basics of Computer Science

The Basics of Computer Science equip one with knowledge both in the efficient designing of software and in the techniques one can apply to all other aspects of software design, development and verification (testing). One should also learn enough about hardware in order to utilize more of its potential using personal software designs. The basics are easy. Software development and study is part of Basics of Computer Science.