Test your basic knowledge |

C# Programming Basics

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Windows Presentation Foundation






2. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.






3. 32 bit - unsigned integer data






4. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






5. A type of statement that produces a value that might be tested or assigned to a variable.






6. 64 bit integer data






7. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.






8. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






9. A Class that can only have Static Members






10. 16 bit- unsigned word (U+0000 to U+ffff)






11. (&& or || or & or |)






12. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






13. A Class that cannot be Inherited






14. System.Decimal






15. A representation of an area in the computer memory in which a value of a particular data type can be stored.






16. Extra information within a method






17. When a sub class passes down all the behaviours of the original parent class






18. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






19. Access is limited to the current Assembly and Derived Types






20. Framework Class Library






21. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.






22. Allows the definition of a Class to span multiple files (within the same Project)






23. System.UInt16






24. The "Type" name of data that is stored on the Stack






25. Code which implements GUI (graphical User Interface).






26. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






27. Must have a data type






28. 8 bit - unsigned byte (0 - 255)






29. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






30. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






31. (= or += or -= or = or /=)






32. (< or > or <= or >=)






33. The lowest level or fundamental data types needed for representing data.






34. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory






35. Most common kind of reference type. They define objects. They must have at least one method and one field.






36. Restricts access to a Member to the current Class and any Derived Class.






37. Command Language Runtime






38. Field whose value can never change. Declared with 'const' keyword






39. System.UInt32






40. A Class from which other classes can inherit characteristics.






41. 32 bit integer data






42. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






43. System.Int64






44. (== or !=)






45. Variables defined by a class






46. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.






47. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






48. A Member that cannot be accessed/invoked through an Object Instance.






49. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.






50. Symbols which transform and combine expressions






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests