mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-06 06:47:50 +02:00
Added intial files for hindi translation
This commit is contained in:
18
2-js-basics/4-arrays-loops/translations/.github/post-lecture-quiz.hi.md
vendored
Normal file
18
2-js-basics/4-arrays-loops/translations/.github/post-lecture-quiz.hi.md
vendored
Normal file
@@ -0,0 +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
|
||||
|
||||
- [ ] condition
|
||||
- [ ] counter
|
||||
- [ ] iteration-expression
|
||||
|
||||
2. What's the difference between a `while` and a `for-loop`
|
||||
|
||||
- [ ] A `for-loop` has a counter and iteration-expression, where `while` only has a condition
|
||||
- [ ] A `while` has a counter and iteration-expression where `for-loop` only has a condition
|
||||
- [ ] They are the same, just an alias for one another
|
||||
|
||||
3. Given the code `for (let i=1; i < 5; i++)`, how many iterations will it perform?
|
||||
|
||||
- [ ] 5
|
||||
- [ ] 4
|
13
2-js-basics/4-arrays-loops/translations/.github/pre-lecture-quiz.hi.md
vendored
Normal file
13
2-js-basics/4-arrays-loops/translations/.github/pre-lecture-quiz.hi.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
*Complete this quiz in class*
|
||||
|
||||
1. To refer to specific item in an array, you would use a
|
||||
|
||||
- [ ] square bracket `[]`
|
||||
- [ ] index
|
||||
- [ ] curly braces `{}`
|
||||
|
||||
2. How do you get the number of items in an array
|
||||
|
||||
- [ ] The `len(array)` method
|
||||
- [ ] The property `size` on the array
|
||||
- [ ] The `length` property on the array
|
13
2-js-basics/4-arrays-loops/translations/assignment.hi.md
Normal file
13
2-js-basics/4-arrays-loops/translations/assignment.hi.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Loop an Array
|
||||
|
||||
## Instructions
|
||||
|
||||
Create a program that lists every 3rd number between 1-20 and prints it to the console.
|
||||
|
||||
> 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