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. Mathematical (+ or - or / or %)






2. Variables defined by a class






3. Command Language Runtime






4. Windows Presentation Foundation






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






6. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






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






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






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






10. Integrated Development Environment






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






12. System.Double






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






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






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






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






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






18. Container for one or more Visual Studio Projects.






19. A type of statement that produces a value that might be tested or assigned to a variable.






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






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






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






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






24. System.UInt16






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






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






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






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






29. (&& or || or & or |)






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






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






32. Represents the encapsulation of data and behaviors into a single unit.






33. Restricts access to a Member to the current Class and any Derived Class.






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






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






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






37. System.Decimal






38. Syntax of a C# Method






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






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






41. Indicates that the Method can be overridden.






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






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






44. 32 bit integer data






45. System.UInt64






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






47. Symbols which transform and combine expressions






48. 32 bit single precision floating point data






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






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