সকল বিষয়

Created: 3 months ago | Updated: 2 days ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
8.

দৈন্যতা

Created: 3 months ago | Updated: 16 hours ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
9.

সমিচিন

Created: 3 months ago | Updated: 2 days ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
10.

শিরচ্ছেদ

Created: 3 months ago | Updated: 4 days ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
11.

সন্যাসী

Created: 3 months ago | Updated: 2 days ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
12.

পোষ্টমাষ্টার

Created: 3 months ago | Updated: 1 day ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
13.

আকাংখা

Created: 3 months ago | Updated: 4 days ago
যে-কোনো পাঁচটি শব্দের বানান শুদ্ধ করে লিখুন:
14.

নুন্যতম

Created: 3 months ago | Updated: 4 days ago
সমার্থক শব্দ লিখুন (দুটি করে):
15.

জল

Created: 3 months ago | Updated: 1 day ago
সমার্থক শব্দ লিখুন (দুটি করে):
16.

আকাশ

Created: 3 months ago | Updated: 4 days ago
সমার্থক শব্দ লিখুন (দুটি করে):
17.

পাথর

Created: 3 months ago | Updated: 1 day ago
সমার্থক শব্দ লিখুন (দুটি করে):
18.

ঘোড়া

Created: 3 months ago | Updated: 4 days ago
সমার্থক শব্দ লিখুন (দুটি করে):
19.

উর্মি

Created: 3 months ago | Updated: 1 day ago
Created: 3 months ago | Updated: 6 hours ago
Created: 3 months ago | Updated: 6 hours ago
Created: 3 months ago | Updated: 6 hours ago
Created: 3 months ago | Updated: 6 hours ago
Created: 3 months ago | Updated: 1 day ago
Created: 3 months ago | Updated: 1 day ago
Created: 3 months ago | Updated: 1 day ago
Write short notes on the following terms (any four):
28.

Allegory

Created: 3 months ago | Updated: 2 days ago
Write short notes on the following terms (any four):
29.

Satire

Created: 3 months ago | Updated: 1 day ago
Write short notes on the following terms (any four):
30.

Fable

Created: 3 months ago | Updated: 1 day ago
Write short notes on the following terms (any four):
31.

Ballad

Created: 3 months ago | Updated: 1 day ago
Write short notes on the following terms (any four):
32.

Three Unities

Created: 3 months ago | Updated: 1 day ago
Write short notes on the following terms (any four):
33.

Mock-epic

Created: 3 months ago | Updated: 1 day ago
Write short notes on the following terms (any four):
34.

Elegy

Created: 3 months ago | Updated: 2 days ago
Write short notes on the following terms (any four):
35.

Parable

Created: 3 months ago | Updated: 1 day ago
Identify the figures of speech in the underlined parts of the following quotations and explain their functions:
36.

She was trembling like a leaf.

Created: 3 months ago | Updated: 2 days ago
Identify the figures of speech in the underlined parts of the following quotations and explain their functions:
37.

I fall upon the thorns of life! I bleed!

Created: 3 months ago | Updated: 5 days ago
Identify the figures of speech in the underlined parts of the following quotations and explain their functions:
38.

O Judgment! thou art tied to brutish beasts.

Created: 3 months ago | Updated: 1 month ago
Identify the figures of speech in the underlined parts of the following quotations and explain their functions:
39.

was this the face that launch'd a thousand ships. And burnt the topless towers of Ilium?

Created: 3 months ago | Updated: 2 days ago
Identify the figures of speech in the underlined parts of the following quotations and explain their functions:
40.

She is an open book.

Created: 3 months ago | Updated: 2 days ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
44.

Bath (verb)

Created: 3 months ago | Updated: 1 day ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
45.

Bright (adverb)

Created: 3 months ago | Updated: 1 day ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
46.

Heart (adjective)

Created: 3 months ago | Updated: 1 day ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
47.

Enjoyment (verb)

Created: 3 months ago | Updated: 1 day ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
48.

Choose (noun)

Created: 3 months ago | Updated: 1 day ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
49.

Courage (adjective)

Created: 3 months ago | Updated: 2 days ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
50.

Success (verb)

Created: 3 months ago | Updated: 1 day ago
Change the following  words as directed and make sentences with the 1x5=5 changed words (any five):
51.

Dramatic (adverb)

Created: 3 months ago | Updated: 2 days ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
52.

Scarcely had he reached the station _________

Created: 3 months ago | Updated: 2 days ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
53.

A bad workman quarrels _________

Created: 3 months ago | Updated: 1 day ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
54.

They wash their hands and ___________

Created: 3 months ago | Updated: 4 days ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
55.

It was five years since we _________

Created: 3 months ago | Updated: 1 day ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
56.

Had I been you ________

Created: 3 months ago | Updated: 1 day ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
57.

It was high time for us _________

Created: 3 months ago | Updated: 1 day ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
58.

The old man walks carefully lest _________

Created: 3 months ago | Updated: 1 day ago
Use your own words to complete each of the following sentences 1×5=5 (any five):
59.

The car is too costly _________

Created: 3 months ago | Updated: 1 day ago

Friend Function হল একটি বিশেষ ধরনের ফাংশন যা C++ এ ব্যবহৃত হয়। এটি ক্লাসের বাইরে থেকেও ক্লাসের private এবং protected ডাটা মেম্বার অ্যাক্সেস করতে পারে।

 

class MyClass {
private:
   int private_data;
   
public:
   MyClass() {
       private_data = 0;
   }
   
   // Friend function declaration
   friend void displayData(MyClass obj);
};

// Friend function definition
void displayData(MyClass obj) {
   // Can access private members
   cout << "Private data = " << obj.private_data;
}

 

সুবিধাসমূহ:

  1. ফাংশনালিটি (Functionality):
    • একাধিক ক্লাসের private ডাটা অ্যাক্সেস করতে পারে
    • দুই ক্লাসের মধ্যে ডাটা শেয়ার করা সহজ হয়
    • ক্লাসের বাইরে থেকে private ডাটা নিয়ে কাজ করা যায়
  2. ফ্লেক্সিবিলিটি (Flexibility):
    • একাধিক ক্লাসের ডাটা একসাথে প্রসেস করা যায়
    • ক্লাসের ইনক্যাপসুলেশন ভঙ্গ না করে ডাটা অ্যাক্সেস করা যায়
  3. কোড অপ্টিমাইজেশন:
    • পারফরম্যান্স বাড়ানো যায়
    • কোড পুনর্ব্যবহার করা সহজ হয়

অসুবিধাসমূহ:

  1. সিকিউরিটি রিস্ক:
    • private ডাটা অ্যাক্সেস করতে পারে, যা সিকিউরিটি ঝুঁকি তৈরি করে
    • ডাটা হাইডিং নীতি লঙ্ঘন করে
  2. মেইনটেনেবিলিটি:
    • কোড মেইনটেইন করা কঠিন হয়
    • ডিবাগিং জটিল হয়ে যায়
  3. কোড কমপ্লেক্সিটি:
    • প্রোগ্রামের জটিলতা বাড়ে
    • কোড বোঝা কঠিন হয়ে যায়

উদাহরণ:

class Box {
private:
   int length;
   
public:
   Box() {
       length = 0;
   }
   
   friend void printLength(Box b);
};

void printLength(Box b) {
   // Can access private member length
   cout << "Length = " << b.length << endl;
}

int main() {
   Box box;
   printLength(box);  // Will print: Length = 0
   return 0;
}

Created: 3 months ago | Updated: 2 days ago
Created: 3 months ago | Updated: 16 hours ago