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






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






3. Indicates that the Method can be overridden.






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






5. A type of statement that produces a value that might be tested or assigned to a variable.






6. 64 bit - unsigned integer data






7. System.Byte






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






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






10. A Class that cannot be Inherited






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






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






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






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






15. Variables defined by a class






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






17. System.Decimal






18. (&& or || or & or |)






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






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






21. Represents the encapsulation of data and behaviors into a single unit.






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






23. System.Int16






24. Just-in-time compilation






25. 32 bit integer data






26. (== or !=)






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






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






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






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






31. 64 bit double precision floating point data






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






33. Container for one or more Visual Studio Projects.






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






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






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






37. System.Single






38. System.UInt32






39. (< or > or <= or >=)






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






41. Text as Unicode characters






42. System.Int64






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






44. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






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






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






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






48. Command Language Runtime






49. Restricts access to a Member to the current Class and any Derived Class.






50. Symbols which transform and combine expressions