• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back
Name five basic programming terms

* Identifier


* Variables


* Constants


* Data Types


* Casting

What is an identifier?
An identifier is a name given to variables, constants, functions and procedures.
What are variables?

Variables are identifiers that refer to a location in memory containing a value that can be accessed or changed during the running of the program.


EG - A total


What is a constant?
A constant is an identifier that can refer to a location in memory containing a value that can be accessed BUT NOT CHANGED during the running of the program.
EG - VATRate
What will the computer do when you declare a variable?
The computer will allocate some memory large enough to hold the data and assign that memory the identifier decided by the user.
What are the differences between a variable and a constant?

Variables can be changed during the running of a program, a constant cannot be changed during the running of a program.




Constants must be given a value when its declared. A variable must be declared but can be assigned a value when the program is running.

State all data types.

* String


* Char


* Integer


* Real/double


* Date


* Boolean

Casting

Language have functions to let you switch between data types.


Arithmetic Operations

* + ---> Add


* - ---> Subtract


* / ---> Divide with at least one decimal


* ^ ---> Exponent


* * ---> Multiply


* / (DIV) ---> DIV how many times does the number on the right go in the number on the left


* % (MOD) ---> MOD returns the remainder after division