What is Java
Java is a computer language that enables the users to communicate with the computer
Name the different character sets
-Letters
-Digits
-Operators
Name the types of operators and give one example of each
-Logical operators:&& , || , !
-Delimiters: ? , . , -
What is Unicode
Unicode is a standard encoding system created by Unicode consortium that is used to encode a character in any computer language
What are the advantages of Unicode
-A particular code of a character is always unique
What is ASCII and what does it stand for
ASCII stands for American standard code for information interchange.
The ASCII codes are decimal numbers represented in 7 binary digits.
What are escape sequences? In which program are they frequently used in?
Non-graphic characters which are used as commands to direct the cursor while printing are known as escape sequences. They are frequently used in Java programming.
Explain the escape sequences:
\n
\t
"
\
'
What is a token?
A token is a functional and fundamental unit of a computer program. Each individual component of a programming statement is referred to as a token
What are literals?
Literals are the constants of a Java program
Name the types of literals
Integer literals
Real literals
Character literals
String literals
Boolean literals
Null literals
Define identifiers
It is a term used to represent program elements such as function name or class name
What is an assignment
Assignments is the process of storing constants in a variable using a token ‘=’ symbol.
How does initialisation of a variable take place? Explain.
What are punctuators
Punctuators are the punctuation signs used as special characters in Java.
Define separators and state their significance.
They are special characters in Java, which are used to separate the variables or the characters.
What are operators
They are the tokens that perform Arithmetical or logical operations.
What are keywords
They are the reserved words which are preserved by the system and carry special meaning for the system compiler.
What are the types of data types? Explain.
Give classification of integer type
Byte, int, short, long
Give classification of floating type
Float, double
The character type contains only a single _____________
Character
Name some well known characters and their ASCII codes
A-Z = 65-90
a-z = 97-122
0-9 = 48-57
A character must always be enclosed within __________
Single quotes