MYTUTOR SUBJECT ANSWERS

429 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

17 SUBJECT SPECIALISTS

£20 /hr

Jack C.

Degree: Interactive Media (Bachelors) - York University

Subjects offered:Computing, Italian+ 1 more

Computing
Italian
ICT

“I'm Jack Cooper, I am a student at the University of York in Interactive Media. I speak both English and Italian and am proficient in computer related studies.”

MyTutor guarantee

£20 /hr

Harry R.

Degree: Mathematics and Computer Science (Masters) - Durham University

Subjects offered:Computing, Physics+ 1 more

Computing
Physics
Maths

“About Me: I am a Maths and Computer Science student at Durham University and I have always enjoyed problem-solving and the reward of solving a problem that I perhaps didn't think I could. I am very patient and friendly. I have volunte...”

Christopher P. A Level Maths tutor, GCSE Maths tutor, GCSE History tu...
£20 /hr

Christopher P.

Degree: Computer Science (Bachelors) - Warwick University

Subjects offered:Computing, Maths+ 1 more

Computing
Maths
History

“About me: I am a Computer Science student currently studying at Warwick University. I've always had a passion throughout my education for Maths and Computing, as the vast array of ideas that you can bring to life through programming i...”

MyTutor guarantee

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 an Algorithm?

What is an OOP (Object Oriented Programming) language?

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

What is the difference between an array and a record?

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