Various Techniques of Programming
Programming एक Complex matter है। इसलिए हर तकनीक जो इसे Simplify करने में मदद करती है वह बहुत उपयोगी है। In this Article में हम Simple and effective programming techniques को Consider करेंगे जो programming work को Simplify करेगा।
आजकल हम प्रायः Programming language पर discussed करते है जो उन लोगो के लिए सही है जो प्रोग्रामिंग सीखना चाहते है वास्तव में प्रोग्रामिंग भाषा सीखना महत्वपूर्ण नहीं है प्रोग्रामिंग भाषा को सीखना मतलब अल्गोरिथम को विकसित करने की कला को सीखना है (Learning to develop algorithm thinking ). So here we discuss some most basic computer programming technique –
1.Variables: एक variable और कुछ नहीं बल्कि storage area को दिया गया एक नाम है जिससे हमारे program में manipulate किया जा सके। Variable का नाम letters, digits , underscore character का उसे करके बनाया जाता है। अलग -अलग प्रोग्रामिंग भाषाओ के Variables diclier करने के अलग -अलग नियम होते है। Based on basic types there will be the following variable types – (a) int (b) char (c) float (d) double (e) void
2.Loop repetition : Programming technique में loop repetition बहुत महत्वपूर्ण माना जाता है अधिकतम Loop repetition में For loop का Use किया जाता है। यह counting के idea को convey करता है। for loop में हमे तीन condition given होती है। Syntax : for(initilization ; condition; updation) { //statements;
}
3. Selection statements: Program को simplify करने के लिए हमे यूजर से input लेते है most algorithmic language में प्रोग्राम flow को control करने के लिए selection statement ka use किया जाता है।
4. Array : Array को similar type के datatype को स्टोर करने के लिए use किया जाता है , इसमें data को contiguous memory me store करते है। Array same के डाटा के fixed size के element के collection को store करता है।
5. Portable and efficient : Program को एक ही प्रकार के सभी कम्पूटरो पर Run करना चाहिए जिससे क़ि software को आसानी से task को assign किया जा सके और memory optimization के द्वारा प्रोग्राम के efficiency को बाध्य जा सके।
6. User friendly : Programming technique में user friendहोने का मतलब प्रोग्राम इंटरफ़ेस ,clickable links और icons आदि user friendly होना चाहिए।
7. Self-documentation : कोई प्रोग्राम अथवा सॉफ्टवेयर जिसके identifier names, module names, etc. can describe itself due to use of explicit names.