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. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






2. true or false






3. 64 bit integer data






4. Code which implements GUI (graphical User Interface).






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






6. Access is limited to the current Assembly






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






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






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






10. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does






11. 64 bit - unsigned integer data






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






13. Syntax of a C# Method






14. System.Decimal






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






16. A Class that inherits characteristics from another Class.






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






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






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






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






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






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






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






24. Variables defined by a class






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






26. Symbols which transform and combine expressions






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






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






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






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






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






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






33. System.Single






34. (== or !=)






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






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






37. Must have a data type






38. System.Double






39. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)






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






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






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. A type of statement that produces a value that might be tested or assigned to a variable.






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






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






46. Series of instructions which tell a computer what to do.






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






48. 32 bit integer data






49. A Class that cannot be instantiated.






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







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