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. System.UInt32






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






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






4. true or false






5. System.SByte






6. System.Char






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






8. System.Byte






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






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






11. Access is limited to the current Assembly






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






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






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






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






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






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






18. Integrated Development Environment






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






20. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.






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






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






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






24. true or false






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






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






27. System.Decimal






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






29. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






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






31. 32 bit single precision floating point data






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






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






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






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






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






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






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






39. A Class that can only have Static Members






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






41. 16 bit- unsigned word (U+0000 to U+ffff)






42. 64 bit double precision floating point data






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






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






45. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






46. System.Int64






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






48. Framework Class Library






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






50. Extra information within a method