practice: add questions on successive percentage changes

未关闭 适合新手
#32 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
82/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
json
领域
content

调研方向

打开 shared/practice/questions.json,先阅读现有的定量问题,以匹配其结构。添加三个原创的连续百分比变化问题,每个问题包含四个选项、一个有效的答案 ID,以及展示计算过程的解释;保持现有 ID 不变。运行 npm ci 和 npm test 来检查题库。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
1
派生
1
平均合并
8 小时 58 分钟
30 天内合并 PR
37

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

procoderji-com/procoderji 的其他 Issue

查看 procoderji-com/procoderji 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。