Java All : Tokens Keywords Identifiers Literals
Concept Learning Code Sheets

#### Understanding Tokens #3795

Demonstration of a program with presence of different types of tokens.

#### Identifier Choices #3798

Making Identifier name choices.

#### Integer literals decimal, octal, hexadecimal, binary #3801

Use of integer literals in its different notation forms as decimal form, octal form, hexadecimal form and binary form.

#### Decimal literals float, double #3804

Use of decimal/fractional/real literals in its different size as float and double.

#### Character literals #3808

Use of character literals as direct character assignment, unicode assignment or octal assignment.

#### Null Literal #3814

Use of a special case of using null as a literal for nullifying a reference.

#### String Literals #3818

Use of string literals as chain of normal alphabets, unicode characters, octal characters, escape sequences etc.

#### Boolean Literals #3822

Use of boolean literals.

Exam Paper Problems

#### Difference between float and double literal #3903

( As In Exam - ICSE2014 )

State one difference between floating point literals float and double.

State one difference between floating point literals float and double.

#### Identifiers #3930

( As In Exam - ICSE2015 )

What are identifiers?

What are identifiers?

#### Literal Identification #3932

( As In Exam - ICSE2015 )

Identify the literals listed below:
(i) 0.5 (ii)’A’ (iii) false (iv

Identify the literals listed below:
(i) 0.5 (ii)’A’ (iii) false (iv) “a”

#### Keywords #4212

( As In Exam - ICSE2016 )

What are keywords? Give an example.

What are keywords? Give an example.

Solved Problems

#### Marking Identifiers in a program #3825

Write down both the programmer defined and java library defined identifiers i

Write down both the programmer defined and java library defined identifiers in the following program

#### Marking Literals and Its Type in a program #3828

Write down all the literals in the given program and tell its type of literal

Write down all the literals in the given program and tell its type of literal.

Quizzes

#### Boolean Literals Quiz #3824

Code Sheets:8  Exam Paper Problems:4  Solved Problems:2  Quizzes:9
×