Quiz Questions

Quiz 1 Questions:

-- What are the ways using can be... used, in our C# projects?
-- What is the difference between value and reference type variables?
-- What would the String.Format arguments be to (1) insert a floating dollar sign (2) commas as necessary and (3) exactly two digits after the decimal point?
-- Which type of inherited methods (virtual or abstract) must be implemented by derived classes?

Quiz 2 Questions:

-- What is the correct syntax for defining a 3-dimensional conventional array of integers?
-- Generally speaking, what would be the output from input.Split()[2]?
-- What are valid arguments to pass to a method, that accepts only a single, parameter array of integers?
-- Define how a SortedList collection behaves?

Quiz 3 Questions:

-- Assume I have an enumerated type called "PowerLifters". What would be the output from Console.WriteLine("{0}", (PowerLifters)100), assuming 100 isn't a valid value in this enumeration?
-- In relation to nullable types, what does ?? mean, or what does ?? do?
-- What is the correct syntax for calling a superclass' version of a derived method?
-- What is the only significant functional difference between ref and out?

Quiz 4 Questions:

-- In relation to external file usage, what does the using keyword NOT cover?
-- What is the name of the Form container that contains an attached button you click to expand a collapsible list of items to select from?
-- What is a lambda expression or anonymous function?

Quiz 5 Questions:

-- What would the String.Format arguments be to display a decimal as a percentage?
-- What is an indexer? How would you code one? -- Which interface allows for foreach loops to iterate through a SortedSet or a Dictionary collection?
-- What is boxing/unboxing?

Quiz 6 Questions:

-- What is the order of events triggered by a complete click of a mouse button?
-- Given a KeyEventArgs, how could you tell whether shift or control were pressed along with a letter from the keyboard?
-- What would the argument to a Timer be in order to set its interval to an N number of seconds?
-- What are the secondary colors in computer graphics? What are their RGB values?

Quiz 7 Questions:

-- What are the three default colors used by LinkLabels for new links, currently-clicked-on links, and previously visited links? What are their corresponding Properties in C#?
-- What command would you use to open up a browser to a specific webpage?
-- What type of EventArgs are generated by a resize event?
-- Which property of Timers has to be set to true in order to make the interval repeat?

Quiz 8 Questions:

-- What is the first argument to Graphics methods that Fill? Draw?
-- In terms of ARGB values, an alpha value of zero represents how much transparency?
-- What is the correct Image method for loading an image asset into a project?

Quiz 9 Questions: (This was the freebie quiz)

Quiz 10 Questions:

-- Do HTML webpages need to contain a head-tag and footer-tag?
-- How would you define a CSS class to enforce underlined text?
-- What does an EventHandler header look like in ASP.NET?
-- How would you access one of the attributes/properties of the Session State within ASP.NET?

Resources