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. Field whose value can never change. Declared with 'const' keyword






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






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






4. Syntax of a C# Method






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






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






7. A Class that inherits characteristics from another Class.






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






9. Windows Presentation Foundation






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






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






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






13. System.Int64






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






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






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






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






18. Command Language Runtime






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






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






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






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






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






24. A Class that cannot be Inherited






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






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






27. System.UInt32






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






29. System.SByte






30. true or false






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






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






33. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






34. Variables defined by a class






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






36. System.Double






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






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






39. A Class from which other classes can inherit characteristics.






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






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






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






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






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






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






46. 128 bit fixed precision (financial)






47. System.Int16






48. A Class that can only have Static Members






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






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







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