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. Allow access to types that exist in outside assemblies.






2. Integrated Development Environment






3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






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






5. Text as Unicode characters






6. A Class that cannot be instantiated.






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






8. 32 bit integer data






9. 64 bit integer data






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






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






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






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






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






15. A Class that inherits characteristics from another Class.






16. Framework Class Library






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






18. 32 bit integer data






19. Command Language Runtime






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






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






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






23. 128 bit fixed precision (financial)






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






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






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






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






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






29. System.UInt64






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






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






32. Variables defined by a class






33. System.Int16






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






35. true or false






36. Access is limited to the current Assembly






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






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






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






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






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






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






43. (&& or || or & or |)






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






45. Indicates that the Method can be overridden.






46. 64 bit - unsigned integer data






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






48. true or false






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






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