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. (< or > or <= or >=)






2. true or false






3. System.Int32






4. 128 bit fixed precision (financial)






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






6. Text as Unicode characters






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






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






9. Access is limited to the current Assembly






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






11. Framework Class Library






12. A symbol that specifies an operation to be performed on one or more variables.






13. Windows Presentation Foundation






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






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






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






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






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






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






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






21. Indicates that the Method can be overridden.






22. System.Double






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






24. 32 bit integer data






25. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.






26. true or false






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. Introduces a new class. Marked by curly brackets { }






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






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






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






32. System.UInt16






33. A Class that cannot be instantiated.






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






35. 32 bit single precision floating point data






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






37. 64 bit integer data






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






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






40. A Class that cannot be Inherited






41. Integrated Development Environment






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






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






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






45. System.UInt32






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






47. Syntax of a C# Method






48. (&& or || or & or |)






49. Field whose value can never change. Declared with 'const' keyword






50. System.Char