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. Access is limited to the current Assembly and Derived Types






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






3. Restricts access to a Member to the current Class.






4. Indicates that the Method can be overridden.






5. Syntax of a C# Method






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






7. Must have a data type






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






9. (&& or || or & or |)






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






11. A Class that inherits characteristics from another Class.






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






13. System.Int32






14. System.SByte






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






16. A Class that cannot be instantiated.






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






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






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






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






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






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






23. 32 bit integer data






24. A Class that can only have Static Members






25. System.Double






26. System.UInt32






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






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. 32 bit single precision floating point data






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






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






32. Symbols which transform and combine expressions






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






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






35. Command Language Runtime






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






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






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






39. true or false






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






41. (== or !=)






42. System.Char






43. 32 bit integer data






44. Windows Presentation Foundation






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






46. Container for one or more Visual Studio Projects.






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






48. Just-in-time compilation






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






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