Git-er Done
Repo-sitory of Knowledge
Bugging Out
Operators Assemble!
Very-able
100

What is the term for copying a repository from GitHub to your local machine?

git clone

100

Why do we use Git for game development?

To track changes in code and collaborate with others.

100

Console.WriteLine("Hello World")

What is Missing?

A semicolon (;) at the end.

100

What operator is used for addition?

+

100

How do you declare a string variable in C#?

string variableName;

200

What is the term for saving changes to your local repository?

git commit

200

What is the main benefit of using Git to manage game projects?

Version control allows us to revert to earlier versions if something breaks.

200

int FunnyVariableName = true;


What's Wrong Here?

Variable Initalized incorrectly, should be Boolean


bool FunnyVariableName = true;

200

What operator is used to check for equality between two values?

==

200

How can you increase an integer variable by 5?

variable += 5;

300

What is the term for sending your committed changes to a remote repository?

git push

300

How does Git help with team collaboration?

Multiple team members can work on the same project without overwriting each other’s changes.

300

if (x == 5)   

 Console.WriteLine("X is five");


What is Missing? 

Braces { } around the Console.WriteLine statement.

300

What operator is used to subtract one value from another?

-

300

How do you convert a string to an integer in C#?

int.Parse(stringVariable);

400

What is the term for updating your local repository with the latest changes from the remote?

git pull

400

What is the benefit of branching in Git?

It allows developers to work on features or bug fixes independently of the main codebase.

400

Console.WriteLine("Enter your age: "); 

age = int.Parse(Console.ReadLine());


What is Missing? 

A declaration for the age variable (e.g., int age;).

400

What operator is used to combine two conditions in an if statement, both of which must be true?

&&

400

How can you add two different strings variables in C#?

Use the + operator (e.g., string1 + string2).

500

What file is used to specify files you want Git to ignore?

.gitignore

500

How does Git help prevent data loss?

Changes are saved incrementally, and you can restore previous versions of files or commits.

500

if (Howdy == true) 

Console.WriteLine("Howdy!")

}

else if 

{

Console.WriteLine("Sad-howdy")

}


What's Wrong Here?

No else if condition / should be else


500

What operator is used to increment a variable by 1?

++

500

What is the difference between = and == in C#?

= is the assignment operator, while == is the equality comparison operator.