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. The member type of a Class that performs an action.






2. System.Decimal






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






4. Syntax of a C# Method






5. Symbols which transform and combine expressions






6. Windows Presentation Foundation






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






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






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






10. 32 bit integer data






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






12. Extra information within a method






13. Text as Unicode characters






14. Integrated Development Environment






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






16. 32 bit - unsigned integer data






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






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






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






20. 32 bit integer data






21. System.Char






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






23. System.Int16






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






25. The process of compiling IL source into CPU-native code for execution.






26. System.Byte






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






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






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






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






31. Indicates that the Method can be overridden.






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






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






35. 64 bit double precision floating point data






36. System.Double






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






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






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






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






41. 64 bit integer data






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






43. Framework Class Library






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






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






46. Just-in-time compilation






47. System.SByte






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






49. 16 bit - signed integer data (-32768 to 32767)






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