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. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






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






5. 64 bit double precision floating point data






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






7. true or false






8. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.






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






10. System.UInt64






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






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






13. System.Byte






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






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






16. System.Decimal






17. 64 bit integer data






18. Code which signifies a carriage return. Symbolises a new line in a text box.






19. System.Int64






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






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






22. 32 bit integer data






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






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






25. Text as Unicode characters






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






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






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






29. Command Language Runtime






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






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






32. 128 bit fixed precision (financial)






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






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






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






36. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






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






38. System.Single






39. Symbols which transform and combine expressions






40. A Class that cannot be Inherited






41. Just-in-time compilation






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






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






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






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






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






47. System.UInt16






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






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






50. Container for one or more Visual Studio Projects.







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