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






2. 32 bit single precision floating point data






3. 64 bit - unsigned integer data






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






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






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






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






8. System.Double






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






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






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






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






13. Extra information within a method






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






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






16. (< or > or <= or >=)






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






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






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






20. 32 bit integer data






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






22. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






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






26. System.UInt16






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






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






29. The .NET run-time environment that enables code to be compiled and executed.






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






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






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






33. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.






34. Container for one or more Visual Studio Projects.






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






36. System.Single






37. System.Char






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






39. Just-in-time compilation






40. Represents date and time data with a 100 ns resolution






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






42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio






43. System.Int32






44. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






45. A Class that can only have Static Members






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






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






48. Variables defined by a class






49. Access is limited to the current Assembly






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