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. (= or += or -= or = or /=)






2. (&& or || or & or |)






3. System.Single






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






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






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






7. Symbols which transform and combine expressions






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






9. true or false






10. A Class that inherits characteristics from another Class.






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






12. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






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






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






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






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






17. 64 bit double precision floating point data






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






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






20. true or false






21. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






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






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






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






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






26. 32 bit integer data






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






28. A Class that cannot be instantiated.






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






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






31. Integrated Development Environment






32. Container for one or more Visual Studio Projects.






33. Access is limited to the current Assembly






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






35. 32 bit integer data






36. 32 bit - unsigned integer data






37. System.Int16






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






39. A Class that cannot be Inherited






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






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






42. 8 bit - signed byte (-128 - 127)






43. System.UInt16






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






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






46. System.UInt64






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






48. 64 bit - unsigned integer data






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






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