mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-07 07:16:39 +02:00
Updated 2.3 to hindi
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
*Complete this quiz by checking one answer per question.*
|
||||
_प्रति प्रश्न एक उत्तर की जाँच करके इस प्रश्नोत्तरी को पूरा करें._
|
||||
|
||||
1. What would the following code return: `'1' == 1`
|
||||
1. निम्नलिखित कोड क्या लौटाएगा: `'1' == 1`
|
||||
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
- [ ] सही
|
||||
- [ ] गलत
|
||||
|
||||
2. Choose the correct operator to express _or_ logic
|
||||
2. _or_ तर्क व्यक्त करने के लिए सही ऑपरेटर चुनें
|
||||
|
||||
- [ ] `a | b`
|
||||
- [ ] `a || b`
|
||||
|
@@ -1,12 +1,12 @@
|
||||
*Complete this quiz in class*
|
||||
_इस क्विज को कक्षा में पूरा करें_
|
||||
|
||||
1. The following operator `==` is called
|
||||
1. निम्नलिखित ऑपरेटर को `==` क्या जाता है
|
||||
|
||||
- [ ] Equality
|
||||
- [ ] Strict equality
|
||||
- [ ] Assignment
|
||||
- [ ] समानता
|
||||
- [ ] सख्त समानता
|
||||
- [ ] असाइनमेंट
|
||||
|
||||
2. A comparison in JavaScript returns what type?
|
||||
2. जावास्क्रिप्ट में एक तुलना किस प्रकार देता है?
|
||||
|
||||
- [ ] boolean
|
||||
- [ ] null
|
||||
|
@@ -1,24 +1,24 @@
|
||||
# Operators
|
||||
# ऑपरेटर्स
|
||||
|
||||
## Instructions
|
||||
## अनुदेश
|
||||
|
||||
Play around with operators. Here's a suggestion for a program you can implement:
|
||||
ऑपरेटरों के साथ खेलते हैं। यहां एक प्रोग्राम के लिए एक सुझाव है जिसे आप कार्यान्वित कर सकते हैं:
|
||||
|
||||
You have a set of students from two different grading systems.
|
||||
आपके पास दो अलग-अलग ग्रेडिंग सिस्टम के छात्रों का एक सेट है.
|
||||
|
||||
### First grading system
|
||||
### पहला ग्रेडिंग सिस्टम
|
||||
|
||||
One grading system is defined as grades being from 1-5 where 3 and above means you pass the course.
|
||||
एक ग्रेडिंग सिस्टम को 1-5 से ग्रेड के रूप में परिभाषित किया गया है जहां 3 और इसके बाद के संस्करण का मतलब है कि आप पाठ्यक्रम पास करते हैं।
|
||||
|
||||
### Second grading system
|
||||
### दूसरा ग्रेडिंग सिस्टम
|
||||
|
||||
The other grade system has the following grades `A, A-, B, B-, C, C-` where `A` is the top grade and `C` is the lowest passing grade.
|
||||
अन्य ग्रेड प्रणाली में निम्न ग्रेड हैं `A, A-, B, B-, C, C-` जहां `A` शीर्ष ग्रेड है और `C` सबसे कम पासिंग ग्रेड है।
|
||||
|
||||
### The task
|
||||
### काम
|
||||
|
||||
Given the following array `allStudents` representing all students and their grades, construct a new array `studentsWhoPass` containing all students who pass.
|
||||
निम्नलिखित सरणी को देखते हुए `allStudents` सभी छात्रों और उनके ग्रेड का प्रतिनिधित्व करते हैं, एक नई सरणी का निर्माण करते हैं` StudentsWhoPass` जिसमें सभी छात्र पास होते हैं।
|
||||
|
||||
> TIP, use a for-loop and if...else and comparison operators:
|
||||
> सुझाब , for-loop और if...else और तुलना ऑपरेटरों का उपयोग करें :
|
||||
|
||||
```javascript
|
||||
let allStudents = [
|
||||
@@ -33,8 +33,8 @@ let allStudents = [
|
||||
let studentsWhoPass = [];
|
||||
```
|
||||
|
||||
## Rubric
|
||||
## शीर्ष
|
||||
|
||||
| Criteria | Exemplary | Adequate | Needs Improvement |
|
||||
| -------- | ------------------------------ | ----------------------------- | ------------------------------- |
|
||||
| | Complete solution is presented | Partial solution is presented | Solution with bugs is presented |
|
||||
| मानदंड | उदाहरणात्मक | पर्याप्त | सुधार की जरूरत |
|
||||
| ------ | ---------------------------- | ----------------------------- | ------------------------------------- |
|
||||
| | पूरा समाधान प्रस्तुत किया है | आंशिक समाधान प्रस्तुत किया है | बग के साथ समाधान प्रस्तुत किया गया है |
|
||||
|
Reference in New Issue
Block a user