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. Represents date and time data with a 100 ns resolution






2. A Class that inherits characteristics from another Class.






3. Access is limited to the current Assembly and Derived Types






4. 64 bit - unsigned integer data






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






6. System.UInt16






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






8. System.Single






9. Extra information within a method






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






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






12. true or false






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






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






15. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.






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






17. Container for one or more Visual Studio Projects.






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






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






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






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






22. 32 bit single precision floating point data






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






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






25. 64 bit double precision floating point data






26. Just-in-time compilation






27. Access is limited to the current Assembly






28. Syntax of a C# Method






29. Text as Unicode characters






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






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






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






33. 64 bit integer data






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






35. System.Int64






36. (&& or || or & or |)






37. System.UInt32






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






39. 32 bit integer data






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






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






42. A Class that can only have Static Members






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






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






45. 32 bit integer data






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






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






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






49. Field whose value can never change. Declared with 'const' keyword






50. Indicates that the Method can be overridden.






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