Syntax

Description

Flashcards on Syntax, created by I_Jessica_I on 23/09/2015.
I_Jessica_I
Flashcards by I_Jessica_I, updated more than 1 year ago
I_Jessica_I
Created by I_Jessica_I over 9 years ago
3
0
1 2 3 4 5 (0)

Resource summary

Question Answer
# Comments # #Comments# : Always begin with a #. Comments are notes for humans to tell them what the code does computer doesn’t read them.
= Variables = = Variables = : are always set with an = after they are named. Variable is a named value that can be changed.
“Strings” “Strings” are a very special form of variable that holds “Text”. They are always in “ ” (Speech marks) to tell the computer that this is “Text” and not a instruction the print().
(Functions) (inputs) Function() : always have brackets() after their names. Functions are a named command() that may take inputs and/or return an output.
Operators + Plus - Subtract * Multiply / Divide = Equals
Integer Whole number (1)
Float Decimal Number (1.0)
Boolean Something that is either True or False
Integer CamelCase nNumber
Float CamelCase fNumber
Boolean CamelCase bTrueFalse
String CamelCase strText
Show full summary Hide full summary

0 comments

There are no comments, be the first and leave one below:

Similar

Biology Revision - Y10 Mock
Tom Mitchell
Biology- Genes and Variation
Laura Perry
GCSE AQA Biology - Unit 2
James Jolliffe
GCSE AQA Physics - Unit 3
James Jolliffe
GCSE History – Social Impact of the Nazi State in 1945
Ben C
GCSE Biology AQA
isabellabeaumont
Physics Revision
Tom Mitchell
GCSE Biology B2 (OCR)
Usman Rauf
Maths GCSE - What to revise!
livvy_hurrell
9 History- The Treaty of Versailles
melgallagher