From edf1719e96194f06a7d1c5e4d9aa9f2ba95b6490 Mon Sep 17 00:00:00 2001 From: Ben-J MK Date: Thu, 24 Aug 2023 10:24:22 +0200 Subject: [PATCH 1/3] feat(quizzes): adding a beta version of 01-quizz.md Just suggesting an other version of the initial quizz --- quizzes/01b-quizz.md | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 quizzes/01b-quizz.md diff --git a/quizzes/01b-quizz.md b/quizzes/01b-quizz.md new file mode 100644 index 0000000..b739c2e --- /dev/null +++ b/quizzes/01b-quizz.md @@ -0,0 +1,70 @@ +1. What of the following are version control systems? +[ ] git +[ ] subversion +[ ] grep +[ ] cvs +[ ] csv + +2. What was the core feature distributed version control systems (dvcs) such as git introduced? + +[ ] allows tagging releases +[ ] allows pushing changes to a central repository +[ ] allows tracking parallel, offline work +[ ] allows diff between versions + +3. What can you do on Github? +[ ] Publish a web page +[ ] Set up integration pipelines +[ ] Host a git repository +[ ] Review code changes +[ ] Publish compiled packages + +4. What can you do only on Github? +[ ] Publish a web page +[ ] Set up integration pipelines +[ ] Host a git repository +[ ] Review code changes +[ ] Publish compiled packages + +5. What is the command-line interface? +[ ] A graphical user interface with icons and windows +[ ] A textual shell to input commands and see output +[ ] A software development environment for Linux +[ ] An outdated programming language + +6. How does the shell find the programs requested in a command? +[ ] The program must be in /usr/bin/ +[ ] The shell must be compiled with the programs +[ ] The shell will look for the program in a list of folders +[ ] The command must provide the full path to the program + +7. Which of these are common environment variables? +[ ] PATH +[ ] PS1 +[ ] WALLET +[ ] USER +[ ] TERM +[ ] GREP +[ ] LINUX +[ ] HOME +[ ] NODE_ENV +[ ] PAGER + +8. What is the command to start a git repository? +[ ] git start +[ ] git init +[ ] git open +[ ] git reset + +9. What is the command to create a new branch called `devel`? +[ ] git checkout -b devel +[ ] git switch -c devel +[ ] git branch -d devel +[ ] git branch -c devel + +10. Which of these are real git config properties? +[ ] color.ui +[ ] core.pager +[ ] python.disable +[ ] user.signingkey +[ ] github.user From 7a3de32d0ca2e9ec4b81f6dcf448506e279f826f Mon Sep 17 00:00:00 2001 From: Ben-J MK Date: Thu, 24 Aug 2023 10:25:31 +0200 Subject: [PATCH 2/3] Rename 01b-quizz.md to 01b-quiz.md Correcting the file name --- quizzes/{01b-quizz.md => 01b-quiz.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename quizzes/{01b-quizz.md => 01b-quiz.md} (100%) diff --git a/quizzes/01b-quizz.md b/quizzes/01b-quiz.md similarity index 100% rename from quizzes/01b-quizz.md rename to quizzes/01b-quiz.md From e04caa90361e764dc3f5282e7a3fcf0427540565 Mon Sep 17 00:00:00 2001 From: Ben-J MK Date: Thu, 24 Aug 2023 12:45:29 +0200 Subject: [PATCH 3/3] fix(quizzes) : update 01b-quiz.md Writing the right md content of the 01b-quiz.md, making a funny quiz --- quizzes/01b-quiz.md | 120 ++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 70 deletions(-) diff --git a/quizzes/01b-quiz.md b/quizzes/01b-quiz.md index b739c2e..561cdae 100644 --- a/quizzes/01b-quiz.md +++ b/quizzes/01b-quiz.md @@ -1,70 +1,50 @@ -1. What of the following are version control systems? -[ ] git -[ ] subversion -[ ] grep -[ ] cvs -[ ] csv - -2. What was the core feature distributed version control systems (dvcs) such as git introduced? - -[ ] allows tagging releases -[ ] allows pushing changes to a central repository -[ ] allows tracking parallel, offline work -[ ] allows diff between versions - -3. What can you do on Github? -[ ] Publish a web page -[ ] Set up integration pipelines -[ ] Host a git repository -[ ] Review code changes -[ ] Publish compiled packages - -4. What can you do only on Github? -[ ] Publish a web page -[ ] Set up integration pipelines -[ ] Host a git repository -[ ] Review code changes -[ ] Publish compiled packages - -5. What is the command-line interface? -[ ] A graphical user interface with icons and windows -[ ] A textual shell to input commands and see output -[ ] A software development environment for Linux -[ ] An outdated programming language - -6. How does the shell find the programs requested in a command? -[ ] The program must be in /usr/bin/ -[ ] The shell must be compiled with the programs -[ ] The shell will look for the program in a list of folders -[ ] The command must provide the full path to the program - -7. Which of these are common environment variables? -[ ] PATH -[ ] PS1 -[ ] WALLET -[ ] USER -[ ] TERM -[ ] GREP -[ ] LINUX -[ ] HOME -[ ] NODE_ENV -[ ] PAGER - -8. What is the command to start a git repository? -[ ] git start -[ ] git init -[ ] git open -[ ] git reset - -9. What is the command to create a new branch called `devel`? -[ ] git checkout -b devel -[ ] git switch -c devel -[ ] git branch -d devel -[ ] git branch -c devel - -10. Which of these are real git config properties? -[ ] color.ui -[ ] core.pager -[ ] python.disable -[ ] user.signingkey -[ ] github.user +# Git Quiz: Testing Your Git Wit + +Welcome to this quirky Git quiz that will tickle your funny bone while testing your Git knowledge. Let's dive in and have some nerdy laughs! + +## Question 1: Text Editor Tease + +1. What is the default text editor for the Bash shell with a Windows-based Git install? + + - [ ] Emacs (Because who needs simplicity, right?) + - [ ] Vim (For those who enjoy finger acrobatics) + - [ ] Notepad++ (For the adventurous souls who like to live on the edge) + - [ ] Bash (It's like expecting a microwave to bake cookies) + +## Question 2: Prerequisite Pranks + +2. Before you install Git, which of the following prerequisite products must be present and configured on your local OS? + + - [ ] Jakarta Enterprise Edition web profile compliant server (Who even uses that in their daily life?) + - [ ] Java Development Kit 1.8 or newer (Because we all love updating Java versions) + - [ ] Apache Maven (For the connoisseurs of complicated build systems) + - [ ] Nothing (The moment of truth: the secret to minimalist Git installations) + +## Question 3: Configuration Comedy + +3. After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured? + + - [ ] username and email address (Because commits without identity are like ghost stories) + - [ ] username and password (Because Git wants to know if you're keeping your secrets safe) + - [ ] email address and password (Security through confusion: entering email as a password) + - [ ] username and IP address (For the times when Git becomes your network administrator) + +## Question 4: Git Scopes Shenanigans + +4. Which of the following is not a Git configuration scope? + + - [ ] Local (For those who love isolation and tiny, cozy repositories) + - [ ] User (Your personal touch to customize Git's mood) + - [ ] System (Because Git secretly dreams of becoming an operating system) + - [ ] Global (Because world domination starts with global configuration) + +## Question 5: Git History Hilarity + +5. Who is attributed with inventing Git? + + - [ ] Junio Hamano (Sounds like a name straight out of a hacker movie) + - [ ] James Gosling (Wait, wasn't he busy with something called Java?) + - [ ] Kohsuke Kawaguchi (Possibly a ninja who mastered version control) + - [ ] Linus Torvalds (When in doubt, credit the creator of all things nerdy) + +May your Git journey be filled with laughter and version-controlled success! 🚀