Module 1 Chapter 1 Programming Basics Flashcards Preview

A-Level Computer Science AQA > Module 1 Chapter 1 Programming Basics > Flashcards

Flashcards in Module 1 Chapter 1 Programming Basics Deck (4)
Loading flashcards...
1
Q

What is an algorithm?

A

An algorithm is a set of rules or a sequence of steps specifying how to solve a problem. They all have input, processing and output.

2
Q

Give five examples of the different data types used in programming

A
  • Integer
  • Real/ Float
  • Boolean
  • Character
  • String
3
Q

What are variables?

A

Identifiers given to memory locations whose contents will change during the course of the program.

4
Q

What are constants?

A

Identifiers given to memory locations whose contents never change during the course of the program. Not all programming languages allow you to define constants.

Decks in A-Level Computer Science AQA Class (36):