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. 8 bit - unsigned byte (0 - 255)






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






3. A Class that inherits characteristics from another Class.






4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






5. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.






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






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






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






9. System.Decimal






10. A Class that cannot be Inherited






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






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






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






14. System.UInt64






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






16. Must have a data type






17. A Class that can only have Static Members






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






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






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






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






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






23. (&& or || or & or |)






24. 8 bit - signed byte (-128 - 127)






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






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






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






28. Windows Presentation Foundation






29. System.Char






30. 64 bit double precision floating point data






31. 32 bit integer data






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






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






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






35. Command Language Runtime






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






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






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






39. A method that is called whenever an Object is created. The method uses the same name as the Class.






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






41. Code which signifies a carriage return. Symbolises a new line in a text box.






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






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






44. System.SByte






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






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






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






48. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.






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






50. System.Int32







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests