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. (&& or || or & or |)






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






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






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






6. Command Language Runtime






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






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






9. 32 bit integer data






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






11. System.Char






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






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






14. 64 bit double precision floating point data






15. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






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






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






18. 64 bit - unsigned integer data






19. System.UInt32






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






21. A representation of an area in the computer memory in which a value of a particular data type can be stored.






22. 64 bit integer data






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






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






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






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






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






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






29. System.Single






30. Symbols which transform and combine expressions






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






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






33. System.SByte






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






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






36. Extra information within a method






37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.






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






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






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






41. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.






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






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






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






45. Access is limited to the current Assembly and Derived Types






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






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






48. A Class that cannot be instantiated.






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






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