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






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






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






4. true or false






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






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






7. 64 bit - unsigned integer data






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






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






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






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






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






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






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






15. System.UInt32






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






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






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






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






20. Must have a data type






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






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






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






24. Access is limited to the current Assembly






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






26. true or false






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






28. System.Single






29. A Class that cannot be Inherited






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






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






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






33. 32 bit integer data






34. System.Decimal






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






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






37. (== or !=)






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






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






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






41. Command Language Runtime






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






43. (&& or || or & or |)






44. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






45. 128 bit fixed precision (financial)






46. A Class that inherits characteristics from another Class.






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






48. Symbols which transform and combine expressions






49. 32 bit integer data






50. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /