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. Code which signifies a carriage return. Symbolises a new line in a text box.






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






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






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






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






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






7. 64 bit double precision floating point data






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






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






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






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






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






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






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






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






16. 128 bit fixed precision (financial)






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






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






19. System.Int64






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






21. System.Byte






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






23. 8 bit - signed byte (-128 - 127)






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






25. System.Char






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






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






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






29. Indicates that the Method can be overridden.






30. System.Int32






31. System.Single






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






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






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






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






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






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






38. System.Decimal






39. (== or !=)






40. 32 bit integer data






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






42. Access is limited to the current Assembly






43. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.






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






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






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






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






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






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






50. Extra information within a method







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