What is the difference between a variable and an identifier?

A variable is a memory location given a name and a data type. Once a variable has been declared its contents may be modified using its name.
An identifier is the name you give a variable. (In the case of Visual Basic and most other languages this needs to start with a letter and can contain numbers or underscores).

CD
Answered by Chris D. Computing tutor

8710 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Why are bit patterns often displayed in hexadecimal notation instead of binary notation?


What is recursion and why is it useful?


Explain why it is important to check the email address with JavaScript and again when it reaches the server.


Write a small program, in pseudocode or otherwise, that demonstrates a recursive algorithm. Write a small explanation of how recursion is used in your program.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning