MYTUTOR SUBJECT ANSWERS

687 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

9 SUBJECT SPECIALISTS

£26 /hr

Michelangelo M.

Degree: MMath Mathematics with Placement (Masters) - Bath University

Subjects offered:Computing, Maths+ 4 more

Computing
Maths
Italian
Further Mathematics
.STEP.
.MAT.

“Mathematics student at the University of Bath, willing to help you love this subject and improve your grades.”

£36 /hr

Dario P.

Degree: Computer Science (Masters) - Manchester University

Subjects offered:Computing, Maths+ 3 more

Computing
Maths
Italian
ICT
-Personal Statements-

“I am Computer Science Russell Group student with experience in research and industry and strong mathematical skills, I enjoy tutoring and helping students consolidate their knowledge.”

£20 /hr

Juris B.

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

Subjects offered:Computing, Maths

Computing
Maths

“I am a Computer Science at the University of St. Andrews. Before that however, I was a pupil in a school in the North-East of Scotland. With the combined passion and availability of superb teachers - I was given an opportunity to exce...”

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

Project Euler Question 3: What is the largest prime factor of the number 600851475143?

What is the difference between interpreted and intermediate code?

Taken from an AQA paper: A common misconception is that the Internet is the World Wide Web. Explain the differences between the Internet and the World Wide Web.

Describe the process of a binary search.

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