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. 64 bit integer data






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






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






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






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






6. A Class that can only have Static Members






7. 32 bit single precision floating point data






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






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






10. (&& or || or & or |)






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






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






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






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






15. Windows Presentation Foundation






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






17. 64 bit integer data






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






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






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






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






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






23. Indicates that the Method can be overridden.






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






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






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






27. System.Char






28. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.






29. System.Single






30. 32 bit integer data






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






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






33. Syntax of a C# Method






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






35. Framework Class Library






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






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






38. Must have a data type






39. 32 bit integer data






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






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






42. System.Byte






43. Text as Unicode characters






44. 64 bit - unsigned integer data






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






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






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






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






49. Symbols which transform and combine expressions






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