easyFPSCNTSCSSPPSCFIAOTSIBASTSECATProgramming & Databases
Answer explanation
Explanation included
Practice quiz ready
Question

What is the primary difference between a constant and a variable?

AA constant cannot store data
BA variable cannot have a name
CA constant is not intended to change after assignment
DA variable always contains text

Choose an option to check yourself, or reveal the answer and explanation instantly.

Continue practising this MCQ topic

Use these links to review the full topic, start a timed quiz, or open the exam hub connected with this question.

Previous
What does a data type define?
Next
What is a variable in programming?

Related Programming & Databases MCQs

View all

Test Yourself

Take a full quiz on Programming & Databases

Start Quiz

Exam Coverage

Trust

Answer is visible after reveal
Explanation helps learning
Free topic quiz available

Subject

Programming & Databases

Save your progress

Create a free account to bookmark MCQs and track weak areas.

Register Free
Start QuizNext MCQ
Answer and explanation

Correct Answer: C: A constant is not intended to change after assignment

Explanation: A constant represents a value that should remain unchanged after it has been defined, while a variable may receive different values during program execution. Constants improve readability and help prevent accidental changes to important values such as configuration limits or mathematical constants.

Continue practice

More Programming & Databases MCQs with answers

Use these links to review related questions, practise the full topic, or open the exam preparation pages connected with this MCQ.

Related questions

Topic and exam paths