practice: add questions on successive percentage changes

Offen Anfängerfreundlich
#32 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
82/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
json
Bereich
content

Rechercherichtung

Öffne shared/practice/questions.json und lies zuerst die vorhandenen Fragen zu prozentualen Änderungen, um ihre Struktur zu übernehmen. Füge drei eigene Fragen zu aufeinanderfolgenden prozentualen Änderungen hinzu, jeweils mit vier Antwortmöglichkeiten, einer gültigen Antwort-ID und einer Erklärung mit dem Rechenweg; ändere vorhandene IDs nicht. Führe npm ci und npm test aus, um den Fragenkatalog zu prüfen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement good first issue

What to add

Add 3 original multiple-choice questions on successive percentage changes to the quantitative topic in shared/practice/questions.json.

The quantitative topic has 6 questions and none of them cover successive percentage changes yet. Some ideas (write your own wording and numbers):

  • an increase followed by a decrease of the same percentage
  • two discounts applied one after the other
  • a value that grows by a fixed percentage for two years

Look at the existing quantitative questions in the file first and follow the same shape.

Requirements

  • The questions must be your own. Do not copy from books, websites, coaching material, or past papers.
  • Each question has exactly 4 options (a to d), one answerId, and an explanation that shows the reasoning or working, not only the answer.
  • Use "topicId": "quantitative" and "difficulty": "easy" or "medium". A mix of both is welcome.
  • Give each question a new lowercase ID, for example quant-successive-discount. Do not change existing IDs.
  • Indian context is welcome (Rs, km, common names).

Check your change

npm ci
npm test

npm test checks the question bank (unique IDs, four distinct options, a valid answer). If you have the .NET SDK, also run dotnet test backend/ProCoderJi.slnx --configuration Release. If you don't, CI runs the backend tests on your pull request.

Before you start

Leave a comment here when you start so others can pick a different issue. New to open source? Start with CONTRIBUTING.md. Questions are welcome in the comments.

Vorherrschende Sprache
TypeScript
Sterne
1
Forks
1
Ø Merge
8 Std. 58 Min.
Gemergte PRs (30 T.)
37

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus procoderji-com/procoderji

Alle Issues in procoderji-com/procoderji

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.