हिंदी

Rupa Pandit solutions for कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई chapter 2 - Class as the Basis of all Computation [Latest edition]

Advertisements

Chapters

    1: Revision of Class 9 Syllabus

▶ 2: Class as the Basis of all Computation

    3: User-Defined Methods

    4: Constructors

   Chapter 5: Library Classes

   Chapter 6: Encapsulation

   Chapter 7A: Arrays - One Dimension

   Chapter 7B: Arrays - Sort & Search

   Chapter 7C: Arrays - Double Dimension

   Chapter 8: String Handling

   Chapter 9: Programs Overall

Rupa Pandit solutions for कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई chapter 2 - Class as the Basis of all Computation - Shaalaa.com
Advertisements

Solutions for Chapter 2: Class as the Basis of all Computation

Below listed, you can find solutions for Chapter 2 of CISCE Rupa Pandit for कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई.


Exercises
Exercises [Pages 64 - 67]

Rupa Pandit solutions for कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई 2 Class as the Basis of all Computation Exercises [Pages 64 - 67]

Choose the correct option.

1. (i)Page 64

Putting all relevant data and methods in one boundary is called:

  • Abstraction

  • Encapsulation

  • Polymorphism

  • Inheritance

1. (ii)Page 64

It can be called an object factory:

  • Method

  • Constructor

  • Data

  • Class

1. (iii)Page 64

Two objects of the same class:

  • must have same set of member data

  • must have different set of member data

  • may have same set of member data

  • may have different set of member data

1. (iv)Page 64

Java has ______ primitive data types.

  • seven

  • eight

  • one

  • two

1. (v)Page 64

Identify the correct statement.

  • double dr = new double;

  • double dr = new double;

  • double dr[] = new dr [5];

  • double dr [] = new double [5];

1. (vi)Page 64

Identify the incorrect statement.

  • long g = 65.8;

  • int t = 72;

  • byte b = 3;

  • double h = 92;

1. (vii)Page 64

Which of the following is implicit typecasting?

  • int p = (int) 49.8 + 26;

  • long m = (int) 49.8*2;

  • double d = 49.8 + 56;

  • double b = 38/10;

1. (viii)Page 64

Keyword that helps in allocating memory to an objects is ______.

  • private

  • new

  • class

  • public

1. (ix)Page 64

Identify the true statement.

  • In an array, all elements have same data type.

  • In a class, all members have same data type.

  • In an array, all elements have different data type.

  • In a class, all members have same value.

1. (x)Page 64

Identify the false statement.

  • he compiler cannot identify a composite data type.

  • Primitive data types do not need separate memory allocation.

  • Size of primitive data type is fixed.

  • Arrays are primitives.

1. (xi)Page 64

Name the feature of java depicted in the above picture.

  • Encapsulation

  • Inheritance

  • Abstraction

  • Abstraction

1. (xii)Page 65

A mechanism where one class acquires the properties of another class:

  • Polymorphism

  • Inheritance

  • Encapsulation

  • Abstraction

1. (xiii)Page 65

Method which is a part of a class rather than an instance of the class is termed as ______.

  • Static method

  • Non static method

  • Wrapper class 

  • String method

2. (i)Page 65

State True or False.

Variables attached to an object define their state.

2. (ii)Page 65

State True or False.

Member methods or functions that are attached to an object define their state.

2. (iii)Page 65

State True or False.

Composite type of data is readily available for programmer's use.

2. (iv)Page 65

State True or False.

‘int’ is a type of primitive data.

2. (v)Page 65

State True or False.

Arrays are primitive type of data.

3. (i)Page 65

Identify, given that.

This datatype can store values.

3. (ii)Page 65

Identify, given that.

The datatype that is identified by the compiler.

3. (iii)Page 65

Identify, given that.

These members of an object define their behaviour.

3. (iv)Page 65

Identify, given that.

This can be called an object factory.

3. (v)Page 65

