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. Windows Presentation Foundation






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






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






4. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






5. Indicates that the Method can be overridden.






6. System.Single






7. Just-in-time compilation






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






9. Symbols which transform and combine expressions






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






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






12. true or false






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






14. 64 bit integer data






15. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






16. Extra information within a method






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






18. 128 bit fixed precision (financial)






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






20. 64 bit - unsigned integer data






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






22. System.Int64






23. Syntax of a C# Method






24. Integrated Development Environment






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






26. 64 bit double precision floating point data






27. A Class that inherits characteristics from another Class.






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






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






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






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






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






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






34. 32 bit integer data






35. Variables defined by a class






36. System.UInt16






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






38. System.Decimal






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






40. System.Byte






41. System.Char






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






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






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






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






46. Command Language Runtime






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






48. System.Int32






49. (< or > or <= or >=)






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