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. 32 bit integer data






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






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






4. System.Double






5. Syntax of a C# Method






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






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






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






9. System.SByte






10. System.Int32






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






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






13. An instance of a class that exists at run-time and is typically referenced via a variable name.






14. 64 bit - unsigned integer data






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






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






17. System.UInt32






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






19. A Class that can only have Static Members






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






21. System.Byte






22. (== or !=)






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






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






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






26. Container for one or more Visual Studio Projects.






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






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






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






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






31. A Class that cannot be instantiated.






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






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






34. 64 bit double precision floating point data






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






36. Symbols which transform and combine expressions






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






38. 128 bit fixed precision (financial)






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






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






41. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






42. Variables defined by a class






43. 64 bit integer data






44. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging






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






46. Must have a data type






47. Keyword which exposes members to other classes OR Identifier which makes program elements public






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






49. Access is limited to the current Assembly






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







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