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






2. Integrated Development Environment






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






4. Code which signifies a carriage return. Symbolises a new line in a text box.






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






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






7. (== or !=)






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






9. System.UInt64






10. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






11. System.SByte






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






13. System.Int64






14. System.Double






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






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






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






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






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






20. System.UInt32






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






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






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






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






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






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






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






28. 32 bit integer data






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






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






31. Sits behind GUI (Graphical User Interface) and provides event listeners






32. Text as Unicode characters






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






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






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






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






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






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






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






40. 64 bit integer data






41. 64 bit integer data






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






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






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






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






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






47. Access is limited to the current Assembly






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






49. Just-in-time compilation






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