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






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






3. A Class that cannot be Inherited






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






5. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






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






7. 128 bit fixed precision (financial)






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






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






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






11. 64 bit - unsigned integer data






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






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






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






15. true or false






16. Symbols which transform and combine expressions






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






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






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






20. 64 bit integer data






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






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






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






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






25. Command Language Runtime






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






27. A Class that cannot be instantiated.






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






29. 64 bit integer data






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






31. Extra information within a method






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






33. Indicates that the Method can be overridden.






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






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






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






37. An instance of a class that exists at run-time and is typically referenced via a variable name.






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






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






40. (== or !=)






41. A method that is called whenever an Object is created. The method uses the same name as the Class.






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






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






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






45. 32 bit integer data






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






47. A Class that can only have Static Members






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






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






50. System.Single