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






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






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






4. 16 bit- unsigned word (U+0000 to U+ffff)






5. (&& or || or & or |)






6. Extra information within a method






7. System.UInt64






8. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






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






10. 64 bit integer data






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






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






13. A Class that inherits characteristics from another Class.






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






15. System.Byte






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






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






18. A Class that can only have Static Members






19. 128 bit fixed precision (financial)






20. A Class that cannot be Inherited






21. true or false






22. Command Language Runtime






23. 32 bit integer data






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






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






26. System.UInt16






27. System.Char






28. Framework Class Library






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






30. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.






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






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






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






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






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






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






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






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






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






40. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






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






42. Access is limited to the current Assembly






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






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






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






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






47. Allows the definition of a Class to span multiple files (within the same Project)






48. Text as Unicode characters






49. true or false






50. 32 bit integer data