Back to the full dot-point answer
EnglandComputer ScienceQuick questions
2.2 Programming fundamentals
Quick questions on Variables, constants and data types - OCR GCSE Computer Science J277
3short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is q1?Show answer
State the most appropriate data type for storing a temperature such as 21.5 degrees. [1 mark]
What is q2?Show answer
State the difference between a variable and a constant. [1 mark]
What is q3?Show answer
A user types their age into an input box. Write a line that reads it and stores it as a whole number. [1 mark]
Have a question we have not covered?
This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.