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. 128 bit fixed precision (financial)






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






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






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






5. System.Int16






6. A Class that cannot be instantiated.






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






8. System.Char






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






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






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






12. 64 bit integer data






13. Integrated Development Environment






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






15. 32 bit - unsigned integer data






16. Windows Presentation Foundation






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






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






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






20. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).






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






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






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






24. System.UInt64






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






26. 32 bit single precision floating point data






27. Container for one or more Visual Studio Projects.






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






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






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






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






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






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






34. Text as Unicode characters






35. 16 bit - signed integer data (-32768 to 32767)






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






37. System.Byte






38. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class






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






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






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






42. Keyword which exposes members to other classes OR Identifier which makes program elements public






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






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






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






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






47. System.Double






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






49. System.Single






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