---
title: "Coding - Variables"
url: "https://brookside.cheshire.sch.uk/blog/2023-02-15-11-38-47-coding-variables"
school: "Brookside Primary School"
---

# Coding - Variables

  ![](https://files.schudio.com/brooksideps/images/blog/IMG_0194.JPG)   15 February 2023   [Mr Griffiths](https://brookside.cheshire.sch.uk/blog/author/LukeGriffiths)   [Year 4](https://brookside.cheshire.sch.uk/blog/category/year-4)

This half term in Year 4, we've been looking at variables within our computing lessons.

**What is a variable?** *In programming, a variable is a value that can change, depending on conditions or on information passed to the program.*

We've been creating apps where when our character hits an object, the score would alter. If we ran into a problem with our code, we would have to use our skills and debug the code, then once debugged see if our problem has been resolved.

**What is debugging?** *Debugging is the process of finding and fixing errors or bugs in the source code of any software*

Great work Year 4!

  [Year 4](https://brookside.cheshire.sch.uk/blog/tag/year-4) [Computing](https://brookside.cheshire.sch.uk/blog/tag/computing)

 [![](https://files.schudio.com/brooksideps/imagecache/100x100c/blog/IMG_5738%5B1%5D.JPG)](https://brookside.cheshire.sch.uk/blog/2023-02-15-10-54-37-art-club) Previous

### [Art Club](https://brookside.cheshire.sch.uk/blog/2023-02-15-10-54-37-art-club)

 [![](https://files.schudio.com/brooksideps/imagecache/100x100c/blog/IMG_0015.JPG)](https://brookside.cheshire.sch.uk/blog/2023-02-15-15-26-27-reader-of-the-week-13-2-23) Next

### [Reader of the Week 13.2.23](https://brookside.cheshire.sch.uk/blog/2023-02-15-15-26-27-reader-of-the-week-13-2-23)

### School Life

- [Brookside Blog ](https://brookside.cheshire.sch.uk/blog)
- [News](https://brookside.cheshire.sch.uk/news)
- [Events](https://brookside.cheshire.sch.uk/events)
- [Photograph Galleries ](https://brookside.cheshire.sch.uk/photo-galleries)
- [School Council](https://brookside.cheshire.sch.uk/school-life/school-council)
- [After-School Clubs ](https://brookside.cheshire.sch.uk/school-life/after-school-clubs)
- [KIDZ Club](https://brookside.cheshire.sch.uk/school-life/kidz-club)
- [Calendar](https://brookside.cheshire.sch.uk/calendar)
- [Newsletters](https://brookside.cheshire.sch.uk/information-for-parents/newsletters-2026-2027)
- [Mental Health ](https://brookside.cheshire.sch.uk/school-life/mental-health)

##### Location

 Rostherne Avenue
Great Sutton
Cheshire
CH66 2EE

##### Contact Us

 0151 558 1123
 <schooloffice@brookside.cheshire.sch.uk>

##### Stay Connected

- [Facebook](https://www.facebook.com/groups/brooksideprimary/)

 © Copyright 2014–2026 Brookside Primary School

 School &amp; Trust Websites by [ ![Schudio logo](https://brookside.cheshire.sch.uk/img/logo/light.png) ](https://www.schudio.com/)
