GoConqr has a new look! Let us know what you think.

Flashcards

Variables, constants and data types

Anisha Rai Computing GCSE English 12 cards

Cards in this deck (12)

  1. 1What is a variable?A value that can change when the program is running
    Given by an meaningful identifier
    e.g. surname or length
  2. 2Why should the identifier always be written in the same way?Some computer languages are case sensitive
  3. 3What should join the spaces if the identifier consists of two words?An underscore
    e.g. first_name, tutor_group
  4. 4Where should variables be declared?At the start of a program
  5. 5What does the input command do?Takes user input and assigns it to a variable
  6. 6What is a constant?A value that cannot change when the program is running
    They are also given identifiers
  7. 7What are data types?When variables and constants are declared they may have to be defined as holding data of a particular type
  8. 8What is a string?A series of characters that can be manipulated as a group
    e.g. name = "David"
  9. 9What is a character?A single character
    e.g. initial = "W"
  10. 10What is an integer?A whole number
    e.g. age = 15
  11. 11What is a real?Numbers including a decimal point
    e.g. length = 13.69
  12. 12What is a boolean?Having one or two possible values, usually true or false

Information

Description
GCSE Computing (7 Programming) Flashcards on Variables, constants and data types, created by Anisha Rai on 20/04/2016.
Created by
Anisha Rai
Views
4
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?