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. 64 bit double precision floating point data






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






3. (&& or || or & or |)






4. 32 bit integer data






5. System.Byte






6. true or false






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






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






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






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






11. (< or > or <= or >=)






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






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






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






15. System.Double






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






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






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






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






20. Command Language Runtime






21. System.Single






22. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






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






24. Field whose value can never change. Declared with 'const' keyword






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






26. Windows Presentation Foundation






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






28. System.UInt64






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






30. Syntax of a C# Method






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






32. A Class that can only have Static Members






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






34. System.Char






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






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






37. 64 bit integer data






38. Allows the definition of a Class to span multiple files (within the same Project)






39. System.UInt32






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






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






42. true or false






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






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






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






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






47. 32 bit single precision floating point data






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






49. 8 bit - signed byte (-128 - 127)






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