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. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






2. Framework Class Library






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






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






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






6. 64 bit - unsigned integer data






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






8. Container for one or more Visual Studio Projects.






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






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






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






12. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.






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






14. Command Language Runtime






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






16. System.Single






17. A Class that cannot be Inherited






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






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






20. A Class that cannot be instantiated.






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






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






23. 64 bit double precision floating point data






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






25. Only requires one operand usually a count+1 or a count++ or a count--






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






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






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. Syntax of a C# Method






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






31. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






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






34. Just-in-time compilation






35. 64 bit integer data






36. System.Byte






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






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






39. Symbols which transform and combine expressions






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






41. A Class that can only have Static Members






42. System.UInt64






43. The lowest level or fundamental data types needed for representing data.






44. System.UInt16






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






46. System.Double






47. 32 bit integer data






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






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






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