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 Class that cannot be instantiated.






2. System.Int32






3. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






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






7. 64 bit - unsigned integer data






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






9. System.UInt64






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






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






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






13. Framework Class Library






14. System.Decimal






15. Indicates that the Method can be overridden.






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






17. true or false






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






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






20. A Class that inherits characteristics from another Class.






21. Container for one or more Visual Studio Projects.






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






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






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






25. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.






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






27. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.






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






29. 64 bit integer data






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






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






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






33. A Class that can only have Static Members






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






35. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






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






38. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






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






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






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






42. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.






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






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






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






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






47. Access is limited to the current Assembly






48. Text as Unicode characters






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






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