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. A Class from which other classes can inherit characteristics.






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






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






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






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






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






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






8. 64 bit integer data






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






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






11. 32 bit - unsigned integer data






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






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






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






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






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






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






18. Indicates that the Method can be overridden.






19. System.Int16






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






21. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.






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






23. System.UInt16






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






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






26. System.Double






27. Represents the encapsulation of data and behaviors into a single unit.






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






29. A Class that cannot be instantiated.






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






31. Symbols which transform and combine expressions






32. System.Byte






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






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






35. true or false






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






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






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






39. System.Decimal






40. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.






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






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






43. Integrated Development Environment






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






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






46. Windows Presentation Foundation






47. System.Int32






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






49. Framework Class Library






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







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