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 from which other classes can inherit characteristics.






2. 64 bit integer data






3. Syntax of a C# Method






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






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






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






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






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






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






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






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






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






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






14. System.UInt16






15. Command Language Runtime






16. The "Type" name of data that is stored on the Stack






17. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






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






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






20. Extra information within a method






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






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






23. A Class that cannot be Inherited






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






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






26. Symbols which transform and combine expressions






27. 128 bit fixed precision (financial)






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






29. Indicates that the Method can be overridden.






30. 64 bit double precision floating point data






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






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






33. System.Byte






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






35. Just-in-time compilation






36. (== or !=)






37. true or false






38. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






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






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






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






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






43. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






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






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






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






47. System.Int64






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






49. Most common kind of reference type. They define objects. They must have at least one method and one field.






50. System.UInt32