mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-06 14:56:50 +02:00
Updated 2.4 to hindi
This commit is contained in:
@@ -1,18 +1,18 @@
|
|||||||
*Complete this quiz by checking one answer per question.*
|
_प्रति प्रश्न एक उत्तर की जाँच करके इस प्रश्नोत्तरी को पूरा करें._
|
||||||
|
|
||||||
1. What part of a for-loop would you need to modify to increment its iteration by 5
|
1. फॉर-लूप के किस भाग को आपको इसके पुनरावृत्ति को 5 से बढ़ाना होगा
|
||||||
|
|
||||||
- [ ] condition
|
- [ ] condition (स्थिति)
|
||||||
- [ ] counter
|
- [ ] काउंटर
|
||||||
- [ ] iteration-expression
|
- [ ] iteration-expression
|
||||||
|
|
||||||
2. What's the difference between a `while` and a `for-loop`
|
2. एक `while` और एक `for-loop` के बीच क्या अंतर है
|
||||||
|
|
||||||
- [ ] A `for-loop` has a counter and iteration-expression, where `while` only has a condition
|
- [ ] एक `for-loop` में एक काउंटर और इटरेशन-एक्सप्रेशन है, जहां `while` में केवल एक शर्त है
|
||||||
- [ ] A `while` has a counter and iteration-expression where `for-loop` only has a condition
|
- [ ] एक `while` में एक काउंटर और इटरेशन-एक्सप्रेशन है, जहां `for-loop` में केवल एक शर्त है
|
||||||
- [ ] They are the same, just an alias for one another
|
- [ ] वे समान हैं, बस एक दूसरे के लिए एक उपनाम
|
||||||
|
|
||||||
|
3. दिया गया कोड `for (let i=1; i < 5; i++)`, कितने पुनरावृत्तियों प्रदर्शन करेंगे?
|
||||||
|
|
||||||
3. Given the code `for (let i=1; i < 5; i++)`, how many iterations will it perform?
|
|
||||||
|
|
||||||
- [ ] 5
|
- [ ] 5
|
||||||
- [ ] 4
|
- [ ] 4
|
||||||
|
@@ -1,13 +1,13 @@
|
|||||||
*Complete this quiz in class*
|
_इस क्विज को कक्षा में पूरा करें_
|
||||||
|
|
||||||
1. To refer to specific item in an array, you would use a
|
1. किसी सरणी में विशिष्ट आइटम को संदर्भित करने के लिए, आप एक क्या उपयोग करेंगे
|
||||||
|
|
||||||
- [ ] square bracket `[]`
|
- [ ] square bracket `[]`
|
||||||
- [ ] index
|
- [ ] index
|
||||||
- [ ] curly braces `{}`
|
- [ ] curly braces `{}`
|
||||||
|
|
||||||
2. How do you get the number of items in an array
|
2. आपको किसी ऐरे में आइटम की संख्या कैसे मिलती है
|
||||||
|
|
||||||
- [ ] The `len(array)` method
|
- [ ] `len(array)` मेथड
|
||||||
- [ ] The property `size` on the array
|
- [ ] ऐरे पर `size` गुण
|
||||||
- [ ] The `length` property on the array
|
- [ ] ऐरे पर `length` गुण
|
||||||
|
@@ -1,13 +1,13 @@
|
|||||||
# Loop an Array
|
# लूप अर्रे
|
||||||
|
|
||||||
## Instructions
|
## अनुदेश
|
||||||
|
|
||||||
Create a program that lists every 3rd number between 1-20 and prints it to the console.
|
एक प्रोग्राम बनाएं जो 1-20 के बीच हर तीसरे नंबर को सूचीबद्ध करता है और इसे कंसोल पर प्रिंट करता है.
|
||||||
|
|
||||||
> TIP: use a for-loop and modify the iteration-expression
|
> सुझाब : फॉर-लूप का उपयोग करें और पुनरावृत्ति-अभिव्यक्ति को संशोधित करें
|
||||||
|
|
||||||
## Rubric
|
## शीर्ष
|
||||||
|
|
||||||
| Criteria | Exemplary | Adequate | Needs Improvement |
|
| मानदंड | उदाहरणात्मक | पर्याप्त | सुधार की जरूरत |
|
||||||
| -------- | --------------------------------------- | ------------------------ | ------------------------------ |
|
| ------ | ------------------------------------------------ | ------------------------- | ------------------------- |
|
||||||
| | Program runs correctly and is commented | Program is not commented | Program is incomplete or buggy |
|
| | प्रोग्राम सही ढंग से चलता है और टिप्पणी की गई है | प्रोग्राम टिप्पणी नहीं है | प्रोग्राम अधूरा या बगी है |
|
||||||
|
Reference in New Issue
Block a user