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 process of hiding and restricting access to the implementation details of a data structure.






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






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






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






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






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






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






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






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






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






11. System.Decimal






12. 64 bit double precision floating point data






13. A Class that inherits characteristics from another Class.






14. 32 bit integer data






15. 32 bit - unsigned integer data






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






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. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






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






20. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






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






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






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






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






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






26. 64 bit integer data






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






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






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






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






31. 64 bit integer data






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






33. Something that has a different number of parameters to it's predecessor






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






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






36. System.Int16






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






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






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






40. Extra information within a method






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






42. Text as Unicode characters






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






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






45. Container for one or more Visual Studio Projects.






46. Code which implements GUI (graphical User Interface).






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






48. System.SByte






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






50. 64 bit - unsigned integer data