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. A symbol that specifies an operation to be performed on one or more variables.






2. System.Decimal






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






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






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






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






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






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






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






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






11. A representation of an area in the computer memory in which a value of a particular data type can be stored.






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






13. Text as Unicode characters






14. Symbols which transform and combine expressions






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






16. Mathematical (+ or - or / or %)






17. 32 bit single precision floating point data






18. System.Int16






19. 32 bit integer data






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






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






22. A Class that inherits characteristics from another Class.






23. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






25. 32 bit - unsigned integer data






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






27. System.Byte






28. 128 bit fixed precision (financial)






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






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






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






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






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






34. 64 bit integer data






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






36. 64 bit - unsigned integer data






37. true or false






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






39. System.Single






40. System.UInt32






41. Indicates that the Method can be overridden.






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






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






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






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






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






47. Command which runs repeatedly while (some) condition is true.






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






49. Variables defined by a class






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