Browse Source

added hints for every question (epic game)

main
fdlt3885 2 years ago
parent
commit
5e91d50c3d
  1. 20
      src/main/quizproject.c

20
src/main/quizproject.c

@ -1013,6 +1013,7 @@ int B_testround(void) {
printf("Play a Test Round!\n"); printf("Play a Test Round!\n");
printf("The points you get in this round will be added to the other rounds.\n"); printf("The points you get in this round will be added to the other rounds.\n");
printf("Question 1: What is the capital of Spain?\n"); printf("Question 1: What is the capital of Spain?\n");
printf("Hint: It is located in the center of the country.\n");
printf("Options: a.)Madrid b.)Barcelona c.)Valencia d.)Granada "); printf("Options: a.)Madrid b.)Barcelona c.)Valencia d.)Granada ");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1025,6 +1026,7 @@ int B_testround(void) {
} }
printf("Question 2: What is the smallest planet in our solar system?\n"); printf("Question 2: What is the smallest planet in our solar system?\n");
printf("Hint: It is named after the messenger of the gods.\n");
printf("Options: a.)Earth b.)Mars c.)Mercury d.)Sun "); printf("Options: a.)Earth b.)Mars c.)Mercury d.)Sun ");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1077,6 +1079,7 @@ int B_round2(void) {
printf("Round 2 - True or False\n"); printf("Round 2 - True or False\n");
printf("Question 1: The sun rises in the west.\n"); printf("Question 1: The sun rises in the west.\n");
printf("Hint:Think about the Earth's rotation on its axis towards the east. \n");
printf("Options: a.)Ture b.)False"); printf("Options: a.)Ture b.)False");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1089,6 +1092,7 @@ int B_round2(void) {
} }
printf("Question 2: The capital city of France is known as the 'City of Love'.\n"); printf("Question 2: The capital city of France is known as the 'City of Love'.\n");
printf("Hint: It is one of the most popular cities in the world.\n");
printf("Options: a.)Ture b.)False"); printf("Options: a.)Ture b.)False");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1108,6 +1112,7 @@ int B_round3(void) {
printf("Round 3\n"); printf("Round 3\n");
printf("Question 1: How many planets are in our solar system?\n"); printf("Question 1: How many planets are in our solar system?\n");
printf("Hint: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune.");
printf("Options: a.)5 b.)6 c.)7 d.)8"); printf("Options: a.)5 b.)6 c.)7 d.)8");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1120,6 +1125,7 @@ int B_round3(void) {
} }
printf("Question 2: How many bones are there in the human body? \n"); printf("Question 2: How many bones are there in the human body? \n");
printf("Hint: This number may vary in childhood due to some bones merging together as the body grows and develops.");
printf("Options: a.)206 b.)205 c.)207 d.)204"); printf("Options: a.)206 b.)205 c.)207 d.)204");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1138,6 +1144,7 @@ int B_round4(void) {
char answer[20]; char answer[20];
printf("Round 4\n"); printf("Round 4\n");
printf("Question 1: What is the capital of France?\n"); printf("Question 1: What is the capital of France?\n");
printf("Hint: It is known as the City of Light.\n");
printf("Options: a.)Paris b.)London c.)Madrid d.)Berlin"); printf("Options: a.)Paris b.)London c.)Madrid d.)Berlin");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1150,6 +1157,7 @@ int B_round4(void) {
} }
printf("Question 2: Who painted the Mona Lisa?\n"); printf("Question 2: Who painted the Mona Lisa?\n");
printf("Hint: He was a famous Italian artist.\n");
printf("Options: a.)Leonardo da Vinci b.)Michelangelo c.)Raphael d.)Titian"); printf("Options: a.)Leonardo da Vinci b.)Michelangelo c.)Raphael d.)Titian");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1168,6 +1176,7 @@ int B_round5(void) {
char answer[20]; char answer[20];
printf("Round 5\n"); printf("Round 5\n");
printf("Question 1: Who invented the World Wide Web?\n"); printf("Question 1: Who invented the World Wide Web?\n");
printf("Hint: He is a British computer scientist.\n");
printf("Options: a.)Bill Gates b.)Steve Jobs c.)Tim Berners-Lee d.)Mark Zuckerberg"); printf("Options: a.)Bill Gates b.)Steve Jobs c.)Tim Berners-Lee d.)Mark Zuckerberg");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1180,6 +1189,7 @@ int B_round5(void) {
} }
printf("Question 2: Who was the first person to walk on the Moon?\n"); printf("Question 2: Who was the first person to walk on the Moon?\n");
printf("Hint: He was an American astronaut.\n");
printf("Options: a.)Neil Armstrong b.)Buzz Aldrin c.)Michael Collins d.)Pete Conrad"); printf("Options: a.)Neil Armstrong b.)Buzz Aldrin c.)Michael Collins d.)Pete Conrad");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1199,6 +1209,7 @@ char answer[20];
printf("Round 6\n"); printf("Round 6\n");
printf("Question 1: Who wrote the novel 'To Kill a Mockingbird'?\n"); printf("Question 1: Who wrote the novel 'To Kill a Mockingbird'?\n");
printf("Hint: She is known as an American novelist.\n");
printf("Options: a.)Jane Austen b.)Agatha Christie c.)Harper Lee d.)Mary Shelley"); printf("Options: a.)Jane Austen b.)Agatha Christie c.)Harper Lee d.)Mary Shelley");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1211,6 +1222,7 @@ if (strcmp(answer, "c") == 0) {
} }
printf("Question 2: Who painted the famous artwork 'The Starry Night'?\n"); printf("Question 2: Who painted the famous artwork 'The Starry Night'?\n");
printf("Hint: He was a post-Impressionist painter.\n");
printf("Options: a.)Vincent van Gogh b.)Pablo Picasso c.)Leonardo da Vinci d.)Rembrandt"); printf("Options: a.)Vincent van Gogh b.)Pablo Picasso c.)Leonardo da Vinci d.)Rembrandt");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1230,6 +1242,7 @@ char answer[20];
printf("Round 7\n"); printf("Round 7\n");
printf("Question 1: Who directed the movie 'The Shawshank Redemption'?\n"); printf("Question 1: Who directed the movie 'The Shawshank Redemption'?\n");
printf("Hint: He is known for his work in Hollywood.\n");
printf("Options: a.)Martin Scorsese b.)Francis Ford Coppola c.)Steven Spielberg d.)Frank Darabont"); printf("Options: a.)Martin Scorsese b.)Francis Ford Coppola c.)Steven Spielberg d.)Frank Darabont");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1242,6 +1255,7 @@ if (strcmp(answer, "d") == 0) {
} }
printf("Question 2: Who invented the telephone?\n"); printf("Question 2: Who invented the telephone?\n");
printf("Hint: He was a Scottish-born American inventor.\n");
printf("Options: a.)Alexander Graham Bell b.)Thomas Edison c.)Nikola Tesla d.)Gutenberg"); printf("Options: a.)Alexander Graham Bell b.)Thomas Edison c.)Nikola Tesla d.)Gutenberg");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1261,6 +1275,7 @@ char answer[20];
printf("Round 8\n"); printf("Round 8\n");
printf("Question 1: Who played the lead role in the movie 'The Godfather'?\n"); printf("Question 1: Who played the lead role in the movie 'The Godfather'?\n");
printf("Hint: He is a legendary Hollywood actor.\n");
printf("Options: a.)Marlon Brando b.)Robert De Niro c.)Al Pacino d.)Jack Nicholson"); printf("Options: a.)Marlon Brando b.)Robert De Niro c.)Al Pacino d.)Jack Nicholson");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1273,6 +1288,7 @@ if (strcmp(answer, "a") == 0) {
} }
printf("Question 2: Who wrote the play 'Hamlet'?\n"); printf("Question 2: Who wrote the play 'Hamlet'?\n");
printf("Hint: He was an English playwright and poet.\n");
printf("Options: a.)William Shakespeare b.)Christopher Marlowe c.)Ben Jonson d.)John Milton"); printf("Options: a.)William Shakespeare b.)Christopher Marlowe c.)Ben Jonson d.)John Milton");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1292,6 +1308,7 @@ char answer[20];
printf("Round 9\n"); printf("Round 9\n");
printf("Question 1: The median is the value separating the higher half from the lower half of a data set.\n"); printf("Question 1: The median is the value separating the higher half from the lower half of a data set.\n");
printf("Hint: It is commonly used to represent the center of a dataset.");
printf("Options: a.)True b.)False"); printf("Options: a.)True b.)False");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1304,6 +1321,7 @@ if (strcmp(answer, "a") == 0) {
} }
printf("Question 2: The mode of a data set is the value that occurs most frequently.\n"); printf("Question 2: The mode of a data set is the value that occurs most frequently.\n");
printf("Hint: The mode is a statistical measure that represents the most frequently occurring value in a dataset.");
printf("Options: a.)True b.)False"); printf("Options: a.)True b.)False");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1323,6 +1341,7 @@ char answer[20];
printf("Round 10\n"); printf("Round 10\n");
printf("Question 1: What is the chemical formula for water?\n"); printf("Question 1: What is the chemical formula for water?\n");
printf("Hint: It is composed of two hydrogen atoms and one oxygen atom.");
printf("Options: a.)CO2 b.)O2 c.)H2O d.)N2O"); printf("Options: a.)CO2 b.)O2 c.)H2O d.)N2O");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);
@ -1335,6 +1354,7 @@ if (strcmp(answer, "c") == 0) {
} }
printf("Question 2: Who developed the theory of relativity?\n"); printf("Question 2: Who developed the theory of relativity?\n");
printf("Hint: A German-born physicist.");
printf("Options: a.)Isaac Newton b.)Albert Einstein c.)Stephen Hawking d.)Neil deGrasse Tyson"); printf("Options: a.)Isaac Newton b.)Albert Einstein c.)Stephen Hawking d.)Neil deGrasse Tyson");
printf("Answer: "); printf("Answer: ");
scanf("%s", answer); scanf("%s", answer);

Loading…
Cancel
Save