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. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






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






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






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






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






6. Extra information within a method






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






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






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






10. true or false






11. System.UInt32






12. Symbols which transform and combine expressions






13. System.Decimal






14. The "Type" name of data that is stored on the Heap






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






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






17. System.SByte






18. (< or > or <= or >=)






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






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






21. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






22. 32 bit integer data






23. System.UInt64






24. Windows Presentation Foundation






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






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






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






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






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






30. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.






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






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






33. A Class that cannot be Inherited






34. Container for one or more Visual Studio Projects.






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






36. System.Byte






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






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






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






40. 32 bit integer data






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






42. Integrated Development Environment






43. Framework Class Library






44. A symbol that specifies an operation to be performed on one or more variables.






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






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






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






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






49. A Class that can only have Static Members






50. System.Double