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






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






3. 64 bit double precision floating point data






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






5. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






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






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






8. Syntax of a C# Method






9. System.UInt16






10. 32 bit - unsigned integer data






11. Text as Unicode characters






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






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






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






15. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.






16. System.Int32






17. A Class that can only have Static Members






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






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






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






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






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






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






24. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.






25. Access is limited to the current Assembly






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






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






28. Extra information within a method






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






30. Variables defined by a class






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






32. (< or > or <= or >=)






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






34. Contains the class definitions that allow access to the functionality provided by .NET.






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






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






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






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






39. 64 bit integer data






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






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






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






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






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






45. A Class that cannot be Inherited






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






47. 64 bit - unsigned integer data






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






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






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







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