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 combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.






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






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






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






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






6. System.Double






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






8. 64 bit integer data






9. A Class that cannot be instantiated.






10. System.SByte






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. Container for one or more Visual Studio Projects.






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






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






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






16. 128 bit fixed precision (financial)






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






18. System.UInt64






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






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






21. System.Byte






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






23. Allow access to types that exist in outside assemblies.






24. true or false






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






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






27. 64 bit integer data






28. System.Single






29. A Class that inherits characteristics from another Class.






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






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






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






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






34. A Class that can only have Static Members






35. The "Type" name of data that is stored on the Heap






36. A Class that cannot be Inherited






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






38. Restricts access to a Member to the current Class.






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






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






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






42. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






43. Variables defined by a class






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






45. Indicates that the Method can be overridden.






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






47. Just-in-time compilation






48. System.Decimal






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






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