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. Command Language Runtime






2. 64 bit - unsigned integer data






3. System.Byte






4. Symbols which transform and combine expressions






5. A Class that inherits characteristics from another Class.






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






7. Represents date and time data with a 100 ns resolution






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






9. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






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






11. 32 bit integer data






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






13. System.Char






14. A method that is called whenever an Object is created. The method uses the same name as the Class.






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






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






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






18. Container for one or more Visual Studio Projects.






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






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






21. A Class that can only have Static Members






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






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






24. Extra information within a method






25. (&& or || or & or |)






26. Text as Unicode characters






27. System.Int16






28. (== or !=)






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






30. 128 bit fixed precision (financial)






31. 32 bit - unsigned integer data






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






33. Syntax of a C# Method






34. 64 bit double precision floating point data






35. Indicates that the Method can be overridden.






36. A Class that cannot be instantiated.






37. (< or > or <= or >=)






38. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






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






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






41. true or false






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






43. Integrated Development Environment






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






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






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






47. Windows Presentation Foundation






48. System.UInt32






49. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






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