Programming Basics

Subdecks (1)

Cards (17)

  • Memory is a location where data is stored
  • Algorithm a sequence of steps that can be followed to complete a task
  • Assignment is giving a value to a variable or constant
  • Debug is the process of finding errors
  • Benefits of meaningful variable names: your code is more readable and clear, important for when you share data with other people and its easy to reuse the code. Also makes it easier to debug and spot errors.
  • Iteration means loop
  • Indefinite iteration repeats until conditions are met
  • Definite integration repeats a set number of times
  • Rnd() - means random
  • A subroutine is a small program that is called by the main program to perform a specific task
  • Functions return values, procedures dont
  • Parameter is data that is passed to a subroutine
  • Exception handling is a technique used to handle errors
  • Subroutines break up code into manageable blocks of code, making it easier to manage and maintain