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. 32 bit - unsigned integer data






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






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






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






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






6. Symbols which transform and combine expressions






7. Just-in-time compilation






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






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






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






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






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






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






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






15. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory






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






17. 64 bit integer data






18. System.SByte






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






20. A Class that inherits characteristics from another Class.






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






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






23. When a sub class passes down all the behaviours of the original parent class






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






25. A Class that cannot be instantiated.






26. System.UInt16






27. Container for one or more Visual Studio Projects.






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






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






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






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






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






33. Syntax of a C# Method






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






35. Access is limited to the current Assembly






36. 64 bit double precision floating point data






37. true or false






38. (&& or || or & or |)






39. 32 bit integer data






40. System.Int32






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






42. Integrated Development Environment






43. Code which implements GUI (graphical User Interface).






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






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






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






47. (< or > or <= or >=)






48. Extra information within a method






49. System.UInt32






50. A Class that cannot be Inherited