[COCO TEEN BLOG]

jueves, 4 de febrero de 2016

Computer Programming

Basic topics:

What´s a cumputer lenguage?
It´s a lenguage that allows you to create programs by using the key words that each one present.
What´s an algoritm?
It´s a logical sequence of a program
What´s a pseudocode?
It´s the writing of the lenguage on paper or another non programming program.

How to write a pseudocode

  • Start the program.
  • Declare the main class, that it´s an important code to operate all the command
  • Cpp: the program extention.

Vocabulary:
  1. Library: contains all the codes for an especific action. ej: <iostream>
  2. Loops: It´s a cycle the user determines to use data a number of times. Ex if(int a=0; a<5;a++) 
  3. Variables: Are the differnet types of data you use in the program to store information. They can be:

    • Int: it´s a varible type that stores integers numbers. ex:1,2, 3,4,-1,-2,-3-4
    • Double:it´s a variable type that store decimal numbers. ex: 2,5;2,3;3,46;etc.
    • Char: it´s a variable type that stores letters or symbols. ex: a, b,c,d
    • Case sensitive: A ≠a
    • Boolean: It´s a variable type that determines two options. ex: T or F
    • String:it´s a variable type that stores an array of different variables. Ex: (1,a,3, 3.5,$) five variables.  


No hay comentarios:

Publicar un comentario

Cute Bow Tie Hearts Blinking Blue and Pink Pointer