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. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






2. Framework Class Library






3. Container for one or more Visual Studio Projects.






4. 32 bit integer data






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






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






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






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






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






10. Integrated Development Environment






11. 32 bit single precision floating point data






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






13. Syntax of a C# Method






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






15. The lowest level or fundamental data types needed for representing data.






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






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






18. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






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






20. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.






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






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






23. Command Language Runtime






24. Access is limited to the current Assembly






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






26. Windows Presentation Foundation






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






28. System.Double






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






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






31. 64 bit integer data






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






33. 128 bit fixed precision (financial)






34. (== or !=)






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






36. (< or > or <= or >=)






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






38. 64 bit integer data






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






40. System.Int32






41. true or false






42. Symbols which transform and combine expressions






43. Variables defined by a class






44. System.Int64






45. System.UInt64






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






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






48. System.Single






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






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