Programming Fundamentals & Data Types (OCR GCSE Computer Science): Flashcards

📚Flashcards
Common Operators
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

What are the three main types of operators?

Arithmetic, comparison, and Boolean

What does the MOD operator do?

Returns the remainder of a division

What does the DIV operator do?

Returns the integer part of a division

What symbol represents exponentiation?

^

What type do comparison operators return?

Boolean value (True or False)

What does the == operator check?

If two values are the same

What does the != operator check?

If two values are different

When does the AND operator return True?

Both conditions are True

When does the OR operator return True?

At least one condition is True

What does the NOT operator do?

Reverses the Boolean value

What is the purpose of arithmetic operators?

Perform mathematical calculations

What is the purpose of comparison operators?

Compare values and return True or False

What is the purpose of Boolean operators?

Combine or reverse conditions

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.