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 output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






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






3. Mathematical (+ or - or / or %)






4. Access is limited to the current Assembly






5. 64 bit - unsigned integer data






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






7. (&& or || or & or |)






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






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






10. Contains the class definitions that allow access to the functionality provided by .NET.






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






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






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






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






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






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






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






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






19. Extra information within a method






20. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






21. System.UInt32






22. Syntax of a C# Method






23. 64 bit integer data






24. Text as Unicode characters






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






27. Symbols which transform and combine expressions






28. A Class that cannot be instantiated.






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






30. (= or += or -= or = or /=)






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






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






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






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






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






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






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






38. Framework Class Library






39. Indicates that the Method can be overridden.






40. Command Language Runtime






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






42. A Member that cannot be accessed/invoked through an Object Instance.






43. System.Int16






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






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






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






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






48. System.SByte






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






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