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






2. Integrated Development Environment






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






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






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






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






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






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






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






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






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






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






13. Variables defined by a class






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






15. A Class that can only have Static Members






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






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






18. System.UInt32






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






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






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






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






23. (< or > or <= or >=)






24. (&& or || or & or |)






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






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






27. System.Byte






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






29. 128 bit fixed precision (financial)






30. 64 bit - unsigned integer data






31. true or false






32. System.Int32






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






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






35. 64 bit double precision floating point data






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






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






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






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






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






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






42. System.UInt16






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






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






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






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






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






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






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






50. Symbols which transform and combine expressions