Thursday, November 15, 2018

Programming

What is pseudocode


  • Pseudocode is used for create an Outline of a program
  • Pseudocode summarizes a programming flow
  • It's easy to understand a programme


What is Variable

Variables are used to store information to be referenced and manipulated in a computer program. When you assign a variable, you use the = symbol. The name of the variable goes on the left and the value you want to store in the variable goes on the right.


Input/Output

Input mean receiving data from user or out sources.
Output store or print data to out sources


Structured Programming

According to the structure theorem,any computer program can be written using the basic control structures

  • Sequence
  • Selection
  • Repetition

Sequence

This refers to the line by line excution, in which statements are executed sequentially, in the same order in which they appear in the script.


Selection

Selection depenging on whether a condition is ture or false,the selection control structure may skip the excution of an entire block of statements or even execute one block of statements instead of another.


Repetition

This is a control structure that allows the execution of a block of statements multiple times until a specified condition is met.


Reference: launchschool

No comments:

Post a Comment