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. Must have a data type






2. System.Byte






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






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






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






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






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






8. System.Int16






9. System.Single






10. Just-in-time compilation






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






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






14. (== or !=)






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






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






17. A Class from which other classes can inherit characteristics.






18. true or false






19. 32 bit integer data






20. System.Decimal






21. System.Int64






22. System.UInt32






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






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






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






26. 64 bit integer data






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






28. Sits behind GUI (Graphical User Interface) and provides event listeners






29. (&& or || or & or |)






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. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).






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






33. Indicates that the Method can be overridden.






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






35. The .NET run-time environment that enables code to be compiled and executed.






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






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






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






39. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






40. A Class that cannot be instantiated.






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






42. 128 bit fixed precision (financial)






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






44. System.UInt64






45. Container for one or more Visual Studio Projects.






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






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






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






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






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







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