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. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






2. A Class that cannot be Inherited






3. System.SByte






4. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory






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






6. Text as Unicode characters






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






8. 128 bit fixed precision (financial)






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






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






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






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






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






14. System.Byte






15. A Class that inherits characteristics from another Class.






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






17. (== or !=)






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






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






20. true or false






21. Integrated Development Environment






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






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






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






25. Command Language Runtime






26. Indicates that the Method can be overridden.






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






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






29. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






32. 64 bit integer data






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






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






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






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






37. Command which runs repeatedly while (some) condition is true.






38. The process of hiding and restricting access to the implementation details of a data structure.






39. System.UInt64






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






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






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






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






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






45. Container for one or more Visual Studio Projects.






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






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






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






49. Symbols which transform and combine expressions






50. 64 bit double precision floating point data