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






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






3. Windows Presentation Foundation






4. Indicates that the Method can be overridden.






5. true or false






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






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






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






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






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






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






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






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






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






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






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






17. Extra information within a method






18. A Class that inherits characteristics from another Class.






19. System.Byte






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






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






22. Access is limited to the current Assembly






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






24. Must have a data type






25. Just-in-time compilation






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






27. (&& or || or & or |)






28. Framework Class Library






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






30. Compilation of classes. In C# Usually ends in .dll or .exe






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






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






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






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






35. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






36. Container for one or more Visual Studio Projects.






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






38. Text as Unicode characters






39. System.UInt64






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






41. Integrated Development Environment






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






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






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






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






46. (== or !=)






47. Command Language Runtime






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






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






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