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. Command which runs repeatedly while (some) condition is true.






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






4. System.Char






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






6. Syntax of a C# Method






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






8. Series of instructions which tell a computer what to do.






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






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






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






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






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






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






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






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






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






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






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






20. System.Byte






21. Variables defined by a class






22. Framework Class Library






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






24. 16 bit - signed integer data (-32768 to 32767)






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






26. System.UInt32






27. (== or !=)






28. Code which signifies a carriage return. Symbolises a new line in a text box.






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






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






31. 32 bit integer data






32. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)






33. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.






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






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






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






37. System.Double






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






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






40. 32 bit single precision floating point data






41. System.Int16






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






43. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






44. 32 bit - unsigned integer data






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






46. 32 bit integer data






47. Command Language Runtime






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






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






50. A Class that cannot be instantiated.