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. Groups classes together so that they have a unique identifier






2. System.SByte






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






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






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






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






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






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






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






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






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






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






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






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






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






16. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.






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






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






19. Extra information within a method






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






21. 32 bit integer data






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






23. 16 bit- unsigned word (U+0000 to U+ffff)






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






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






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






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






28. A Class that cannot be instantiated.






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






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






31. A Class that inherits characteristics from another Class.






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






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






34. System.Int64






35. 32 bit integer data






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






37. 32 bit single precision floating point data






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






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






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






41. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






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






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






44. A Class that cannot be Inherited






45. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.






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






47. 64 bit double precision floating point data






48. System.Char






49. Indicates that the Method can be overridden.






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