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. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.






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






3. Text as Unicode characters






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






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






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






7. Must have a data type






8. (== or !=)






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. When a sub class passes down all the behaviours of the original parent class






11. System.Byte






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






13. 128 bit fixed precision (financial)






14. System.Decimal






15. System.Single






16. System.UInt16






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






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






19. Symbols which transform and combine expressions






20. Windows Presentation Foundation






21. Syntax of a C# Method






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






23. true or false






24. Access is limited to the current Assembly






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






26. Command Language Runtime






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






28. System.SByte






29. A Class that cannot be Inherited






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






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






32. A Class that cannot be instantiated.






33. 32 bit integer data






34. 64 bit - unsigned integer data






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






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






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






38. 64 bit double precision floating point data






39. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






40. System.Int64






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






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






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






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






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






46. A Class that can only have Static Members






47. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.






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






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






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