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. true or false






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






3. System.Char






4. (== or !=)






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






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






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






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






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






10. System.Single






11. A Class that inherits characteristics from another Class.






12. 32 bit single precision floating point data






13. 64 bit integer data






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






15. (< or > or <= or >=)






16. Something that has a different number of parameters to it's predecessor






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






18. 64 bit double precision floating point data






19. A Class that cannot be instantiated.






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






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






22. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)






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






24. Extra information within a method






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






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






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






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






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






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






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






32. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






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






34. A Class that can only have Static Members






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






36. System.UInt32






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






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






39. Windows Presentation Foundation






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






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






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






43. System.Int64






44. Command Language Runtime






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






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






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






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






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






50. System.SByte