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






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






3. Extra information within a method






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






5. System.SByte






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






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






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






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






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






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






12. Syntax of a C# Method






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






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






15. System.Char






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






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






18. 32 bit - unsigned integer data






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. Compilation of classes. In C# Usually ends in .dll or .exe






21. Just-in-time compilation






22. A Class that inherits characteristics from another Class.






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






24. 64 bit - unsigned integer data






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






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






27. A Class that can only have Static Members






28. System.UInt32






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






30. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






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






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






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






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






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






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






37. Must have a data type






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






39. 64 bit double precision floating point data






40. true or false






41. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.






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






43. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






44. Text as Unicode characters






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






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






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






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






49. System.Decimal






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