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






2. Integrated Development Environment






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






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






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






6. 32 bit integer data






7. (< or > or <= or >=)






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






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






10. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.






11. 64 bit integer data






12. 64 bit double precision floating point data






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






14. 64 bit integer data






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






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






17. System.Char






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






19. Command Language Runtime






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






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






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






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






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






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






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






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






28. System.Decimal






29. 32 bit integer data






30. Text as Unicode characters






31. 64 bit - unsigned integer data






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






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






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






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






36. System.Byte






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






38. System.UInt64






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






40. System.UInt32






41. When a sub class passes down all the behaviours of the original parent class






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






43. 128 bit fixed precision (financial)






44. A Class that can only have Static Members






45. Just-in-time compilation






46. A Member that cannot be accessed/invoked through an Object Instance.






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






48. Syntax of a C# Method






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






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