Compare commits
No commits in common. "97d69e498453700bce0a0beb96b6639d54a460e1" and "feaab2eb41e88a990ec836953a9dba019a2309b3" have entirely different histories.
97d69e4984
...
feaab2eb41
2 changed files with 0 additions and 78 deletions
|
@ -1,3 +0,0 @@
|
||||||
`json-server db.json`
|
|
||||||
`http://localhost:3000/questions`
|
|
||||||
`http://localhost:3000/questions/1`
|
|
75
api/db.json
75
api/db.json
|
@ -1,75 +0,0 @@
|
||||||
{
|
|
||||||
"questions": [
|
|
||||||
{
|
|
||||||
"id": "1",
|
|
||||||
"category": "C++",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "What is the output of the following code: std::cout << sizeof(int);",
|
|
||||||
"answer": "The output depends on the system, typically 4 on most systems."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "2",
|
|
||||||
"category": "geography",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "What is the capital of France?",
|
|
||||||
"answer": "Paris"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "3",
|
|
||||||
"category": "cybersecurity",
|
|
||||||
"type": "true or false",
|
|
||||||
"question": "A firewall can protect a network from all types of cyber attacks.",
|
|
||||||
"answer": "false"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "4",
|
|
||||||
"category": "C++",
|
|
||||||
"type": "true or false",
|
|
||||||
"question": "C++ supports multiple inheritance.",
|
|
||||||
"answer": "true"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "5",
|
|
||||||
"category": "geography",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "Which is the largest continent by land area?",
|
|
||||||
"answer": "Asia"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "6",
|
|
||||||
"category": "cybersecurity",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "What does the acronym 'DDoS' stand for?",
|
|
||||||
"answer": "Distributed Denial of Service"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "7",
|
|
||||||
"category": "C++",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "Which C++ standard introduced the concept of 'auto' keyword?",
|
|
||||||
"answer": "C++11"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "8",
|
|
||||||
"category": "geography",
|
|
||||||
"type": "true or false",
|
|
||||||
"question": "The Amazon River is the longest river in the world.",
|
|
||||||
"answer": "false"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "9",
|
|
||||||
"category": "cybersecurity",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "What is the main purpose of encryption?",
|
|
||||||
"answer": "To protect data confidentiality by converting it into a code."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "10",
|
|
||||||
"category": "C++",
|
|
||||||
"type": "quiz",
|
|
||||||
"question": "What is the function of the 'virtual' keyword in C++?",
|
|
||||||
"answer": "It allows a member function to be overridden in a derived class."
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue