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. (< or > or <= or >=)






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






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






4. 64 bit integer data






5. A Class that cannot be Inherited






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






7. Access is limited to the current Assembly






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






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






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






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






12. System.Int16






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






14. System.UInt16






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






16. Container for one or more Visual Studio Projects.






17. System.UInt64






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






19. Syntax of a C# Method






20. System.UInt32






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






22. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.






23. 32 bit integer data






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






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






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






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






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






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






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






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






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






33. Must have a data type






34. Integrated Development Environment






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






36. Indicates that the Method can be overridden.






37. 64 bit integer data






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






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






40. A Class that inherits characteristics from another Class.






41. 32 bit single precision floating point data






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






43. 64 bit - unsigned integer data






44. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






45. System.Byte






46. Text as Unicode characters






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






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






49. System.Single






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