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






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






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






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






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






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






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






8. A Class that cannot be instantiated.






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






10. System.Byte






11. Container for one or more Visual Studio Projects.






12. Extra information within a method






13. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






16. true or false






17. Symbols which transform and combine expressions






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






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






20. 64 bit - unsigned integer data






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






22. (== or !=)






23. 32 bit integer data






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






25. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






26. Variables defined by a class






27. Contains the class definitions that allow access to the functionality provided by .NET.






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






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






30. A Class that can only have Static Members






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






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






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






34. System.Char






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






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






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






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






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






40. A symbol that specifies an operation to be performed on one or more variables.






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






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






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






44. 64 bit integer data






45. 32 bit integer data






46. System.Single






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






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






50. (< or > or <= or >=)