7.3 PROBLEM SOLVING IN COMPUTERI

7.3 কম্পিউটাৰত সমাধান কৰাত সমস্যা

We write a program or build an application when we want our computer to do a specific task based on our requirement. We may use any high level language to write the program or build the application. To do so, we primarily need to know two things:

যেতিয়া আমি আমাৰ কম্পিউটাৰে আমাৰ প্ৰয়োজনীয়তাৰ ওপৰত আধাৰিত কৰি এটা নিৰ্দিষ্ট কাম কৰিব বিচাৰো তেতিয়া আমি এটা প্ৰ’গ্ৰাম লিখোঁ বা এপ্লিকেচন এটা নিৰ্মাণ কৰোঁ। আমি প্ৰ’গ্ৰামটো লিখিবলৈ বা এপ্লিকেচনটো নিৰ্মাণ কৰিবলৈ যিকোনো উচ্চ স্তৰৰ ভাষা ব্যৱহাৰ কৰিব পাৰোঁ। এনে কৰিবলৈ, আমি মুখ্যতঃ দুটা কথা জানিব লাগিব:

i) Logic or the solution for the program.

আই) প্ৰ’গ্ৰামটোৰ বাবে যুক্তি বা সমাধান।

 ii) Syntax of the HLL.

 আইআই) এইচএলএলৰ বাক্যবিন্যাস।

The solution strategy depends on the problem we want to solve in our program. This is almost independent of the HLL we use to write our program. Once the solution for a given problem is ready, we need to write that using the permissible statements of the corresponding HILL. In the following section, we will spend some time to learn about the logic or solution strategy for a program.

সমাধানৰণ ৰণনীতি আমি আমাৰ কাৰ্যসূচীত সমাধান কৰিব বিচৰা সমস্যাৰ ওপৰত নিৰ্ভৰ কৰে। এইটো আমি আমাৰ প্ৰ’গ্ৰাম লিখিবলৈ ব্যৱহাৰ কৰা এইচএলএলৰ পৰা প্ৰায় স্বতন্ত্ৰ। প্ৰদত্ত সমস্যা এটাৰ সমাধান প্ৰস্তুত হোৱাৰ পিছত, আমি লিখিব লাগিব যে সংশ্লিষ্ট হিলৰ অনুমোদিত বিবৃতিব্যৱহাৰ কৰি। নিম্নলিখিত শাখাত, আমি এটা কাৰ্যসূচীৰ বাবে যুক্তি বা সমাধান ৰণনীতিৰ বিষয়ে শিকিবলৈ কিছু সময় ব্যয় কৰিম।