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. 64 bit double precision floating point data






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






3. (&& or || or & or |)






4. Introduces a new class. Marked by curly brackets { }






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






6. System.UInt32






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






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






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






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






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






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






13. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






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






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






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






17. Variables defined by a class






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






19. System.Int64






20. Symbols which transform and combine expressions






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






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






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






24. A Class that cannot be instantiated.






25. System.Double






26. Allow access to types that exist in outside assemblies.






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






28. (< or > or <= or >=)






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






30. Framework Class Library






31. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






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






33. Must have a data type






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






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






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






37. Windows Presentation Foundation






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






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






40. System.UInt16






41. System.Int32






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






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






44. 32 bit single precision floating point data






45. Access is limited to the current Assembly






46. 32 bit - unsigned integer data






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






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






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






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