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. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






2. 64 bit double precision floating point data






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






4. Symbols which transform and combine expressions






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






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






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






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






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






10. A Class that cannot be Inherited






11. (< or > or <= or >=)






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






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






14. System.UInt64






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






16. (&& or || or & or |)






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






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






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






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






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






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






23. System.Int32






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






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






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






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






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






29. A Class that cannot be instantiated.






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






31. System.Double






32. Container for one or more Visual Studio Projects.






33. A Class that inherits characteristics from another Class.






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






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






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






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






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






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






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






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






42. A Class that can only have Static Members






43. Must have a data type






44. 32 bit integer data






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






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






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






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






49. System.Single






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







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