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






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






3. System.UInt16






4. System.Char






5. (== or !=)






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






7. System.UInt64






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






9. 32 bit single precision floating point data






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






11. Just-in-time compilation






12. Command Language Runtime






13. true or false






14. (&& or || or & or |)






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






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






17. Variables defined by a class






18. System.SByte






19. Symbols which transform and combine expressions






20. Field whose value can never change. Declared with 'const' keyword






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






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






23. 64 bit - unsigned integer data






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






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






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






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






28. Extra information within a method






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. 128 bit fixed precision (financial)






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






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






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






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






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






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






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






38. 64 bit double precision floating point data






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






40. System.Single






41. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






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






43. (< or > or <= or >=)






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






45. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






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






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






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






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






50. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.