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. A Class that inherits characteristics from another Class.






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






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






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






5. System.Double






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






7. Syntax of a C# Method






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






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






10. 64 bit - unsigned integer data






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






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






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






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






15. Just-in-time compilation






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






17. A Class that can only have Static Members






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






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






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






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






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






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






24. System.SByte






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






26. Must have a data type






27. 32 bit single precision floating point data






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






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






30. Indicates that the Method can be overridden.






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






32. Characteristics of an object. Something an object has. Provides a specific access point to data within a field






33. Command Language Runtime






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






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






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






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






38. 128 bit fixed precision (financial)






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






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






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






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






43. 32 bit - unsigned integer data






44. Integrated Development Environment






45. 32 bit integer data






46. System.Single






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






48. 32 bit integer data






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






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