NEW
Font size
Worksheetsescape sequence
Total questions: 12
Worksheet time: 6mins
\n is used for ______
New line feed
Horizontal tab
Vertical tab
Backspace
The escape sequence character for horizontal tab which gives 8 spaces between words when used ________
\n
\v
\b
\t
____________ is the functional and fundamental unit of a computer program
ASCII code
UNICODE
Escape sequence
Token
Java character set consists of
Letters
Digits
Operators
Delimiters
All of the above
____________ is the functional and fundamental unit of a computer program
ASCII code
UNICODE
Escape sequence
Token
Predict the output
'2'+'3'
101
23
32
1001
Predict the output
2+3
23
101
5
None of these
Identify the Conversion
a) double d=23.67
int a= (int) d;
implicit
explicit
none of these
Identify the conversion
a) int a=45;
long b = a;
implicit
explicit
none of these
Where does a variable that is declared inside a method exist?
only in that method
only in the class the method is in
only in methods that declare the variable
as long as the program is running
What is scope?
the part of a program where the variable exists
a minty mouthwash
a device used to aim a projectile
a device in a submarine that is used to view the surface
What characters denote a block?
< >
[ ]
{ }
( )
