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






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






3. Framework Class Library






4. A Class from which other classes can inherit characteristics.






5. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.






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






7. System.Int16






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






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






10. System.Single






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






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






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






14. Indicates that the Method can be overridden.






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






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






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






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






19. 64 bit integer data






20. A Class that can only have Static Members






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






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






23. Just-in-time compilation






24. System.SByte






25. Container for one or more Visual Studio Projects.






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






27. System.Char






28. 128 bit fixed precision (financial)






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






30. Keyword which exposes members to other classes OR Identifier which makes program elements public






31. System.Byte






32. System.UInt32






33. 64 bit - unsigned integer data






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






35. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






36. Integrated Development Environment






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






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






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






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






41. (< or > or <= or >=)






42. Windows Presentation Foundation






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






44. Syntax of a C# Method






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






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






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






48. 64 bit integer data






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






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