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. Access is limited to the current Assembly






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






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






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






5. (< or > or <= or >=)






6. Windows Presentation Foundation






7. System.UInt64






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






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






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






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






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






13. System.Single






14. When a sub class passes down all the behaviours of the original parent class






15. 8 bit - signed byte (-128 - 127)






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






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






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






19. A Class that can only have Static Members






20. System.UInt16






21. (== or !=)






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






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






24. A Class that cannot be Inherited






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






26. Indicates that the Method can be overridden.






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






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






29. 32 bit integer data






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






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






32. true or false






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






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






35. Variables defined by a class






36. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.






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






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






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






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






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






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






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






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






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






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






47. Integrated Development Environment






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






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






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