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. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






2. true or false






3. 16 bit - signed integer data (-32768 to 32767)






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






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






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






7. System.Decimal






8. Indicates that the Method can be overridden.






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






10. System.UInt32






11. System.Int32






12. System.Int64






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






14. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






15. Command which runs repeatedly while (some) condition is true.






16. System.Single






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






18. Access is limited to the current Assembly






19. Extra information within a method






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






21. 32 bit integer data






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






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






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






25. A Class that cannot be Inherited






26. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






27. 128 bit fixed precision (financial)






28. System.UInt64






29. Represents the encapsulation of data and behaviors into a single unit.






30. A Class that can only have Static Members






31. Windows Presentation Foundation






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






33. System.Byte






34. A Class that inherits characteristics from another Class.






35. 64 bit double precision floating point data






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






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






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






39. Command Language Runtime






40. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.






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






42. Text as Unicode characters






43. Integrated Development Environment






44. Microsoft's generic software framework for application development.






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






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






47. Must have a data type






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






49. Contains the class definitions that allow access to the functionality provided by .NET.






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