Home of real teaching & learning
  • Full support for teachers
  • Focus on critical thinking
  • Engaging classroom activities
  • Integrated student eBook
  • Assessed tasks / qBank
  • Practice exam questions

The InThinking Guarantee: Our sites are written by expert practitioners and not by AI

See our AI policy

Disclaimer: InThinking subject sites are neither endorsed by nor connected with the International Baccalaureate Organisation.

Don't miss out, find out!

D.3 Program development variables Exercises

1. Give examples of the following variable types 2. What datatype would you use to store your name? 3. What datatype would you use to store the amount of stock of an item in a warehouse? 4. What datatype would you use for x in the following equation? \(x = sqrt({3}) / 34\) 5. Write a single line of code that will create the following a) an integer variable called i initialised to the value 34. b) A variable of type...

Help