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. true or false






2. A Class that inherits characteristics from another Class.






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






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






5. A Class that cannot be Inherited






6. 32 bit single precision floating point data






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






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






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






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






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






12. The member type of a Class that performs an action.






13. (== or !=)






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






15. Syntax of a C# Method






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






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






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






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






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






21. true or false






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






23. 64 bit - unsigned integer data






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






25. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






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






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






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






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






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






31. Symbols which transform and combine expressions






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






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






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






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






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






37. Integrated Development Environment






38. Variables defined by a class






39. Extra information within a method






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






41. System.Char






42. System.Single






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






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






45. System.Int64






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






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






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






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






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