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. Only requires one operand usually a count+1 or a count++ or a count--






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






3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






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






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






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






7. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.






8. Must have a data type






9. System.UInt32






10. Text as Unicode characters






11. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






12. Code which signifies a carriage return. Symbolises a new line in a text box.






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






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






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






16. 32 bit single precision floating point data






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






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






19. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






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






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






22. 64 bit - unsigned integer data






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






24. Symbols which transform and combine expressions






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






26. Represents the encapsulation of data and behaviors into a single unit.






27. Integrated Development Environment






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






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






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






31. Framework Class Library






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






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






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






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






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






37. A Class that cannot be Inherited






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






39. Series of instructions which tell a computer what to do.






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






41. 32 bit integer data






42. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






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






44. Indicates that the Method can be overridden.






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






46. System.Int64






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






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






49. System.Int32






50. Field whose value can never change. Declared with 'const' keyword