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. A Class that inherits characteristics from another Class.






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






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






4. Extra information within a method






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






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






7. true or false






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






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






10. Integrated Development Environment






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






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






13. A Class that can only have Static Members






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






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






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






17. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






18. (&& or || or & or |)






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






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






21. Command Language Runtime






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






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






24. 64 bit integer data






25. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /






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






27. 32 bit integer data






28. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.






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






30. 32 bit integer data






31. 64 bit - unsigned integer data






32. Compilation of classes. In C# Usually ends in .dll or .exe






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






34. System.Double






35. System.Single






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






37. 8 bit - unsigned byte (0 - 255)






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






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






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






41. Just-in-time compilation






42. System.Byte






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






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






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






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






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






48. Symbols which transform and combine expressions






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






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