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






2. Symbols which transform and combine expressions






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






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






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






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






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






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






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






10. Just-in-time compilation






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






12. Allows the definition of a Class to span multiple files (within the same Project)






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






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






15. Framework Class Library






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






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






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






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






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






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






22. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






23. 32 bit integer data






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






25. 32 bit integer data






26. System.Single






27. A Class that can only have Static Members






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






29. System.SByte






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






31. Syntax of a C# Method






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






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






34. 32 bit single precision floating point data






35. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.






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






37. Must have a data type






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






39. System.UInt32






40. 64 bit integer data






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






42. System.Int16






43. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






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






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






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






47. Extra information within a method






48. 128 bit fixed precision (financial)






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






50. Introduces a new class. Marked by curly brackets { }