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. A symbol that specifies an operation to be performed on one or more variables.






2. A Class that cannot be instantiated.






3. 64 bit integer data






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






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






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






7. 32 bit - unsigned integer data






8. 32 bit integer data






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






10. Access is limited to the current Assembly






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






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






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






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






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






16. System.Int64






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






18. System.Char






19. System.UInt32






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






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






22. Extra information within a method






23. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.






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






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






26. Restricts access to a Member to the current Class and any Derived Class.






27. System.Decimal






28. System.UInt64






29. System.Int32






30. 128 bit fixed precision (financial)






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






32. System.UInt16






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






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






35. (= or += or -= or = or /=)






36. A Class that inherits characteristics from another Class.






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






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






39. Just-in-time compilation






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






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






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






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






44. 64 bit double precision floating point data






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






46. Syntax of a C# Method






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






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






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






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