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. 64 bit - unsigned integer data






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






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






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






5. 32 bit - unsigned integer data






6. 32 bit single precision floating point data






7. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






8. Variables defined by a class






9. Access is limited to the current Assembly






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






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






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






13. 64 bit integer data






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






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






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






17. Command Language Runtime






18. System.SByte






19. System.Int32






20. Extra information within a method






21. true or false






22. Text as Unicode characters






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






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






25. System.Double






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






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






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






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






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






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






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






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






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






35. Just-in-time compilation






36. Windows Presentation Foundation






37. true or false






38. A Class that cannot be Inherited






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






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






41. A Class that cannot be instantiated.






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






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






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






45. System.Single






46. System.Int16






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






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






49. Syntax of a C# Method






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