Videos Related with Program and Programmer

Note on Program and Programmer

  • Note
  • Things to remember
  • Videos
  • Exercise
  • Quiz

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.

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

    Example
    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)

  • 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.
  • The syntax is a rule that indicates about validity of programs.
  • The rules that give meaning to programs are called the semantics of the programming languages.
  • 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.
  • These are three types of errors.
  • Syntax Error, Run time Error or Execution Error, and Logical Errors.
.

Very Short Questions

Program is a set for instruction given to a computer to perform specific task. A program tells the computer what to do.
The process of writing a program using a series of instruction code i.e. keyword, in a computer language to perform certain task is known as programming.

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.

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.

0%
  • Errors due to the bad command format or bad instructions and sign are _______.

    Run time Error
    None of the answers are correct

    Syntax Error
    Logical Errors
  • The rules that give meaning to programs are called _______.

    none of the answers are correct
    syntax
    bugs
    semantics
  • Which of the following language is artificial language to communicate with computer?

    Machine Language
    High-level Language
    Assembly Language
    Computer Language
  • Computer dependent language written in binary is _______.

    Assembly Language
    Computer Language
    Machine code language
    High-level Language
  • The process to correct errors while running program is called ______.

    Buffering
    Debugging
    None of the answers are correct
    Programming
  • You scored /5


    Take test again

DISCUSSIONS ABOUT THIS NOTE

You must login to reply

Forum Time Replies Report
durga

What is program language?


You must login to reply

David jung

what are the advantages of high level language?


You must login to reply