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 four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism






2. 64 bit integer data






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






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






5. System.UInt32






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






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






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






9. Command Language Runtime






10. Extra information within a method






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






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






13. System.Decimal






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






15. Symbols which transform and combine expressions






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






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






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






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






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






21. System.Byte






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






23. 16 bit- unsigned word (U+0000 to U+ffff)






24. Mathematical (+ or - or / or %)






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






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






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






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






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






30. A Class that cannot be Inherited






31. Just-in-time compilation






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






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






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






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






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






37. 32 bit integer data






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






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






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






41. 32 bit single precision floating point data






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






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






44. (== or !=)






45. Allow access to types that exist in outside assemblies.






46. System.Double






47. The process of hiding and restricting access to the implementation details of a data structure.






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






49. (< or > or <= or >=)






50. Access is limited to the current Assembly






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