English

Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.3 - Values and Data Types [Latest edition]

Advertisements

Chapters

Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.3 - Values and Data Types - Shaalaa.com
Advertisements

Solutions for Chapter 1.3: Values and Data Types

Below listed, you can find solutions for Chapter 1.3 of CISCE Avichal for Computer Applications [English] Class 10 ICSE.


Review InsightEXERCISES
Review Insight [Pages 30 - 32]

Avichal solutions for Computer Applications [English] Class 10 ICSE 1.3 Values and Data Types Review Insight [Pages 30 - 32]

Review Insight | Q 1. | Page 30

What is meant by boolean variable? 

Review Insight | Q 2. | Page 30

What is the difference between "true" and true?

Review Insight | Q 3. (i) | Page 30

State the escape sequence for horizontal tab. 

Review Insight | Q 3. (ii) | Page 30

State the escape sequence for new line feed.

Review Insight | Q 4. | Page 30

Is String type a primitive or non-primitive data type?

Review Insight | Q 5. | Page 30

In what way float initialisation is different from double type initialisation?

Review Insight | Q 6. | Page 30

What is a variable?

Review Insight | Q 7. | Page 30

Differentiate between pure and impure type expressions.

Review Insight | Q 8. (i) | Page 30

Explain the term type conversion.

Review Insight | Q 8. (ii) | Page 30

How is implicit conversion different from explicit conversion?

Review Insight | Q 9. (i) | Page 30

Give one example of a primitive data type. 

Review Insight | Q 9. (ii) | Page 30

Give one example of a composite data type. 

Review Insight | Q 10. | Page 30

State the values of n and ch. 

char c = 'A'
int n = c + 1;
char ch = (char)n;

Review Insight | Q 11. | Page 31

What is a literal?

Review Insight | Q 12. (i) | Page 31

What are the types of casting shown in the following examples? 

double x = 15.2; int a = 12; 

int y = (int) x;

Review Insight | Q 12. (ii) | Page 31

What is the type of casting shown in the following example?

double x = 15.2; int a = 12;

long b = a;

Review Insight | Q 13. (i) | Page 31

Name the primitive data type in Java that is:
A 64-bit integer and is used when you need a range of values wider than those provided by int.

Review Insight | Q 13. (ii) | Page 31

Name the primitive data type in Java that is :

A single 16-bit Unicode character whose default value is ‘\u0000’.

Review Insight | Q 14. | Page 31

State one difference between the floating point literals float and double.

Review Insight | Q 15. (i) | Page 31

What is the default value of the primitive data type int?

Review Insight | Q 15. (ii) | Page 31

What is the default value of the primitive data type float? 

Review Insight | Q 16. (i) | Page 31

Identify the literal given below:

0.5

Review Insight | Q 16. (ii) | Page 31

Identify the literal given below.

'A'

Review Insight | Q 16. (iii) | Page 32

Identify the literal given below.

false

Review Insight | Q 16. (iv) | Page 31

Identify the literal given below.

"a"

Review Insight | Q 17. | Page 31

Arrange the following primitive data types in an ascending order of their size:

  1. char
  2. byte
  3. double
  4. int
Review Insight | Q 18. (i) | Page 31

What is the type of casting shown by the following example: 

char c = (char) 120;

Review Insight | Q 18. (ii) | Page 31

What is the type of casting shown by the following example?

int x = 't'; 

Review Insight | Q 19. | Page 31

Write one difference between primitive data types and composite data types.

Review Insight | Q 20. | Page 32

Match the following literals of Column A with the variables of Column B.

Column A Column B
a. "Java Language" i. int x
b. 345 ii. char p
c. false iii. String st
d. 45.65 iv. boolean m
e. 'K' v. double n
f. 0.004125 vi. float y
EXERCISES [Pages 32 - 33]

Avichal solutions for Computer Applications [English] Class 10 ICSE 1.3 Values and Data Types EXERCISES [Pages 32 - 33]

EXERCISES | Q I. 1. | Page 32

How many bytes a char data type occupies in the memory? 

  • 2

  • 8

  • 4

  • 16

EXERCISES | Q I. 2. | Page 32

Which of the following is a non-primitive data type? 

  • int

  • double

  • char

  • String

EXERCISES | Q I. 3. | Page 32

Which of the following is non-numeric data type?

  • boolean

  • int

  • float

  • double

EXERCISES | Q I. 4. | Page 32

Which of the following ASCII code range is applicable for lowercase letters? 

  • 65 - 90

  • 90 - 115

  • 97 - 122

  • 95 - 110

EXERCISES | Q I. 5. | Page 32

What is not an escape sequence?

  • \t

  • \\

  • \n

  • ||

State whether the following statements are 'True' or 'False':

EXERCISES | Q II. 1 | Page 32

There are 128 set of different characters used in a Java program.

  • True

  • False

EXERCISES | Q II. 2. | Page 32

The ASCII codes of uppercase letters range from 97 to 122.

  • True

  • False

EXERCISES | Q II. 3. | Page 32

A variable gives the exact representation of data. 

  • True

  • False

EXERCISES | Q II. 4. | Page 32

The data types int, float, char are called non-primitive types.

  • True

  • False

EXERCISES | Q II. 5. | Page 32

A String literal is assigned to a String variable.

  • True

  • False

EXERCISES | Q II. 6. | Page 32

A character literal is always enclosed in double quotes. 

  • True

  • False

EXERCISES | Q I. 7. | Page 32

String constant can be written by using a set of alphanumeric characters. 

  • True

  • False

