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. The "Type" name of data that is stored on the Heap






2. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.






3. System.Single






4. 16 bit- unsigned word (U+0000 to U+ffff)






5. System.UInt16






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






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






8. System.Decimal






9. Names reserved by the compiler that coders are not allowed to use as identifiers.






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






11. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






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






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






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






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






16. 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'.






17. 32 bit integer data






18. 64 bit integer data






19. System.Char






20. Syntax of a C# Method






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






22. true or false






23. Allows the definition of a Class to span multiple files (within the same Project)






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






25. Access is limited to the current Assembly






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






27. Symbols which transform and combine expressions






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






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






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






31. System.UInt64






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






33. A Class from which other classes can inherit characteristics.






34. Just-in-time compilation






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






36. Integrated Development Environment






37. Field whose value can never change. Declared with 'const' keyword






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






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






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






41. 64 bit double precision floating point data






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






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






44. (< or > or <= or >=)






45. Represents the encapsulation of data and behaviors into a single unit.






46. 32 bit single precision floating point data






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






48. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.






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






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