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. Command which runs repeatedly while (some) condition is true.






2. 64 bit double precision floating point data






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






4. Symbols which transform and combine expressions






5. Container for one or more Visual Studio Projects.






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






7. Compilation of classes. In C# Usually ends in .dll or .exe






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






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






10. Variables defined by a class






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






12. true or false






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






14. 64 bit integer data






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






16. Extra information within a method






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






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






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






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






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






22. 64 bit - unsigned integer data






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






24. 128 bit fixed precision (financial)






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






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






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






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






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






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






31. System.SByte






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






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






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






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






36. A Class that cannot be instantiated.






37. 64 bit integer data






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






39. System.Int32






40. Windows Presentation Foundation






41. 32 bit integer data






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. Indicates that the Method can be overridden.






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






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






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






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






48. Framework Class Library






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






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







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