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. Series of instructions which tell a computer what to do.






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






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






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






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






6. Must have a data type






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






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






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






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






11. 32 bit integer data






12. (< or > or <= or >=)






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






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






15. Extra information within a method






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






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






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






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






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






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






22. System.Double






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






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






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






26. true or false






27. System.Int32






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






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






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






31. Access is limited to the current Assembly






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






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






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






35. System.Int16






36. Framework Class Library






37. Syntax of a C# Method






38. System.Decimal






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






40. System.UInt16






41. System.SByte






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






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






44. System.UInt32






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






46. Command Language Runtime






47. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5






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






49. 64 bit integer data






50. System.UInt64







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests