Follow Us

if statements in programming Execution

Simple if statement

If the test condition is true,the statement block will be executed,otherwise the statement block may be skipped


statement block;

If-else Statement:

If the test condition is true ,then true block will be executed,otherwise the false block will be executed


true block statement;
false statement;

Types of Programming Languages

The FORTRAN was developed by a team of programmers at IBM led by John Backus, and was first published in 1957. The name FORTRAN is an acronym for FORmula TRANslation, because it was designed to allow easy translation of math formulas into code.

Programming Languages:

·        Procedural Programming Language.
·        Object-oriented Programming Language.
·        Scripting Programming Language.
·        Functional Programming Language.

Procedural Programming Language:

Examples: Fortran, ALGOL, COBOL and BASIC. Pascal and C

Object-oriented Programming Language.:

Examples: Java, C++, C#,  Python, Ruby, Scala, Smalltalk, Eiffel, Emerald, JADE, Self.,Delphi/Object Pascal, VB.NET.

Scripting Programming Language:

Examples: JavaScript, ASP, JSP, PHP, Perl, Tcl and Python

Functional Programming Language.

Examples:Lisp, Python, Erlang, Haskell, Clojure, etc. ...

Types of programming errors

Three types of  Errors:

There are basically three types of errors that you must contend with when writing computer programs:
·        Syntax errors
·        Runtime errors
·        Logic errors

Recent Posts