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. A Class that can only have Static Members






2. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).






3. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.






4. (&& or || or & or |)






5. Integrated Development Environment






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






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






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






9. Compilation of classes. In C# Usually ends in .dll or .exe






10. Sits behind GUI (Graphical User Interface) and provides event listeners






11. System.Byte






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






13. 64 bit integer data






14. System.Decimal






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






16. true or false






17. System.Int16






18. Text as Unicode characters






19. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.






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






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






22. (< or > or <= or >=)






23. System.Int64






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






25. An instance of a class that exists at run-time and is typically referenced via a variable name.






26. 16 bit - unsigned integer data (0 to 65535)






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






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






29. 32 bit single precision floating point data






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






31. 64 bit - unsigned integer data






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






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






34. 128 bit fixed precision (financial)






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






36. Syntax of a C# Method






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






38. 32 bit integer data






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






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






41. Indicates that the Method can be overridden.






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






43. A Class that cannot be instantiated.






44. Introduces a new class. Marked by curly brackets { }






45. System.UInt32






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






47. true or false






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






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






50. A Class that inherits characteristics from another Class.