¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

2.2- Programming Fundamentals

K B Inglés 17 fichas

2.2- Programming Fundamentals

Fichas del conjunto (17)

  1. 1Define variable.A value stored in memory that change while the program is running.
  2. 2Define constant.A value that does not change while the program is running, and is assigned when the program is designed.
  3. 3Define assignment.Giving a variable or constant a value.
  4. 4What is casting?Converting a variable from one data type to another (integer to string).
  5. 5What are the advantages of constants?What are the advantages of constants?
  6. 6Why is casting required?Convert string to integer so that ALU can carry out calculations. Also, using integers are memory efficient as they require less bits of memory.
    Some commands also require data in a particular data type.
  7. 7Recall the 4 data types.Recall the 4 data types.
  8. 8Describe a sequence.Executing one instruction after another in a program.
  9. 9Name the three programming constructs.Selection, Iteration, Sequence
  10. 10Describe selection and give an example.program branching depending on a condition.Describe selection and give an example.
  11. 11What is the switch/select case statement? give an example.A program can branch in more than directions depending on the value of a variable.
    entry is variable A, B,C or D (case tries to match entry)
    What is the switch/select case statement? give an example.
  12. 12Define iteration.Repeating sections of code.
  13. 13What is a FOR loop?Also known as counter controlled loop, it is used when the number of iterations needed are known ahead of the iteration executing.What is a FOR loop?
  14. 14What is a WHILE loop?Also known as a condition controlled loops, they are used when the number of iterations is not known because the variable used to determine when the iteration ends is changing within iteration itself.What is a WHILE loop?
  15. 15Recall common arithmetic operators (7).Recall common arithmetic operators (7).
  16. 16Recall common comparision operators.Recall common comparision operators.
  17. 17Recall string manipulation commands.Recall string manipulation commands.

Información

Descripción
Fichas sobre 2.2- Programming Fundamentals , creado por K B el 30/10/2021.
Creado por
K B
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?