Skip to content

Commit

Permalink
Updates 26/06: Divide questions by domain and add angular material to…
Browse files Browse the repository at this point in the history
… project (#9)
  • Loading branch information
Salgado2004 authored Jun 26, 2024
2 parents a132221 + 45dfb80 commit 732bb6a
Show file tree
Hide file tree
Showing 34 changed files with 1,622 additions and 41 deletions.
116 changes: 116 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Contribuiting
> The easiest way to contribute is by [opening an issue](https://github.com/Salgado2004/CertCloud-Exams/issues/new/choose). No contribution is too small - we encourage you to report any typos/bugs, unclear questions or feature requests.
- [Setting up the project](#setting-up-the-project)
- [Local setup](#local-setup)
- [Content Changes](#content-changes)
- [Adding new question](#adding-new-question)
- [Single option question](#single-option-question)
- [Multiple option question](#multiple-option-question)
- [True or False question](#true-or-false-question)
- [Select question](#select-question)

## Setting up the project

### Local setup

- [Fork](https://github.com/Salgado2004/CertCloud-Exams/fork) the repository
- Install the project dependencies `npm install`
- Install angular cli `npm install -g @angular/cli`
- In the project root, run the Angular project `ng serve --open`
- Also, run the development server `node .\dev-server\index.js`

## Content Changes

### Adding new question

The questions are stored in the [content/](https://github.com/Salgado2004/CertCloud-Exams/tree/master/content) folder of the repo in JSON format.

Each exam has its own questions.json file. To add a new question, go to the exam file and create a new JSON object in the end of the array, following the format:

#### Single option question
```
{
"id": "001",
"exam": "AZ900",
"type": "options",
"domain":"Descrever os conceitos da nuvem",
"header": "Qual é a vantagem da computação em nuvem em comparação com implantações locais?",
"options": [
"Você pode dimensionar mais rapidamente",
"Você pode trabalhar em várias estações de trabalho",
"Você tem acesso total em caso de interrupção da internet",
"Você tem suas CPUs"
],
"correct": [
"Você pode dimensionar mais rapidamente"
]
}
```

#### Multiple option question
```
{
"id": "003",
"exam": "IA900",
"type": "multiple",
"domain": "Descrever os recursos das cargas de trabalho de pesquisa visual computacional no Azure",
"header": "Quais são os dois modelos de domínio especializados que dão suporte à Visão de IA do Azure ao categorizar uma imagem? Cada resposta correta apresenta uma solução completa.",
"options": [
"Celebridades",
"Tipos de imagem",
"Pontos de referência",
"People",
"People_group"
],
"correct": [
"Celebridades",
"Pontos de referência"
]
}
```

#### True or False question
```
{
"id": "063",
"exam": "IA900",
"type": "truefalse",
"domain": "Descrever as cargas de trabalho e considerações sobre Inteligência Artificial",
"header": "Para cada uma das afirmações a seguir, selecione Sim se a afirmação for verdadeira. Caso contrário, selecione Não.",
"body": "NOTA: Cada seleção correta vale um ponto.",
"options": [
"A previsão dos preços da habitação com base em dados históricos é um exemplo de detecção de anomalia",
"Identificar logins suspeitos procurando desvios dos padrões usuais é um exemplo de detecção de anomalias.",
"Prever se um paciente desenvolverá diabetes com base no histórico médico do paciente é um exemplo de detecção de anomalias"
],
"correct": [
"false",
"true",
"false"
]
}
```

#### Select question
```
{
"id": "013",
"exam": "IA900",
"type": "select",
"domain": "Descrever as cargas de trabalho e considerações sobre Inteligência Artificial",
"header": "Selecione a resposta que conclui corretamente a frase.",
"body": "___________ pode retornar respostas, como linguagem natural, imagens ou código, com base na entrada de linguagem natural.",
"options": [
"Pesquisa visual computacional",
"Aprendizado",
"IA generativa",
"Aprendizado de máquina",
"Aprendizado de reforço"
],
"correct": [
"IA generativa"
]
}
```
The _only attribute that can be **null** is the body_. All of the others have to be informed.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Um projeto para auxiliar no estudo e conquista de certificações das principais
## Tecnologias utilizadas

Esse projeto foi desenvolvido com:
- _[Angular CLI](https://github.com/angular/angular-cli) versão 15.1.5._
- _[Node](https://nodejs.org/en) versão 18.14.0_
- _[Angular CLI](https://github.com/angular/angular-cli) versão 17.1.3_
- _[Node](https://nodejs.org/en) versão 20.11.0_

## Contribuidores
<a href="https://github.com/Salgado2004/CertCloud-Exams/graphs/contributors">
Expand Down
2 changes: 2 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"src/assets"
],
"styles": [
"@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": []
Expand Down Expand Up @@ -96,6 +97,7 @@
"src/assets"
],
"styles": [
"@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": []
Expand Down
Loading

0 comments on commit 732bb6a

Please sign in to comment.