practice: add questions on successive percentage changes

Abierto Apto para principiantes
#32 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
82/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
json
Área
content

Línea de trabajo

Abre shared/practice/questions.json y lee primero las preguntas cuantitativas existentes para seguir su estructura. Añade tres preguntas originales sobre cambios porcentuales sucesivos, cada una con cuatro opciones, un ID de respuesta válido y una explicación que muestre los cálculos; conserva los ID existentes. Ejecuta npm ci y npm test para comprobar el banco de preguntas.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
1
Forks
1
Merge medio
8 h 58 min
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de procoderji-com/procoderji

Todos los issues de procoderji-com/procoderji

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.