मराठी

The number of bits occupied by the value ‘a’ are:

Advertisements
Advertisements

प्रश्न

The number of bits occupied by the value ‘a’ are:

पर्याय

  • 1 bit

  • 2 bits

  • 4 bits

  • 16 bits

MCQ
Advertisements

उत्तर

16 bits

Explanation:

The character 'a' is stored as a char in Java, and a char occupies 16 bits (2 bytes) because it uses the Unicode character set.
Therefore, the correct answer is (d) 16 bits.

shaalaa.com
Data Types
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४४]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 1 Revision of Class 9 Syllabus
Exercises | Q 1. (xxxii) | पृष्ठ ४४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×