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. The .NET run-time environment that enables code to be compiled and executed.






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






3. Symbols which transform and combine expressions






4. Windows Presentation Foundation






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






6. Container for one or more Visual Studio Projects.






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






8. Command Language Runtime






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






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






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






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






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






14. Series of instructions which tell a computer what to do.






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






16. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.






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






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






19. System.Double






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






21. true or false






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






23. (== or !=)






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






25. System.Single






26. Framework Class Library






27. A Class that cannot be Inherited






28. Indicates that the Method can be overridden.






29. (< or > or <= or >=)






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






31. Integrated Development Environment






32. true or false






33. A Class that inherits characteristics from another Class.






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






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






36. 32 bit single precision floating point data






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






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






39. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






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






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






42. (&& or || or & or |)






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






44. System.Int16






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






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






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






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






49. Just-in-time compilation






50. 128 bit fixed precision (financial)