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. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).






2. System.Int64






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






4. System.SByte






5. A Class that can only have Static Members






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






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






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






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






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






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






12. Must have a data type






13. System.Decimal






14. System.UInt32






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






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






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






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






19. 32 bit - unsigned integer data






20. System.Int16






21. Windows Presentation Foundation






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






23. 64 bit integer data






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






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






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






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






28. A Class that cannot be instantiated.






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






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






31. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)






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






33. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.






34. System.Single






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






36. Text as Unicode characters






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






38. System.Double






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






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






41. 64 bit double precision floating point data






42. A Class that cannot be Inherited






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






44. System.Byte






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






46. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






47. System.UInt64






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






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






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