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. Indicates that the Method can be overridden.






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






3. (< or > or <= or >=)






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






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






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






7. Extra information within a method






8. true or false






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






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






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






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






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






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






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






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






17. System.Single






18. System.Int64






19. System.Int32






20. System.Byte






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






22. (&& or || or & or |)






23. 64 bit integer data






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






25. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.






26. Framework Class Library






27. 32 bit integer data






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






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






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






31. A Class that cannot be instantiated.






32. Text as Unicode characters






33. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






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






35. Variables defined by a class






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






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






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






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






40. System.UInt32






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






42. 128 bit fixed precision (financial)






43. System.Int16






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






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






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






47. Integrated Development Environment






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






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






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