Program and Programming Language

Published by: BhumiRaj Timalsina

Published Date: 14 Jan 2022

Program and Programming Language in Grade 9, Reference Note

Program is the specific set of instructions, understandable to computer. It is used to produce desired results. Person who codes instructions using syntax of any computer languages is called programmer. In this way, programmer is a human ware dedicated for software development.

Features of good programming Languages

Some special features of good programming languages are given below:

  1. It should be simple for learning and coding.
  2. It should use some natural languages if possible to develop the program.
  3. It should be efficient for program development.
  4. It should be suitable for program development.
  5. It should occupy less space to store and processes.


Terms used on programming

  1. Syntax

    The syntax is a rule that indicates about validity of programs. The program is a set of instructions that follow valid syntax rules or grammar to write the code. Generally, syntax is a valid program strings and it differs language to languages.

    On MSDOS, C:\DIR [Drive name] is a syntax.

  2. Semantics

    The rules that give meaning to programs are called the semantics of the programming languages. We can say syntax has specific output oriented meaning, which is called semantics. It defines the statements used on the program.

    sum=x+y: the semantics tells that sum of x and y is assigned to variable sum.

  3. Bugs and Debugging

    When we compile program, error messages are displayed due to syntax error which are called bugs. The process to correct such errors is called debugging. Some compilers are equipped with debugger to remove programming errors. These compilers diagnose errors and debug them carefully.

  4. Types of Errors

    Some mistakes, unrecognized words used in the program are called errors on the program. These are three types of errors.

    • Syntax Error :Errors due to the bad command format or bad instructions and sign are syntax errors. It is very easy to detect syntax errors because program will stop to work when it gets the syntax errors.
    • Run time Errors :The errors appeared at the time of program execution is called run-time errors. Compilers and compilers do not detect these types of errors because these types of errors are not appeared due to syntax rules. It is due to system input type and the output system.
    • Logical Errors :The incomplete logic codes produce logical errors in program . These types of errors provide incorrect output. The compiler and interpreter are unable to detect these types of errors. It is very difficult to detect such errors because we have to detect it after getting output only.


Programming Language

Language is a medium of communication. There are several languages developed in separate environment and geographical conditions. Nepali, Newari, Maithili, Bhojpuri, Urdu, English, etc are examples of natural languages where as BASIC, FORTRAN, COBOL, LISP, C, C++, C#, JAVA etc are artificial or fabricated languages.

Important Technical Terms

  1. The process of writing programs. (Programming)
  2. The process of finding & correcting errors in the program. (Debug)
  3. Set of rules or general format used to write program in HLL. (Syntax)
  4. Errors or mistakes in the program. (Bugs)
  5. A native programming language. (Machine level language)
  6. A machine independent and problem oriented language. (High level)
  7. A programming language that uses alphanumeric codes for writing programs. (Assembly language)
  8. The process of running the program to see output or result. (Execution)
  9. The program which does translation of any language to machine code. (Language processor)