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. Mathematical (+ or - or / or %)






2. 32 bit - unsigned integer data






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






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






5. 32 bit single precision floating point data






6. Extra information within a method






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






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






9. 32 bit integer data






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






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






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






13. Text as Unicode characters






14. Access is limited to the current Assembly






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






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






17. Framework Class Library






18. 128 bit fixed precision (financial)






19. 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'.






20. Must have a data type






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






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






23. System.Single






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






25. 64 bit integer data






26. System.Double






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






28. System.UInt16






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






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






31. Code which signifies a carriage return. Symbolises a new line in a text box.






32. System.Byte






33. System.Decimal






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






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






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






37. System.Int32






38. Just-in-time compilation






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






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






41. System.UInt64






42. Container for one or more Visual Studio Projects.






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






44. (&& or || or & or |)






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






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






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






48. Windows Presentation Foundation






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






50. A Class that can only have Static Members