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 - signed integer data (-32768 to 32767)






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






3. A Class that cannot be instantiated.






4. Windows Presentation Foundation






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






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






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






8. 32 bit single precision floating point data






9. Must have a data type






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






12. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






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






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






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






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






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






18. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






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






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






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






22. Container for one or more Visual Studio Projects.






23. Allow access to types that exist in outside assemblies.






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






25. A Class that can only have Static Members






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






27. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






28. Extra information within a method






29. A Class that cannot be Inherited






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






31. 64 bit - unsigned integer data






32. Just-in-time compilation






33. A Member that cannot be accessed/invoked through an Object Instance.






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






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






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






37. System.UInt64






38. Symbols which transform and combine expressions






39. 16 bit - unsigned integer data (0 to 65535)






40. 128 bit fixed precision (financial)






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






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






43. System.Int16






44. 32 bit integer data






45. true or false






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






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






48. System.Int64






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






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