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. 32 bit single precision floating point data






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






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






4. System.Int32






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






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






7. System.SByte






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






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






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






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






12. A Class that cannot be Inherited






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






14. Represents date and time data with a 100 ns resolution






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






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






17. System.Int16






18. (== or !=)






19. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






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






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






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






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






24. Command Language Runtime






25. Integrated Development Environment






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






27. 32 bit - unsigned integer data






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






29. Variables defined by a class






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






31. Access is limited to the current Assembly and Derived Types






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






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






34. A Class that cannot be instantiated.






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






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






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






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






39. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






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






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






42. Symbols which transform and combine expressions






43. A symbol that specifies an operation to be performed on one or more variables.






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






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






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






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






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






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






50. A Class that inherits characteristics from another Class.