MYTUTOR SUBJECT ANSWERS

595 views

What is the difference between local and global variables?

Local variables are defined within a subroutine. Their scope/visibility ends when the cursor leaves the subroutine.

Global variables on the other hand are variables that exist outside of all the subroutines and functions, and are available to all of them.

Chris D. A Level Computing tutor, A Level Maths tutor, GCSE Maths tut...

1 year ago

Answered by Chris, an A Level Computing tutor with MyTutor


Still stuck? Get one-to-one help from a personally interviewed subject specialist

11 SUBJECT SPECIALISTS

£24 /hr

Matthew M.

Degree: MSci Computer Science (Masters) - Lancaster University

Subjects offered:Computing, Maths+ 3 more

Computing
Maths
Economics
Business Studies
-Personal Statements-

“About Matt: I'm Matt and I am a computer science student at Lancaster University. I have often been described as being friendly and hardworking by my friends, family and work colleagues. Prior to University I worked in the industry as...”

£20 /hr

Thomas T.

Degree: Computer Science (Bachelors) - St. Andrews University

Subjects offered:Computing

Computing

“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

£20 /hr

Thomas P.

Degree: Computing (Bachelors) - Imperial College London University

Subjects offered:Computing, Physics+ 3 more

Computing
Physics
Maths
Further Mathematics
-Personal Statements-

“Computing student at Imperial College London, particularly enjoying the discreet maths course here. A*A*AA in Maths, Further Maths, Physics and Computing.”

About the author

Chris D.

Currently unavailable: for regular students

Degree: Computer Science (with placement) (Bachelors) - Bath University

Subjects offered:Computing, Physics+ 1 more

Computing
Physics
Maths

“First year Computer Science Student, University of BathA*A*A*A in A level Mathematics, Physics, Computing and History.I'd love to pass on my knowledge of my A level subjects to anyone who needs help!I have a wealth of resources an...”

You may also like...

Posts by Chris

Explain the Principle of Moments.

Explain the process of annihilation?

What do the logical operators AND, OR, XOR and NOT do?

What is an equipotential in an electric/gravitational field?

Other A Level Computing questions

What is the difference between a high level language and a low level language?

What do the logical operators AND, OR, XOR and NOT do?

Describe the process of a binary search.

What is the difference between validation and verification?

View A Level Computing tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss

mtw:mercury1:status:ok