Fundamental Programming Concepts (OCR GCSE Computer Science): Flashcards

📚Flashcards
Fundamental Programming Concepts
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

13 cards from this deck

Show

Variable

Named storage location in memory holding changeable data

Constant

Named value that doesn't change during program execution

Key difference: variable vs constant

Variable value can change; constant value stays fixed

Operators

Symbols that perform operations on variables or values

Arithmetic operators

  • (add), - (subtract), * (multiply), / (divide)

Comparison operators

== (equal), != (not equal), < (less), > (greater)

Boolean operators

AND, OR, NOT

Inputs

Data/values user or system provides to program during execution

input() function purpose

Captures user input in most high-level languages

Outputs

Results/info program sends to user or another system

print() function purpose

Displays output in many programming languages

Assignment

Process of storing a value in a variable using =

Assignment operator

=

Explore OCR GCSE Computer Science Revision Notes by Topics

Explore OCR GCSE Computer Science Model Answers by Topics

Explore OCR GCSE Computer Science Quizzes by Topics

Explore OCR GCSE Computer Science Exam Questions by Topics

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.