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. A Class from which other classes can inherit characteristics.






2. System.UInt16






3. System.Single






4. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.






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






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






7. Extra information within a method






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






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






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






11. System.Int32






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






13. System.Char






14. 32 bit integer data






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






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






17. Used to display text that end user does not need to edit.






18. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






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






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






22. Framework Class Library






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






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






25. System.Int64






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






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






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






29. Must have a data type






30. Indicates that the Method can be overridden.






31. 32 bit - unsigned integer data






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






33. System.Double






34. (== or !=)






35. Container for one or more Visual Studio Projects.






36. System.Int16






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






38. Command Language Runtime






39. Just-in-time compilation






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






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






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






43. A Class that can only have Static Members






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






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






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






47. A Class that cannot be instantiated.






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






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






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