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. 16 bit- unsigned word (U+0000 to U+ffff)






2. A method that is called whenever an Object is created. The method uses the same name as the Class.






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






4. true or false






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






6. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






7. System.Double






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






9. A Class that cannot be Inherited






10. Indicates that the Method can be overridden.






11. A Class that cannot be instantiated.






12. System.Int16






13. 64 bit integer data






14. 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)






15. true or false






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






17. 32 bit - unsigned integer data






18. Framework Class Library






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






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






21. System.Byte






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






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






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






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






26. Names reserved by the compiler that coders are not allowed to use as identifiers.






27. Variables defined by a class






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






29. Must have a data type






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






31. System.SByte






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






33. A Class that inherits characteristics from another Class.






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






35. System.Int64






36. Windows Presentation Foundation






37. Text as Unicode characters






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






39. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






40. System.UInt16






41. Integrated Development Environment






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






43. (< or > or <= or >=)






44. Keyword which exposes members to other classes OR Identifier which makes program elements public






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






46. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






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






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






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






50. System.UInt64