EXERCISES | Q II. 8. | Page 32

An object is said to be a non-primitive data. 

  • True

  • False

EXERCISES | Q II. 9. | Page 32

The data type int stores fractional values.

  • True

  • False

EXERCISES | Q II. 10. | Page 32

Boolean type data is used to test a condition and results in either true or false. 

  • True

  • False

Write short answers:

EXERCISES | Q III. 1. (i) | Page 33

What is meant by data type? 

EXERCISES | Q III. 1. (ii) | Page 33

Name two types of data type.

EXERCISES | Q III. 2. | Page 33

Why is it necessary to define data type in Java programming? 

EXERCISES | Q III. 3. (a) | Page 33

Define the following with an example:

Variable

EXERCISES | Q III. 3. (b) | Page 33

Define the following with an example:

Constant

EXERCISES | Q III. 3. (c) | Page 33

Define the following with an example:

Boolean data type

EXERCISES | Q III. 3. (d) | Page 33

Define the following with an example:

Coercion

EXERCISES | Q III. 3. (e) | Page 33

Define the following with an example:

Primitive data type

EXERCISES | Q III. 3. (f) | Page 33

Define the following with an example:

Non-primitive data type

EXERCISES | Q III. 4. (i) | Page 33

What is a token?

EXERCISES | Q III. 4. (ii) | Page 33

Name different types of tokens. 

EXERCISES | Q III. 5. | Page 33

Explain the term type casting.

EXERCISES | Q III. 6. (a) | Page 33

Assign the following to a variable with suitable data type.

m = `22/7` 

EXERCISES | Q III. 6. (b) | Page 33

Assign the following to a variable with suitable data type.

p = 1.4142135 (value of square root of 2)

EXERCISES | Q III. 6. (c) | Page 33

Assign the following to a variable with suitable data type.

k = 0.00004545

EXERCISES | Q III. 6. (d) | Page 33

Assign the following to a variable with suitable data type.

n = 24.50

EXERCISES | Q III. 7. (a) | Page 33

Distinguish between Token and Identifier.

EXERCISES | Q III. 7. (b) | Page 33

Distinguish between Character and Boolean literal.

EXERCISES | Q III. 8. (i) | Page 33

Explain the term type conversion.

EXERCISES | Q III. 8. (ii) | Page 33

How is implicit conversion different from explicit conversion?

EXERCISES | Q III. 9. (a) | Page 33

Classify the following as primitive or non-primitive data type:

char 

EXERCISES | Q III. 9. (b) | Page 33

Classify the following as primitive or non-primitive data type.

arrays

EXERCISES | Q III. 9. (c) | Page 33

Classify the following as primitive or non-primitive data type.

int

EXERCISES | Q III. 9. (d) | Page 33

Classify the following as primitive or non-primitive data type.

classes

EXERCISES | Q III. 10. | Page 33

In what way is static initialisation of data type different from dynamic initialisation? 

EXERCISES | Q III. 11. | Page 33

Predict the return data type of 'r' and 'n' from the snippet:

  1. int p; 
  2. float m; 
r = p + m;
n = m / 3 * (Math.pow(4, 3)); 
System.out.println(r);
System.out.println(n);   
EXERCISES | Q III. 12. (a) | Page 33

Give reason whether the following assignment is correct or not.

int m = 155;

EXERCISES | Q III. 12. (b) | Page 33

Give reason whether the following assignment is correct or not.

float f = 0.002654132;

EXERCISES | Q III. 12. (c) | Page 33

Give reason whether the following assignment is correct or not.

String str = 'Computer';

EXERCISES | Q III. 12. (d) | Page 33

Give reason whether the following assignment is correct or not.

boolean p = false;

EXERCISES | Q III. 12. (e) | Page 33

Give reason whether the following assignment is correct or not.

String b = "true";

EXERCISES | Q III. 12. (f) | Page 33

Give reason whether the following assignment is correct or not.

char ch = "apps";

EXERCISES | Q III. 12. (g) | Page 33

Give reason whether the following assignment is correct or not.

String st= "Application";

EXERCISES | Q III. 12. (h) | Page 33

Give reason whether the following assignment is correct or not.

double n = 455.29044125;

Solutions for 1.3: Values and Data Types

Review InsightEXERCISES
Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.3 - Values and Data Types - Shaalaa.com

Avichal solutions for Computer Applications [English] Class 10 ICSE chapter 1.3 - Values and Data Types

Shaalaa.com has the CISCE Mathematics Computer Applications [English] Class 10 ICSE CISCE solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. Avichal solutions for Mathematics Computer Applications [English] Class 10 ICSE CISCE 1.3 (Values and Data Types) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.

Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. Avichal textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.

Concepts covered in Computer Applications [English] Class 10 ICSE chapter 1.3 Values and Data Types are Introduction of Values and Data Types, Character Sets in Java, Encoding of Characters, Escape Sequences, Tokens, Data Types, Type Conversion.

Using Avichal Computer Applications [English] Class 10 ICSE solutions Values and Data Types exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in Avichal Solutions are essential questions that can be asked in the final exam. Maximum CISCE Computer Applications [English] Class 10 ICSE students prefer Avichal Textbook Solutions to score more in exams.

Get the free view of Chapter 1.3, Values and Data Types Computer Applications [English] Class 10 ICSE additional questions for Mathematics Computer Applications [English] Class 10 ICSE CISCE, and you can use Shaalaa.com to keep it handy for your exam preparation.

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×