What is the year that the C language was developed?
100
This is used to begin a single-line comment in C++
What is //?
100
This is the code used to declare a string of "Hello World" to variable testInputString
What is
string testInputString = "Hello World";
200
This was the initial operating system that the C Language was built for.
What is Unix?
200
This is the C# variable type for true/false variables.
What is boolean?
200
int x = 4
x = x + 4;
cout << "x";
This is the value printed to the screen.
What is "x"?
300
This programming language was initially named "Cool"
What is C#? ("C-like Object Oriented Language")
300
double balance[5] = {1000.0, 2.0, 3.4, 17.0, 50.0};
This is an example of this data structure in C++.
What is an array?
300
for(int x=0; x<10; x++){
if(x%3==0){
Console.WriteLn(x);
}
}
This is the result printed to the screen from the code above in C#.
What is
3
6
9
?
400
The name for this programming language was musically inspired.
What is C# (where sharp (#) means a semi-tone above the note.)
400
These are identifiers associated with values. They are declared by writing the variable's type and name, and are optionally initialized in the same statement by assigning a value.
What are Variables?
400
string[] names = new string[] {"Matt", "Joanne", "Robert"};
This is the value of names[2] in the above C# array.