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






2. Must have a data type






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






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






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






6. Symbols which transform and combine expressions






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






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






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






10. true or false






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






12. (== or !=)






13. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






15. System.Double






16. System.Char






17. Framework Class Library






18. 32 bit integer data






19. 64 bit - unsigned integer data






20. A Class that can only have Static Members






21. System.Int16






22. Extra information within a method






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






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






25. 64 bit integer data






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






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






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






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






30. 64 bit double precision floating point data






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






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






33. (< or > or <= or >=)






34. System.UInt64






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






36. A Class that cannot be instantiated.






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






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






39. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.






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






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






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






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






44. Access is limited to the current Assembly






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






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






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






48. System.Int32






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






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