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. Command which runs repeatedly while (some) condition is true.






2. Windows Presentation Foundation






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






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






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






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






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






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






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






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






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






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






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






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






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






16. count = count+1 or count++ or count__. Both count variables are Unary Operators






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






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






19. Only requires one operand usually a count+1 or a count++ or a count--






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






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






22. System.Double






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






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






25. Integrated Development Environment






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






27. 128 bit fixed precision (financial)






28. Symbols which transform and combine expressions






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






30. true or false






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






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






33. System.UInt64






34. Container for one or more Visual Studio Projects.






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






36. 64 bit integer data






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






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






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






40. A method that is called whenever an Object is created. The method uses the same name as the Class.






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






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






43. Just-in-time compilation






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






45. Command Language Runtime






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






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






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






49. Access is limited to the current Assembly






50. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a 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