सोमवार, 11 जनवरी 2016

बच्चों के लिए प्रोग्रामिंग - Course 3 # Bee Functions

यह  Code.org के Code Studio में तीसरे कोर्स का छठा स्टेज है. इसका नाम है बी फक्शंस. इसमें ग्यारह लेवल हैं, और सभी लेवल कोडिंगकी प्रॅक्टिस के लिए हैं. 
https://studio.code.org/s/course3/stage/6/puzzle/1

यहाँ पर हमें फक्शंस की जानकारी मिलती है. प्रोग्राम में कुछ कोड अलग लिख कर उसे एक नाम दिया जाता है और यह कोड मुख्य प्रोग्राम में उस नाम से जोड़ा जाता है. 
फक्शंस के उपयोग से मुख्य प्रोग्राम के कोड की लम्बाई कम करने में मदद होती है. 

Level 1




Level 2

Here in this level collecting nectar two times is converted as a function which is coded separately and the name of the function is included in the main program.



Level 3


Here get5 is a function defined which collects nectar five times. The name of the function get5 is used within the main program.



Level 4


Here a few movements are defined as a function. These movements are repeated again and again, therefore coding them separately as a function will reduce the amount of coding in the main program.



Level 5



Level 6

 From this level onward you are asked to code the function. This will help you to learn how the coding for a function is done. 



Level 7




Level 8




Level 9




Level 10





Level 11






कोई टिप्पणी नहीं:

एक टिप्पणी भेजें

टिप्पणी: केवल इस ब्लॉग का सदस्य टिप्पणी भेज सकता है.