Basic Operations in Programming Languages (AQA A-Level Computer Science): Quizzes

📚Quizzes
Basic Operations in Programming Languages
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

10 questions from this quiz

Show

What is a variable in programming?

A data item whose value can change

Why might adding 2 + 2 give '22' instead of 4?

If values treated as text not numbers

Which symbol is used for multiplication in programming languages?

What does the modulo (MOD) operator return?

Only the remainder from division

Why are pseudo-random numbers unsuitable for cryptography?

They use algorithms making them predictable

What result do relational operations always produce?

TRUE or FALSE

For Boolean AND to return TRUE, what must happen?

Both conditions must be met

When does Boolean XOR return TRUE?

One or other condition met, but not both

What is concatenation in string handling?

Adding strings together to create another

What is the difference between an integer and a float?

Integer is whole; float has fractional part

Join 100,000+ A-Level students studying Quizzes with us.

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