MCQ practice · SSC ICT Board questions · Chapter 6: Problem Solving through Programming
In which variable is a fractional number stored?
Think it through first, then pick an option.
- a str
- b int
- c float
- d bool
Answer and explanation
Correct answer: c float
A fractional number stored in a variable has the data type float.
Why the other options are wrong
- a str: str is for text or character-type information.
- b int: int is only for whole numbers. The correct option is "float".
- d bool: bool holds only True or False. The correct option is "float".
Your account is open, so all 30,000+ MCQs from every chapter are yours. Start practising SSC ICT →
Want to keep going?
A free account carries you on to the next questions and opens 30,000+ MCQs from every chapter. Join before launch and Chirkut bundles are 60% off.
The ones you missed, worth one more look