0% found this document useful (0 votes)
6 views2 pages

Computer Application STD IX Notes

Uploaded by

Shorya Rastogi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Computer Application STD IX Notes

Uploaded by

Shorya Rastogi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Notes on Chapter- 4 ( Values and Data Types)

Subject -Computer Application


Class -IX

Q1. What do you understand by Tokens? Name the different types of tokens.
Ans:- Tokens- The smallest individual unit in a program is called tokens.
Different types of Tokens are:-
1. Keywords 2. Literals 3. Identifiers 4. Operators 5.Punctuators
Q2. What do you understand by Data Type? Name the different types of data
type.
Ans:- Data Type- The data types are means to identify the type of data and
associated operations of handling it.
Java data types are of two types :-
1. Primitive data types –it is fundamental data types offered by java. The
data types which are independent of any other type , are known as
Primitive data type.
Java provides eight primitive data types- byte, short, int, long, float,
double, char, boolean.
2. Reference data types – The data type which constructed from primitive
data types called referenced data type. These are classes, arrays and
interface.
Q3. What is a literal? Write its Types.
Ans- Literals- Literals are data items that are fixed data values.
A literal is a value that can be assigned to a specific variable.
Java allows several kinds of literals-
(i) Integer literals
(ii) Real literals
(iii) Character literals
(iv) String literals
(v) Boolean literals
Q4. What do you mean by Boolean data type?
Ans :- It is primitive data type which represent the values true and false.
Q5. What is a variable?
Ans – variable is a named memory location that is used to contain a value that
can change depending on the circumstances during the execution of a
program.
Q5. Write on difference between primitive data types and composite data
types.
Ans:- The fundamental data or basic data types(i.e. int, float, char) that are
provided by java are known as primitive data types. Whereas derived data
types or non-primitive data types are called composite data types. e.g. class,
array.

Notes: As I had discussed the topic Chapter wise in my different videos. So you
have to write notes Chapter wise and solve the given assignments in your
Notebook.

You might also like