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. The process of hiding and restricting access to the implementation details of a data structure.






2. System.Int16






3. Access is limited to the current Assembly and Derived Types






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






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






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






7. System.Double






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






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






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






11. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.






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






13. 64 bit integer data






14. Syntax of a C# Method






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






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






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






18. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).






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






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






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






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






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






24. 64 bit double precision floating point data






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






26. 32 bit - unsigned integer data






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






28. 64 bit integer data






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






30. 64 bit - unsigned integer data






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






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






33. System.Decimal






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






35. true or false






36. A Class that cannot be Inherited






37. Command which runs repeatedly while (some) condition is true.






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






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






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






41. (< or > or <= or >=)






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






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






44. Symbols which transform and combine expressions






45. (== or !=)






46. Text as Unicode characters






47. System.UInt32






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






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






50. System.Int32







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