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. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).






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. When a sub class passes down all the behaviours of the original parent class






4. Mathematical (+ or - or / or %)






5. A symbol that specifies an operation to be performed on one or more variables.






6. (< or > or <= or >=)






7. 32 bit single precision floating point data






8. Text as Unicode characters






9. 32 bit integer data






10. System.Int32






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






12. Container for one or more Visual Studio Projects.






13. A Class that cannot be Inherited






14. count = count+1 or count++ or count__. Both count variables are Unary Operators






15. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.






16. The process of hiding and restricting access to the implementation details of a data structure.






17. System.UInt32






18. 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.






19. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class






20. A Class that cannot be instantiated.






21. (== or !=)






22. Indicates that the Method can be overridden.






23. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.






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






25. Represents date and time data with a 100 ns resolution






26. true or false






27. The "Type" name of data that is stored on the Heap






28. 64 bit - unsigned integer data






29. Allow access to types that exist in outside assemblies.






30. 32 bit - unsigned integer data






31. Only requires one operand usually a count+1 or a count++ or a count--






32. The member type of a Class that performs an action.






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






34. Groups classes together so that they have a unique identifier






35. Series of instructions which tell a computer what to do.






36. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






37. Windows Presentation Foundation






38. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






39. 64 bit double precision floating point data






40. System.Int64






41. 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






42. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






43. System.UInt16






44. Command Language Runtime






45. Used to display text that end user does not need to edit.






46. System.UInt64






47. Symbols which transform and combine expressions






48. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)






49. Variables defined by a class






50. A Class that can only have Static Members