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. Container for one or more Visual Studio Projects.






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






3. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






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






5. Access is limited to the current Assembly and Derived Types






6. Command Language Runtime






7. (&& or || or & or |)






8. System.Int32






9. System.SByte






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






11. Syntax of a C# Method






12. 8 bit - unsigned byte (0 - 255)






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






14. Used to display text that end user does not need to edit.






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






16. 128 bit fixed precision (financial)






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






18. (< or > or <= or >=)






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






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






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






22. 32 bit - unsigned integer data






23. A Class that cannot be instantiated.






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






25. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






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






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






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






29. Windows Presentation Foundation






30. Must have a data type






31. true or false






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






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






34. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






35. 64 bit integer data






36. (== or !=)






37. System.Double






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






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






40. System.UInt32






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






42. System.Int64






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






44. 32 bit integer data






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






46. 32 bit integer data






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






48. System.Byte






49. System.Single






50. System.Char