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. Sits behind GUI (Graphical User Interface) and provides event listeners






2. A Class that cannot be instantiated.






3. 64 bit integer data






4. 32 bit integer data






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






6. Framework Class Library






7. (< or > or <= or >=)






8. 64 bit integer data






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






10. A Class that cannot be Inherited






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






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






13. The .NET run-time environment that enables code to be compiled and executed.






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






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






16. Integrated Development Environment






17. Indicates that the Method can be overridden.






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






19. System.UInt64






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






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






22. Something that has a different number of parameters to it's predecessor






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






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






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






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






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






28. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






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






30. Restricts access to a Member to the current Class.






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






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






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






34. System.UInt16






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






36. The process of compiling IL source into CPU-native code for execution.






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






38. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






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






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






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






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






43. 32 bit single precision floating point data






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






45. Text as Unicode characters






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






47. Access is limited to the current Assembly






48. Symbols which transform and combine expressions






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






50. System.Double