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. Command Language Runtime






2. System.Int32






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






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






5. System.Char






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






7. A Class that can only have Static Members






8. 32 bit - unsigned integer data






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






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






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






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






13. Framework Class Library






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






15. 64 bit - unsigned integer data






16. 64 bit double precision floating point data






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






18. Must have a data type






19. 32 bit integer data






20. System.UInt64






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






22. A Class that inherits characteristics from another Class.






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






24. Windows Presentation Foundation






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






26. System.UInt32






27. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.






28. A Class that cannot be instantiated.






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






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






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






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






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






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






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






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






37. Keyword which exposes members to other classes OR Identifier which makes program elements public






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






39. (< or > or <= or >=)






40. 64 bit integer data






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. Syntax of a C# Method






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






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






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






46. System.SByte






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






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






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






50. Most common kind of reference type. They define objects. They must have at least one method and one field.