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. A method that is called whenever an Object is created. The method uses the same name as the Class.






2. Variables defined by a class






3. The "Type" name of data that is stored on the Heap






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






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






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






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






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






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






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






11. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.






12. Framework Class Library






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






14. Must have a data type






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






16. System.Int16






17. Text as Unicode characters






18. System.Int64






19. System.Byte






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






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






22. A Class that cannot be instantiated.






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






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






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






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






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. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






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






30. 32 bit integer data






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






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






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






34. System.Double






35. System.Decimal






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






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






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






39. Allows the definition of a Class to span multiple files (within the same Project)






40. (&& or || or & or |)






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






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






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






44. System.UInt64






45. 32 bit single precision floating point data






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






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






48. Integrated Development Environment






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






50. true or false