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. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






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






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






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






5. A Class that inherits characteristics from another Class.






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






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






8. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






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






10. System.Int32






11. 64 bit - unsigned integer data






12. The member type of a Class that performs an action.






13. A Class that cannot be instantiated.






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






15. Indicates that the Method can be overridden.






16. 64 bit integer data






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






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






19. Just-in-time compilation






20. Must have a data type






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






22. System.SByte






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






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






25. 32 bit - unsigned integer data






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






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






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






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






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






31. (&& or || or & or |)






32. System.Char






33. Integrated Development Environment






34. Symbols which transform and combine expressions






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






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






37. 64 bit integer data






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






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






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






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






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






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






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






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






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






47. System.Single






48. System.UInt32






49. Command Language Runtime






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