-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
142 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,69 +7,106 @@ | |
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"questions": [ | ||
{ | ||
"id": 1, | ||
"text": "Qual das funções pode ser usada para verificar se um número é inteiro?", | ||
"id": 5, | ||
"text": "Com relação as funções `str_replace()`, `str_ireplace()` e `str_casereplace()`, marque a alternativa correta?", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"answers": [ | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`int`" | ||
"text": "Não há diferença entre elas" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`is_interger`" | ||
"text": "`str_ireplace` e `str_casereplace` não existem" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`str_ireplace` e `str_casereplace` são para substituir caracteres em strings com case insensitive" | ||
}, | ||
{ | ||
"correct": true, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`is_int`" | ||
"text": "`str_ireplace` é para substituir caracteres em strings com case insensitive e `str_casereplace` não existe" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 13, | ||
"text": "Indique o resultado da seguinte expressão: \n\n block```$var = '2015PHPinga'; echo $var == 2015 ? 'Igual' : 'Diferente';```block", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"answers": [ | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "Dá erro: String to Integer convertion error" | ||
}, | ||
{ | ||
"correct": true, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'Igual'`" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`isInt`" | ||
"text": "`'Diferente'`" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`isInteger`" | ||
"text": "`'2015PHPinga'`" | ||
} | ||
] | ||
}, | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 2, | ||
"description": "Avançado", | ||
"author": "[email protected]", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"questions": [ | ||
{ | ||
"id": 12, | ||
"text": "Indique o resultado da seguinte expressão: \n\n block```$var = '0'; echo empty($var) ? 'Vazio' : 'Tem conteúdo';```block", | ||
"id": 1, | ||
"text": "Qual das funções pode ser usada para verificar se um número é inteiro?", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"answers": [ | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "Dá erro: String to Integer convertion error" | ||
"text": "`int`" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'Tem conteúdo'`" | ||
"text": "`is_interger`" | ||
}, | ||
{ | ||
"correct": true, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'Vazio'`" | ||
"text": "`is_int`" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'0'`" | ||
"text": "`isInt`" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`isInteger`" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 13, | ||
"text": "Indique o resultado da seguinte expressão: \n\n block```$var = '2015PHPinga'; echo $var == 2015 ? 'Igual' : 'Diferente';```block", | ||
"id": 12, | ||
"text": "Indique o resultado da seguinte expressão: \n\n block```$var = '0'; echo empty($var) ? 'Vazio' : 'Tem conteúdo';```block", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"answers": [ | ||
|
@@ -79,31 +116,22 @@ | |
"text": "Dá erro: String to Integer convertion error" | ||
}, | ||
{ | ||
"correct": true, | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'Igual'`" | ||
"text": "`'Tem conteúdo'`" | ||
}, | ||
{ | ||
"correct": false, | ||
"correct": true, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'Diferente'`" | ||
"text": "`'Vazio'`" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`'2015PHPinga'`" | ||
"text": "`'0'`" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 2, | ||
"description": "Avançado", | ||
"author": "[email protected]", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"questions": [ | ||
}, | ||
{ | ||
"id": 2, | ||
"text": "Qual método pode-se usar como construtor de uma classe?", | ||
|
@@ -188,34 +216,6 @@ | |
} | ||
] | ||
}, | ||
{ | ||
"id": 5, | ||
"text": "Com relação as funções `str_replace()`, `str_ireplace()` e `str_casereplace()`, marque a alternativa correta?", | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"updatedAt": "2024-04-05 04:14:13.951247+00", | ||
"answers": [ | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "Não há diferença entre elas" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`str_ireplace` e `str_casereplace` não existem" | ||
}, | ||
{ | ||
"correct": false, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`str_ireplace` e `str_casereplace` são para substituir caracteres em strings com case insensitive" | ||
}, | ||
{ | ||
"correct": true, | ||
"createdAt": "2024-04-05 04:14:13.951247+00", | ||
"text": "`str_ireplace` é para substituir caracteres em strings com case insensitive e `str_casereplace` não existe" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": 6, | ||
"text": "Qual é o resultado da variável `$a`, dado que: \n\n`$a = '1 gato' + '2 cachorros' == '3 mamíferos';` ?", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/view/pages/PrivatePage.tsx → src/view/pages/DashboardPage.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export function PrivatePage () { | ||
export function DashboardPage () { | ||
return ( | ||
<p> | ||
Eu sou uma página privada | ||
</p> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters