Photo AI

Last Updated Sep 26, 2025

Key Concepts and Syntax Glossary Simplified Revision Notes

Revision notes with simplified explanations to understand Key Concepts and Syntax Glossary quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

373+ students studying

Key Concepts and Syntax Glossary

Below are key concepts and the syntax used in OCR Exam Reference Language, based on Python. This reference language is simplified for use in exams to help focus on logic and problem-solving without needing external libraries or complex syntax.

Operators

TypeSymbolsDescription
Comparison==, !=, <, <=, >, >=Used to compare values.
Arithmetic+, -, *, /, ^, MOD, DIVBasic mathematical operations like addition, subtraction, multiplication, division, exponentiation, modulo, and integer division.
BooleanAND, OR, NOTLogical operators are used in conditions.

Variables and Input/Output

ConceptKeywords/SymbolsExample
Assignment=x = 3
Inputinput(…)name = input("Enter name")
Outputprint(…)print("Hello " + name)
Constantsconstconst vat = 0.2
Global Variablesglobalglobal userID = "Cust001"

Iteration (Loops)

TypeKeywords/SymbolsExample
FOR loopfor … to …, next …for i = 0 to 9
print(i)
next i
WHILE loopwhile … endwhilewhile answer != "Yes"
answer = input("New answer")
endwhile
DO UNTIL loopdo … until …do
answer = input("New answer")
until answer == "Yes"

Selection (Conditions)

ConceptKeywords/SymbolsExample
IF-THEN-ELSEif … then, elseif … then, else, endifif x > 10 then
print("Large")
else
print("Small")
endif
CASE/SWITCHswitch … case …, default, endswitchswitch day:
case "Sat": print("Saturday")
case "Sun": print("Sunday")
default: print("Weekday")
endswitch

String Handling

ConceptKeywords/SymbolsExample
Length.lengthsubject.length returns 15
Substring.substring(x, i)subject.substring(3,5) returns "put"
Concatenation+print("Hello " + name)
Uppercase/Lowercase.upper, .lowersubject.upper() returns "HELLO"

Arrays

ConceptKeywords/SymbolsExample
Array Declarationarray …array colours[5]
2D Array Declarationarray … […,…]array gameboard[8,8]
Array Assignmentarray[…]=…gameboard[1,0] = "Pawn"

Subprograms

ConceptKeywords/SymbolsExample
Procedureprocedure name(…), endprocedureprocedure greet()
print("Hello")
endprocedure
Functionfunction name(…), returnfunction squared(number)
return number^2
endfunction

File Handling

ConceptKeywords/SymbolsExample
Open Fileopen(…)myFile = open("file.txt")
Read Line.readLine()myFile.readLine()
Write Line.writeLine(…)myFile.writeLine("Add this line")
Close File.close()myFile.close()
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master Key Concepts and Syntax Glossary

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

30 flashcards

Flashcards on Key Concepts and Syntax Glossary

Revise key concepts with interactive flashcards.

Try Computer Science Flashcards

3 quizzes

Quizzes on Key Concepts and Syntax Glossary

Test your knowledge with fun and engaging quizzes.

Try Computer Science Quizzes

29 questions

Exam questions on Key Concepts and Syntax Glossary

Boost your confidence with real exam questions.

Try Computer Science Questions

27 exams created

Exam Builder on Key Concepts and Syntax Glossary

Create custom exams across topics for better practice!

Try Computer Science exam builder

13 papers

Past Papers on Key Concepts and Syntax Glossary

Practice past papers to reinforce exam experience.

Try Computer Science Past Papers

Other Revision Notes related to Key Concepts and Syntax Glossary you should explore

Discover More Revision Notes Related to Key Concepts and Syntax Glossary to Deepen Your Understanding and Improve Your Mastery

96%

114 rated

OCR Exam Reference Language

Command Words Glossary

user avatar
user avatar
user avatar
user avatar
user avatar

369+ studying

194KViews
Load more notes

Join 500,000+ GCSE students using SimpleStudy...

Join Thousands of GCSE Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered