hed
TIL. Write short answers:
1. What do you mean by data type? 4
2. Define variable with an example. 558
[ICSE 2006)
3. What do you mean by constant? Explain with an example.19
4. State two kinds of data types. P94
[ICSE 2006)
5. What do you understand by Token? Name different types of tokens. P94 5
What are the rules to assign a variable in a Java programming? P4
Explain the term 'type casting? P9
FICSE 2007]
8. Perform the following:
(a) Assign the value of pie (3.142) to a variable with the requisite data type.
[ICSE 2007]
(b) Assign the value of (1.732) to a variable with the requisite data type.
9. Distinguish between:
(a) Integer and floating constant
(b) Token and Identifier
[ICSE 2008)
(c) Character and String constant
(d) Character and Boolean literal
[ICSE 2009]
Answers
Answered by
4
Answer:
- A particular kind of data item
- A symbol for a number we don't know. For eg: x,y etc
- A fixed value. For eg: 32, 1 etc
- Integer and character
- A token is a smallest element of C++ programing. Some popular types are seccurity, utility etc.
- This will be attached
- changing an entity from one data type to another data type
Please mark me as brainliest as I try my best to answer all your question but there are too many so I have answered few of them
Attachments:
Similar questions