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 word (U+0000 to U+ffff)






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






3. 128 bit fixed precision (financial)






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






5. 64 bit integer data






6. Framework Class Library






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






8. System.Byte






9. 32 bit single precision floating point data






10. Command Language Runtime






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






12. System.UInt64






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






14. Container for one or more Visual Studio Projects.






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






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






17. Extra information within a method






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






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






20. A Class that can only have Static Members






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






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






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






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






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






26. 32 bit - unsigned integer data






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






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






29. System.Int32






30. A Class that cannot be instantiated.






31. Just-in-time compilation






32. A method that is called whenever an Object is created. The method uses the same name as the Class.






33. 64 bit double precision floating point data






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






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






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






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






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






39. System.Int64






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






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






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






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






44. A type of statement that produces a value that might be tested or assigned to a variable.






45. Access is limited to the current Assembly






46. 32 bit integer data






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






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






49. true or false






50. System.SByte