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. When a sub class passes down all the behaviours of the original parent class






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






3. true or false






4. Text as Unicode characters






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






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






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






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






9. Framework Class Library






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






11. Variables defined by a class






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






13. System.Byte






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






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






16. 128 bit fixed precision (financial)






17. (&& or || or & or |)






18. 32 bit single precision floating point data






19. Extra information within a method






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






21. (== or !=)






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






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






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






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






26. System.Decimal






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






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






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






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






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






32. A Class that cannot be instantiated.






33. The "Type" name of data that is stored on the Stack






34. The process of compiling IL source into CPU-native code for execution.






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






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






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






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






39. 32 bit - unsigned integer data






40. System.UInt32






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






42. Container for one or more Visual Studio Projects.






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






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






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






46. The .NET run-time environment that enables code to be compiled and executed.






47. Just-in-time compilation






48. Integrated Development Environment






49. System.UInt16






50. Indicates that the Method can be overridden.