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. (< or > or <= or >=)






2. Container for one or more Visual Studio Projects.






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






4. Access is limited to the current Assembly






5. 32 bit single precision floating point data






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






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






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






9. A Class that inherits characteristics from another Class.






10. Just-in-time compilation






11. System.Int64






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






13. Text as Unicode characters






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






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






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






17. System.Int16






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






19. Extra information within a method






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






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






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






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






24. Integrated Development Environment






25. 32 bit integer data






26. 64 bit integer data






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






28. System.Int32






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






30. true or false






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






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






33. The "Type" name of data that is stored on the Heap






34. System.UInt16






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






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






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






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






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






40. System.UInt32






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






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






43. Symbols which transform and combine expressions






44. Must have a data type






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






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






47. 32 bit integer data






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. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






50. A Class that cannot be instantiated.