Computer Science, asked by shreyashmodi9, 8 months ago

. are data items that are fixed values

Literals

Keywords

Token

Unicode

Answers

Answered by sachinvns2110
0

Explanation:

Question 1

A constant which gives the exact representation of data is called

Variable

Literal

Identifier

Character

Question 2

A word used in a high level language which has a special meaning attached to it is called

Class

Identifier

Keyword

Literal

Question 3

A character literal is assigned to a:

Char variable

Char type literal

String variable

String literal

Question 4

A character literal is enclosed in:

' ' ⇐ Answer

" "

: :

{ }

Question 5

A set of characters is assigned to:

String variable

Static variable

Boolean variable

None

Question 6

The ASCII codes of upper case alphabets range from:

65 - 90

60 - 85

65 - 91

97 - 122

Question 7

Which of the following results in integer type?

11.4F/3.2D

13.8F/4.6F;

12/3

none

Question 8

Which of the following is non-primitive data?

char

long

object

short

Question 9

Which of the following type is an exact representation of fractional values?

char

double

byte

String

Question 10

Boolean Data is used to test a particular condition i.e. true or false. Which of the following is a correct representation?

boolean m=true

boolean m='true'

boolean m="true"

none

Fill in the blanks

Question 1

The character sets of Java is like alphabets of English language.

Question 2

A standard encoding system way of representing characters is Unicode.

Question 3

ASCII code is decimal number to represent a character.

Question 4

Each individual component of a Java statement is known as token.

Question 5

In Java, the constants are also called literals.

Question 6

Assignment operator is used to store a value in the variable.

Question 7

The comma, exclamation, question mark etc., are termed as Separators in Java language.

Question 8

An element of Java program that is used to identify a class, function or value is called as identifier.

Question 9

Integer type value occupies 4 bytes in the memory.

Question 10

A Java expression that contains all the elements of same data type is pure expression.

Similar questions