Q1. What is the difference between fundamental data types and derived types? Explain with example.
Ans. Fundamental is a type built into the program language’s environment. Things like numbers (integer or real), etc. Usually they are related to whatever the computer can use for direct calculations.
Derived is when combining those to form more complex data. For example, text would likely be something like an array (consecutive items each of the same type) of characters. Characters in turn are built-in.