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. The process of hiding and restricting access to the implementation details of a data structure.






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






3. true or false






4. System.Double






5. 32 bit - unsigned integer data






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






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






8. 8 bit - signed byte (-128 - 127)






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






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






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






12. (== or !=)






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






14. System.Int64






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






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






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






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






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






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






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






22. Text as Unicode characters






23. 64 bit integer data






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






25. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.






26. A representation of an area in the computer memory in which a value of a particular data type can be stored.






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






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






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






30. (< or > or <= or >=)






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






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






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






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






35. 64 bit integer data






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






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






38. Must have a data type






39. Variables defined by a class






40. Groups classes together so that they have a unique identifier






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






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






43. Symbols which transform and combine expressions






44. Framework Class Library






45. 64 bit double precision floating point data






46. System.UInt32






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






48. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory






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






50. System.Char