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. 8 bit - signed byte (-128 - 127)






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






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






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






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






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






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






8. System.Double






9. An instance of a class that exists at run-time and is typically referenced via a variable name.






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






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






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






13. 32 bit integer data






14. System.Int16






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






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






17. Access is limited to the current Assembly






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






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






20. System.UInt16






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






22. System.Int32






23. A Class that can only have Static Members






24. 64 bit integer data






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






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






27. 64 bit integer data






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






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






30. A Class that inherits characteristics from another Class.






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






32. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






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






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






35. System.Byte






36. Must have a data type






37. Indicates that the Method can be overridden.






38. Allow access to types that exist in outside assemblies.






39. Extra information within a method






40. 64 bit - unsigned integer data






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






42. Symbols which transform and combine expressions






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






44. A method that is called whenever an Object is created. The method uses the same name as the Class.






45. (< or > or <= or >=)






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






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






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






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






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