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. Sits behind GUI (Graphical User Interface) and provides event listeners






2. Extra information within a method






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






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






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






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






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






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






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






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






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






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






14. 64 bit double precision floating point data






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






16. Command Language Runtime






17. 64 bit integer data






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






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






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






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






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






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






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






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






26. System.Char






27. 64 bit - unsigned integer data






28. true or false






29. Used to display text that end user does not need to edit.






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






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






32. System.Int64






33. Must have a data type






34. A Class that cannot be instantiated.






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






36. System.UInt32






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






38. Text as Unicode characters






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






40. System.Int32






41. 128 bit fixed precision (financial)






42. 32 bit integer data






43. System.UInt64






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






45. Access is limited to the current Assembly






46. count = count+1 or count++ or count__. Both count variables are Unary Operators






47. Indicates that the Method can be overridden.






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






49. Microsoft's generic software framework for application development.






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






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