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






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






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. Restricts access to a Member to the current Class and any Derived Class.






5. 32 bit integer data






6. true or false






7. A type of statement that produces a value that might be tested or assigned to a variable.






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






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






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






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






12. System.SByte






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






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






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






16. Integrated Development Environment






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






18. System.Single






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






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






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






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






23. 32 bit single precision floating point data






24. System.UInt16






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






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






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






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






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






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






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






32. Just-in-time compilation






33. 128 bit fixed precision (financial)






34. Symbols which transform and combine expressions






35. System.UInt64






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






37. 64 bit - unsigned integer data






38. Introduces a new class. Marked by curly brackets { }






39. System.Decimal






40. System.Int64






41. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






42. Sits behind GUI (Graphical User Interface) and provides event listeners






43. System.Int32






44. System.Byte






45. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






46. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






47. Extra information within a method






48. 64 bit double precision floating point data






49. Variables defined by a class






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