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. 16 bit - unsigned integer data (0 to 65535)






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






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






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






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






6. System.Int32






7. true or false






8. Syntax of a C# Method






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






10. (< or > or <= or >=)






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






12. System.UInt16






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






14. A Class that cannot be instantiated.






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






16. 64 bit double precision floating point data






17. Integrated Development Environment






18. System.Decimal






19. Extra information within a method






20. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class






21. Framework Class Library






22. Names reserved by the compiler that coders are not allowed to use as identifiers.






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






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






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






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






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






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






29. A Class from which other classes can inherit characteristics.






30. Represents date and time data with a 100 ns resolution






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






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






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






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






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






36. System.Byte






37. (== or !=)






38. 32 bit integer data






39. A Class that cannot be Inherited






40. System.UInt64






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






42. Access is limited to the current Assembly






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






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






45. System.UInt32






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






47. 64 bit - unsigned integer data






48. 32 bit integer data






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






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