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. Runs in a command prompt window rather than a GUI (graphical User Interface) one.






2. A Class that inherits characteristics from another Class.






3. true or false






4. System.Decimal






5. System.UInt64






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






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






8. (&& or || or & or |)






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






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






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






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






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






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






15. A representation of an area in the computer memory in which a value of a particular data type can be stored.






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






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






18. System.Int32






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






20. 32 bit integer data






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






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






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






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






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






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






27. System.Int64






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






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






30. Symbols which transform and combine expressions






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






32. (< or > or <= or >=)






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






34. Command Language Runtime






35. System.Char






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






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






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






39. Syntax of a C# Method






40. A Class that cannot be Inherited






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






42. A Class that can only have Static Members






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






44. System.Double






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






46. System.UInt32






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






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






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






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







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