Object Oriented Programming | Chapter 10 |  Class 10 Computer Science 571(NCERT) Question and Answer | Class 10 Computer Science 571(NCERT) Question and Answer Solutions English Medium |


Object Oriented Programming

 Chapter 10


I. SHORT ANSWER QUESTIONS:


a. What do you mean by programming paradigm?

প্ৰগ্ৰেমিং পেৰাডাইম বুলি ক’লে আপুনি কি বুজাব বিচাৰিছে?

Ans: Programming paradigms are different ways or styles in which a program or programming language can be organized. Each paradigm has opinions about certain structures, characteristics, and how to deal with common programming problems.

( প্ৰ'গ্ৰামিং পেৰাডাইমবোৰ হৈছে বিভিন্ন উপায় বা ষ্টাইল য'ত এটা প্ৰ'গ্ৰাম বা প্ৰ'গ্ৰামিং ভাষা সংগঠিত কৰিব পাৰি। প্ৰতিটো দৃষ্টান্তৰ কিছুমান গাঁথনি, বিশেষত্ব, আৰু সাধাৰণ প্ৰ'গ্ৰামিং সমস্যাৰ সৈতে কেনেদৰে মোকাবিলা কৰিব লাগে সেই বিষয়ে মতামত থাকে।)

b. Define object.

(বস্তুৰ সংজ্ঞা দিয়ক।)

Ans: An object is an abstract type of data that combines polymorphism and heritage. Instead of creating programs in the form of codes and data, an object-oriented system combines the two using the concept of "object". An object has status (data) and behavior (code).

( অবজেক্ট হৈছে এক বিমূৰ্ত প্ৰকাৰৰ ডাটা যি বহুৰূপবাদ আৰু ঐতিহ্যএকত্ৰিত কৰে। কোড আৰু ডাটাৰ ৰূপত প্ৰ'গ্ৰাম সৃষ্টি কৰাৰ পৰিৱৰ্তে, এটা অবজেক্ট-অৰিয়েণ্টেড চিষ্টেমে "অবজেক্ট"ৰ ধাৰণা ব্যৱহাৰ কৰি দুয়োটাকে একত্ৰিত কৰে। অবজেক্ট এটাত স্থিতি (ডাটা) আৰু আচৰণ (কোড) থাকে।)

c. Define class.

(শ্ৰেণী সংজ্ঞায়িত কৰক।)

Ans: 

d. What is encapsulation?

(এনকেপচুলেচন কি?)

Ans: Encapsulation is a way to limit direct access to certain elements of an object, so users cannot obtain state values for all variables in a particular object. Encapsulation can be used to hide both data members and data functions or methods associated with immediate categories or objects.

( এনকেপচুলেচন হৈছে অবজেক্ট এটাৰ কিছুমান উপাদানৰ পোনপটীয়া প্ৰৱেশাধিকাৰ সীমিত কৰাৰ এক উপায়, সেয়েহে ব্যৱহাৰকাৰীসকলে এটা নিৰ্দিষ্ট অবজেক্টত সকলো চলকৰ বাবে ৰাজ্যিক মূল্য প্ৰাপ্ত কৰিব নোৱাৰে। তাৎক্ষণিক শ্ৰেণী বা অবজেক্টৰ সৈতে সম্পৰ্কিত ডাটা সদস্য আৰু ডাটা ফাংচন বা পদ্ধতি দুয়োটা লুকুৱাবলৈ এনকেপচুলেচন ব্যৱহাৰ কৰিব পাৰি।)

e. What is data hiding?

(ডাটা লুকুৱাই ৰখাটো কি?)

Ans: Data hiding is an object-oriented programming method (OP) used specifically to hide the details of internal objects (i.e., data members). Data masking ensures exclusive access to data only for class members and protects and maintains the integrity of objects by preventing intentional or unintentional changes and intrusions

( ডাটা লুকুৱাই ৰখা হৈছে এক অবজেক্ট-অৰিয়েণ্টেড প্ৰ'গ্ৰামিং পদ্ধতি (অ'পি) যাক আভ্যন্তৰীণ অবজেক্টৰ বিৱৰণ লুকুৱাবলৈ বিশেষভাৱে ব্যৱহাৰ কৰা হয় (অৰ্থাৎ ডাটা সদস্য)। ডাটা মাস্কিংয়ে কেৱল শ্ৰেণীৰ সদস্যসকলৰ বাবে ডাটাৰ একচেটিয়া প্ৰৱেশাধিকাৰ নিশ্চিত কৰে আৰু ইচ্ছাকৃত বা অনিচ্ছাকৃত পৰিৱৰ্তন আৰু অনুপ্ৰৱেশ প্ৰতিৰোধ কৰি অবজেক্টবোৰৰ অখণ্ডতা সুৰক্ষিত আৰু বজাই ৰাখে)

f. What is polymorphism?

(বহুৰূপতা কি?)

Ans: Genomic-related polymorphism is the presence of two or more types of specific DNA sequences that can occur between different individuals or populations. The most common type of polymorphism includes variations in nucleotides (also called a single nucleotide polymorphism, or SNP

( জিনোমিক-সম্পৰ্কীয় বহুৰূপবাদ হৈছে দুই বা ততোধিক প্ৰকাৰৰ নিৰ্দিষ্ট ডিএনএ ক্ৰমৰ উপস্থিতি যি বিভিন্ন ব্যক্তি বা জনসংখ্যাৰ মাজত হ'ব পাৰে।আটাইতকৈ  সচৰাচৰ প্ৰকাৰৰ বহুৰূপবাদত নিউক্লিওটাইডৰ তাৰতম্য অন্তৰ্ভুক্ত থাকে (ইয়াক একক নিউক্লিওটাইড পলিমৰ্ফিজম, বা এছএনপি বুলিও কোৱা হয়)

g. Name four object oriented programming languages.

(চাৰিটা বস্তুমুখী প্ৰগ্ৰেমিং ভাষাৰ নাম লিখা।)

Ans: Object-oriented languages include: Ginger, ActionScript, C++, Common Lipspop, C#, Dart, Eiffel, Fortran 2003, Hex, JavaScript, Kotlin, Logo, Metaleb, Object-C, Object Pascal, Pearl, PHP, Basic.NET Python, and R.

(অবজেক্ট-অৰিয়েণ্টেড ভাষাবোৰৰ ভিতৰত আছে: আদা, একচনস্ক্ৰিপ্ট, চি++, কমন লিপস্প, চি#, ডাৰ্ট, আইফেল, ফৰট্ৰান 2003, হেক্স, জাভাস্ক্ৰিপ্ট, কোটলিন, লোগো, মেটালেব, অবজেক্ট-চি, অবজেক্ট পাস্কেল, পাৰ্ল, পিএইচপি, Basic.NET পাইথন, আৰু আৰ।)

 h. Name two procedure oriented programming languages.

(দুটা প্ৰক্ৰিয়ামুখী প্ৰগ্ৰেমিং ভাষাৰ নাম লিখা।)

Ans: Name to procedural languages is- FORTRAN,  C, include BASIC, COBOL, and Pascal. 

(প্ৰক্ৰিয়াগত ভাষাবোৰৰ নাম হৈছে- ফৰট্ৰান, চি, মৌলিক, কোবল, আৰু পাস্কেল অন্তৰ্ভুক্ত)

i. Name the first object oriented language.

(প্ৰথম বস্তুমুখী ভাষাৰ নাম লিখা।)

Ans: The first object oriented language name was-Simula

j. What is abstraction?

(বিমূৰ্ততা কি?)

Ans: Abstraction is a way to hide unnecessary details from a user. The user is given access only to the relevant details. Vehicle operations or ATM activities are classic examples of abstraction in the real world.

(এবস্ট্ৰেকচন হৈছে এজন ব্যৱহাৰকাৰীৰ পৰা অপ্ৰয়োজনীয় বিৱৰণ লুকুৱাই ৰখাৰ এটা উপায়। ব্যৱহাৰকাৰীক কেৱল প্ৰাসঙ্গিক বিৱৰণৰ প্ৰৱেশাধিকাৰ দিয়া হয়। বাহনৰ সঞ্চালন বা এটিএম কাৰ্যকলাপ হৈছে বাস্তৱ পৃথিৱীত বিমূৰ্ততাৰ উৎকৃষ্ট উদাহৰণ।)


II. LONG ANSWER QUESTIONS:

দীঘলীয়া উত্তৰৰ প্ৰশ্ন:             

a. Mention four characteristics of procedure oriented programming. 

(প্ৰক্ৰিয়ামুখী প্ৰগ্ৰে মিংৰ চাৰিটা বৈশিষ্ট্য উল্লেখ কৰা।)

Ans:  The four characteristics of procedure oriented programming was-

1. It emphasis on algorithm.

2. Function can communicate by global variable.

3. Data move freely from one function to another function.

4. It uses top-down programming approach.

(প্ৰক্ৰিয়া মুখী প্ৰ'গ্ৰামিংৰ চাৰিটা বিশেষত্ব আছিল-

1. ই এলগৰিথমৰ ওপৰত গুৰুত্ব আৰোপ কৰে।

2. ফাংচনে গোলকীয় চলকৰ দ্বাৰা যোগাযোগ কৰিব পাৰে।

3. ডাটা এটা ফাংচনৰ পৰা আন এটা ফাংচনলৈ মুক্তভাৱে স্থানান্তৰ কৰক।

4. ই টপ-ডাউন প্ৰ'গ্ৰামিং পদ্ধতি ব্যৱহাৰ কৰে।)

b. Mention two advantages and two disadvantages of procedure oriented programming

(প্ৰক্ৰিয়ামুখী প্ৰগ্ৰেমিংৰ দুটা সুবিধা আৰু দুটা অসুবিধা উল্লেখ কৰা)

Ans:  The advantages and two disadvantages of oriented programming.

c. Explain four features of OOP.

(OOP ৰ চাৰিটা বৈশিষ্ট্য ব্যাখ্যা কৰা।)

Ans: Abstraction, encapsulation, inheritance, and polymorphism are the four main concepts of OP. There are classes and things too.

(এবস্ট্ৰেকচন, এনকেপচুলেচন, উত্তৰাধিকাৰ, আৰু বহুৰূপবাদ হৈছে অ'পিৰ চাৰিটা মুখ্য ধাৰণা। তাত শ্ৰেণী আৰু বস্তুও আছে।)

d. List four advantages of OOP.

(OOP ৰ চাৰিটা সুবিধা তালিকাভুক্ত কৰক।)

Ans: The four Advantages of OOP was-

1. OOP can support large scale and complex software development project.

2. It allows us the code re- usability.

3. Avoids unnecessary data exposure to the user by using abstraction.

4. Better software maintenance.

(অ'পিৰ চাৰিটা সুবিধা আছিল-

1. ও.ও.পি.-য়ে বৃহৎ পৰিমাণৰ আৰু জটিল ছফ্টৱেৰ বিকাশ প্ৰকল্পসমৰ্থন কৰিব পাৰে।

2. ই আমাক কোডটো পুনৰ ব্যৱহাৰযোগ্য তাত অনুমতি দিয়ে।

3. এবস্ট্ৰেকচন ব্যৱহাৰ কৰি ব্যৱহাৰকাৰীৰ অপ্ৰয়োজনীয় ডাটা এক্সপোজাৰ পৰিহাৰ কৰে।

4. উন্নত ছফ্টৱেৰ তত্বাৱধান।)


e. Differentiate between procedure oriented programming and object oriented programming.

(প্ৰক্ৰিয়ামুখী প্ৰগ্ৰেমিং আৰু বস্তুমুখী প্ৰগ্ৰেমিংৰ মাজত পাৰ্থক্য কৰা।)

Ans: OOP divides a program into smaller parts and these parts are called objects. Procedural programming divides a program into smaller programs and each small program is called a function. OOP focuses on data rather than action or process. Procedural programming does not value data

(ও.ও.পি.-য়ে প্ৰ'গ্ৰাম এটাক সৰু অংশত বিভক্ত কৰে আৰু এই অংশবোৰক অবজেক্ট বুলি কোৱা হয়। প্ৰক্ৰিয়াগত প্ৰ'গ্ৰামিংয়ে এটা প্ৰ'গ্ৰামক সৰু প্ৰ'গ্ৰামত বিভক্ত কৰে আৰু প্ৰতিটো সৰু প্ৰ'গ্ৰামক ফাংচন বুলি কোৱা হয়। ও.ও.পি.-য়ে কাৰ্য বা প্ৰক্ৰিয়াৰ সলনি ডাটাৰ ওপৰত গুৰুত্ব দিয়ে। প্ৰক্ৰিয়াগত প্ৰ'গ্ৰামিংয়ে ডাটাৰ মূল্য নিদিয়ে)



Type & Assamese Translate : Himashree Bora.

Author-Dikha Bora



Post ID: DABP002207