Computer Problem Solving
Skills
Arc. Alli Abiodun Ismail
objectives
• Identify a computer program;
• Define a computer programming language;
• Give examples of computer programming languages.
Computer Program
• A computer needs written instructions to perform specific tasks.
These written instructions are called programs.
• Technically, a program is defined as a sequence of instructions written
to perform a specific task with a computer.
• It is an organized list of instructions that, when executed causes the
computer to behave in a predetermined manner.
Examples
• In ALGOL
BEGIN
DISPLAY( “Welcome to Esteem”)
END
• In BASIC
PRINT “Nigeria is great”
• In C
(programming language)
#include <stdio.h>
Int main (void)
{ printf(“Nigeria is greatn”)
{ return 0
Examples cont.
• In Fortran
Program Nigeria
Print*, ‘Nigeria is great’
End program Nigeria
Programming Language
• A programming language is an artificial language that is designed to communicate instructions to a machine,
particularly computer. A programming language can be used to create programs which control the behavior
of a machine particularly a computer.
• Examples
• BASIC;
• Fortran
• Cobol;
• C;
• Pascal
• Algol;
• Logo;
• Assembly language;
• Java;
• Prolog e.t.c
Types of programming languages
Programming Languages
Assembly Language
High-level Language
Machine language

Computer problem solving skills

  • 1.
  • 2.
    objectives • Identify acomputer program; • Define a computer programming language; • Give examples of computer programming languages.
  • 3.
    Computer Program • Acomputer needs written instructions to perform specific tasks. These written instructions are called programs. • Technically, a program is defined as a sequence of instructions written to perform a specific task with a computer. • It is an organized list of instructions that, when executed causes the computer to behave in a predetermined manner.
  • 4.
    Examples • In ALGOL BEGIN DISPLAY(“Welcome to Esteem”) END • In BASIC PRINT “Nigeria is great” • In C (programming language) #include <stdio.h> Int main (void) { printf(“Nigeria is greatn”) { return 0
  • 5.
    Examples cont. • InFortran Program Nigeria Print*, ‘Nigeria is great’ End program Nigeria
  • 6.
    Programming Language • Aprogramming language is an artificial language that is designed to communicate instructions to a machine, particularly computer. A programming language can be used to create programs which control the behavior of a machine particularly a computer. • Examples • BASIC; • Fortran • Cobol; • C; • Pascal • Algol; • Logo; • Assembly language; • Java; • Prolog e.t.c
  • 7.
    Types of programminglanguages Programming Languages Assembly Language High-level Language Machine language