Identify, given that.

It is the concept of hiding the background details of a process.

4. (i)Page 65

Given below is a real-life case.

Class name: Airport

Name two objects of this class.

4. (ii)Page 65

Given below is a real-life case.

Class name: School

Name two methods of this class.

4. (iii)Page 65

Given below is a real-life case.

Class name: Hospital

Name two member data of this class.

4. (iv)Page 65

Given below is a real-life case.

Class name: City

Name two objects of this class. Also name two data and two methods of this class.

4. (v)Page 65

Given below is a real-life case.

Class name: Monument

Name two objects of this class. Also name two data and two methods of this class.

5. (i)Page 66

Given below is a partial program code. Identify any error, if present. Also find the following in it:

[Class name, Object name, Array, member data, data type]

Customer ct = new Customer ();
ct.fnInput();
ct.fnOutput();
5. (ii)Page 66

Given below is a partial program code. Identify any error, if present. Also find the following in it:

[Class name, Object name, Array, member data, data type]

int p = 4.5;

5. (iii)Page 66

Given below is a partial program code. Identify any error, if present. Also find the following in it:

[Class name, Object name, Array, member data, data type]

boolean bp = 'True';

5. (iv)Page 66

Given below is a partial program code. Identify any error, if present. Also find the following in it:

[Class name, Object name, Array, member data, data type]

class Banker
{
   short c_id;
   double balance;
   long phone_num;
}
5. (v)Page 66

Given below is a partial program code. Identify any error, if present. Also find the following in it:

[Class name, Object name, Array, member data, data type]

int RM [] = new RM[12];

6.Page 66

Given below is a program. Identify the following:

class Student
{
    String Name;int Age ; double Marks;
    void fnInput ()
    {
       Scanner sc = new Scanner(System.in);
       System.out.println("Enter Name:");
       Name = sc.nextLine ();
       System.out.println("Enter Age:");
       Age = sc.nextInt ();
       System.out.println("Enter Marks:");
       Marks = sc.nextDouble ();
    }
    void fnDisplay()
    {
       System.out.println("Name is:"+Name);
       System.out.println("Age is:"+Age);
       System.out.println("Marks is:"+Marks );
       if (Marks >=80)
       System.out.println(“Grade is A");
       else if (Marks >=60)
          System.out.println("Grade is B");
       else if (Marks >=40)
          System.out.println("Grade is C");
       else
          System.out.println(“Grade is F");
    }
    void main()
    {
       Student obSt1 = new Student ();
       obSt1.fnInput ();
       obSt1.fnDisplay ();
       Student obSt2 = new Student ();
       obSt2.fnInput ();
       obSt2.fnDisplay ();
    }
}
7. (a)Page 67

Name the following:

What is an instance of the class called?

7. (b)Page 67

Name the following:

The method which has same name as that of the class name.

Solutions for 2: Class as the Basis of all Computation

Exercises
Rupa Pandit solutions for कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई chapter 2 - Class as the Basis of all Computation - Shaalaa.com

Rupa Pandit solutions for कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई chapter 2 - Class as the Basis of all Computation

Shaalaa.com has the CISCE Mathematics कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई 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. Rupa Pandit solutions for Mathematics कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई CISCE 2 (Class as the Basis of all Computation) 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. Rupa Pandit textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.

Concepts covered in कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई chapter 2 Class as the Basis of all Computation are .

Using Rupa Pandit कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई solutions Class as the Basis of all Computation 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 Rupa Pandit Solutions are essential questions that can be asked in the final exam. Maximum CISCE कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई students prefer Rupa Pandit Textbook Solutions to score more in exams.

Get the free view of Chapter 2, Class as the Basis of all Computation कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई additional questions for Mathematics कंप्युटर एपलीकेशंस [अंग्रेजी] कक्षा १० आईसीएसई CISCE, and you can use Shaalaa.com to keep it handy for your exam preparation.

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×