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






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






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






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






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






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






7. A Class that can only have Static Members






8. System.Single






9. 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'.






10. Syntax of a C# Method






11. Command which runs repeatedly while (some) condition is true.






12. Integrated Development Environment






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






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






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






16. Command Language Runtime






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






18. Access is limited to the current Assembly






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






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






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






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






23. Microsoft's generic software framework for application development.






24. System.Int32






25. 32 bit single precision floating point data






26. System.Decimal






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






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






29. Just-in-time compilation






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






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






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






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






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






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






36. A Class that cannot be instantiated.






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






38. Framework Class Library






39. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.






40. Text as Unicode characters






41. (== or !=)






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






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






44. A Class that cannot be Inherited






45. (< or > or <= or >=)






46. System.Int64






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






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






49. Variables defined by a class






50. Symbols which transform and combine expressions