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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.






2. Groups classes together so that they have a unique identifier






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






4. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional






5. Something that has a different number of parameters to it's predecessor






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






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






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






9. 64 bit - unsigned integer data






10. Indicates that the Method can be overridden.






11. 32 bit integer data






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






13. Integrated Development Environment






14. 64 bit integer data






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






16. Text as Unicode characters






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






18. A Class that inherits characteristics from another Class.






19. 64 bit integer data






20. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.






21. Compilation of classes. In C# Usually ends in .dll or .exe






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






23. true or false






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






25. Access is limited to the current Assembly






26. 128 bit fixed precision (financial)






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






28. System.Single






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






30. A Class that cannot be instantiated.






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






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






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






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






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






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






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






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






39. Just-in-time compilation






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






41. 64 bit double precision floating point data






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






43. true or false






44. 32 bit integer data






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






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






47. System.Byte






48. Variables defined by a class






49. System.Int64






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







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