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 lowest level or fundamental data types needed for representing data.






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






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






4. 64 bit double precision floating point data






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






6. Syntax of a C# Method






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






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






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






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






11. Command Language Runtime






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






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






14. (&& or || or & or |)






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






16. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






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






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






19. System.Single






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






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






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






23. Indicates that the Method can be overridden.






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






25. Names reserved by the compiler that coders are not allowed to use as identifiers.






26. 32 bit integer data






27. Must have a data type






28. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






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






30. 64 bit - unsigned integer data






31. (< or > or <= or >=)






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






33. A Class that cannot be Inherited






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






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






36. true or false






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






38. System.UInt32






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






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






41. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






42. System.UInt16






43. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






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






46. System.UInt64






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






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






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






50. (== or !=)