In this presentation:
Identify and name variables and constants
Recognise the need for descriptive identifiers
Be able to assign input to a variable and output it
Recognise the need for Variables and Constants
C/W 2.2 - Programming Fundamentals (L1 Variables)
Success Criteria:
• Identify and name variables and constants Yo
• Recognise the need for descriptive identifiers Sch
• Be able to assign input to a variable and output it
• Recognise the need for Variables and Constants Lo
Recap Activity: Self-Assess:
Background Knowledge…
… …
Million £££ Question…
…
…
,L1 - Variables (Vocabulary)
A variable is a location in memory that holds one or more values. It h
Variable or name to identify it and its values can be changed as the program r
A constant is a location in memory that holds a value. It has a label o
Constant identify it, and its value cannot be changed as the program runs.
Operators are used for addition, subtraction, multiplication and divis
Operators Addition + Subtraction -
Multiplication * Division/
A Boolean operator carries ot a logical operation on its arguments. B
Boolean operator operators return TRUE or FALSE. There are no completely standard s
Boolean operators in programming, but popular ones are: AND, OR,
Assignment operators assign values. The simplest assignment operat
Assignment
Example: firstname = “Julie”. This will copy the value “Julie” into the
operator called firname.
, L1 - Variables
Word Finder
Click to Reveal Answ
Find the word in the puzzle.
Words can go in any direction.
Words do not share letters.
• assign • camelcase • chan
• character • code • colle
• constants • containers • data
• data • digital • highl
• idle • input • list
• lowlevel • output • pasc
• programmer • python • recor
• snakcase • store • unde
• value • variable
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ijoyan. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.11. You're not tied to anything after your purchase.