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






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






3. Command Language Runtime






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






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






6. System.UInt64






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






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






9. Extra information within a method






10. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






11. 32 bit single precision floating point data






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






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






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






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






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






17. (< or > or <= or >=)






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






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






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






21. Syntax of a C# Method






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






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






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






25. Symbols which transform and combine expressions






26. Windows Presentation Foundation






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






28. 32 bit integer data






29. System.Int16






30. Framework Class Library






31. Access is limited to the current Assembly






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






33. System.Int32






34. System.Int64






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






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






37. Container for one or more Visual Studio Projects.






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






39. System.UInt16






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






41. Indicates that the Method can be overridden.






42. Used to display text that end user does not need to edit.






43. A Class that cannot be Inherited






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






45. 64 bit double precision floating point data






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






47. 64 bit integer data






48. Must have a data type






49. (== or !=)






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