Solutions for Class 10 ICSE Logix Kips Computer Applications with BlueJ Java | IT Developer <?php echo $page_title; ?>
IT Developer

Values and Data Types

Chapter 3

Values and Data Types

Class 10 - Logix Kips ICSE Computer Applications with BlueJ


Share with a Friend

Multiple Choice Questions

Question 1

Java uses ........... character set.

  1. ASCII Only
  2. Extended ASCII Only
  3. Unicode ✔
  4. None of these

Question 2

ASCII stands for ...........

  1. American Standard Code for Information Interchange ✔
  2. American Simulated Code for Information Interchange
  3. American Standard Code for Interchange of Information
  4. American Standard Code for Interaction of Information

Question 3

ASCII is ...........

  1. 6-bit set of codes
  2. 8-bit set of codes
  3. 7-bit set of codes ✔
  4. 16-bit set of codes

Question 4

Extended ASCII is ...........

  1. 6-bit set of codes
  2. 8-bit set of codes ✔
  3. 7-bit set of codes
  4. 16-bit set of codes

Question 5

The smallest individual component in a program is called ...........

  1. Token ✔
  2. Identifier
  3. Keyword
  4. Method

Question 6

Which of the following is not a token?

  1. Keyword
  2. Identifier
  3. Operator
  4. Procedure ✔

Question 7

Which of the following is a keyword?

  1. character
  2. break ✔
  3. object
  4. attribute

Question 8

Which of the following is not a legal identifier?

  1. _room
  2. $PayAmount
  3. 10thClass ✔
  4. nullValue

Question 9

Which of the following is a default value of float data type?

  1. 0
  2. 0float
  3. 0f
  4. 0.0f ✔

Question 10

Which of the following is a default value of boolean data type?

  1. true
  2. false ✔
  3. null
  4. void

Question 11

Which of the following is an invalid integer?

  1. 2222
  2. 22222
  3. 222 22 ✔
  4. 222

Question 12

Which of the following is not a character literal?

  1. '\n'
  2. "n" ✔
  3. 'n'
  4. All of these

Question 13

Which of the following punctuator is the statement terminator in Java?

  1. ; ✔
  2. .
  3. ,
  4. All of these

Question 14

Which of the following is not a primitive data type in Java?

  1. boolean
  2. short
  3. float
  4. class ✔

Question 15

What is the size of a long data type in Java?

  1. 32 bits
  2. 64 bits ✔
  3. 48 bits
  4. Long data type is not supported in Java.

Question 16

What is the size of a boolean data type in Java?

  1. 1 bit
  2. 16 bits
  3. 8 bits ✔
  4. Boolean data type does not take any space in memory.

Question 17

Single line comments can be added using ...........

  1. //
  2. /* */
  3. \
  4. Both A and B ✔

Question 18

Which of the following changes a variable declaration into a constant?

  1. const
  2. constant
  3. static
  4. final ✔

Question 19

The ASCII codes of A-Z are represented by decimal range ...........

  1. 65-90 ✔
  2. 66-91
  3. 97-122
  4. 98-123

Question 20

Which of the following is a primitive data type?

  1. array
  2. interface
  3. class
  4. boolean ✔