SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
C# Programming Basics
Start Test
Study First
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.
Label
Polymorphism
Expression
Base Class
2. 64 bit integer data
Protected Access Modifier
Internal Access Modifier
long - Size
Operator
3. Syntax of a C# Method
Operator
Textbox
Sealed Class
returnType methodName (parameterList)
4. When a sub class passes down all the behaviours of the original parent class
Operator
Equality Operator
Inheritance
Stack
5. Restricts access to a Member to the current Class.
Private Access Modifier
FCL
Operator
Primitive
6. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
char - Size
ushort - Size
Array
Overloaded Method
7. The .NET run-time environment that enables code to be compiled and executed.
While Statement
Static Member
C#
Common Language Runtime (CLR)
8. An instance of a class that exists at run-time and is typically referenced via a variable name.
short - Size
Assembly
Object
Variable
9. Code which implements GUI (graphical User Interface).
Reference Type
Data structures
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Polymorphism
10. A method that is called whenever an Object is created. The method uses the same name as the Class.
Variable (C# requirements)
Boolean Operator
Abstract Method Modifier
Constructor
11. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Abstraction
Operator
Variable
12. A Member that cannot be accessed/invoked through an Object Instance.
int - .NET alias
Stack
Static Member
Operator
13. The member type of a Class that performs an action.
uint - Size
Method
Static Class
Label
14. System.UInt16
Variable
using
Static Class
ushort - .NET alias
15. Command Language Runtime
ulong - Size
Class aka Type
Namespace
CLR
16. The "Type" name of data that is stored on the Stack
Strong Typing
C#
int - .NET alias
Value Type
17. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Assembly
Overloaded Method
Abstraction
uint - Size
18. Command which runs repeatedly while (some) condition is true.
Parameter aka Argument
While Statement
double - .NET alias
sbyte - Size
19. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
String (or string)
Incrementing / Decrementing Variables
Data structures
20. Extra information within a method
Parameter aka Argument
JITer
Expression
bool - Size
21. Series of instructions which tell a computer what to do.
Intermediate Language (IL)
Class
Program
Assembly
22. 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
Expression
Internal Access Modifier
Overloaded Method
Dot Notation
23. A Class that cannot be Inherited
Reference Type
Base Class
Sealed Class
Array
24. 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.
String (or string)
Encapsulation
Partial Method Modifier
NET
25. 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.
Assembly
W.P.F
Inheritance
Identifiers
26. Symbols which transform and combine expressions
Operator
Data structures
Intermediate Language (IL)
Partial Class Modifier
27. 128 bit fixed precision (financial)
Method
int - .NET alias
Decimal (or decimal) - Size
Just-in-time (JIT
28. 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.
Partial Method Modifier
If Statement
uint - Size
Encapsulation
29. Indicates that the Method can be overridden.
Virtual Method Modifier
Statement
int - Size
Public Keyword
30. 64 bit double precision floating point data
DateTime
Double (or double) - Size
Primitive Type
Visual Studio Solution
31. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Expression
Double (or double) - Size
Abstraction
Polymorphism
32. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Variable
Method
Partial Method Modifier
uint - Size
33. System.Byte
NET
byte - .NET alias
Partial Method Modifier
Inheritance
34. Sits behind GUI (Graphical User Interface) and provides event listeners
decimal - .NET alias
Unary Operator
Encapsulation
Window.xaml.cs
35. Just-in-time compilation
Sealed Class
JIT
Syntax
Array
36. (== or !=)
Comments
Method
Equality Operator
Statement
37. true or false
Class Statement
Console Application
Boolean - Size
Namespace
38. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Abstract Method Modifier
Internal Access Modifier
Boolean - Size
Data structures
39. Allow access to types that exist in outside assemblies.
Int64 - Size
Variable
References (Visual Studio Solution
float - .NET alias
40. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Constant
Static Member
Decimal (or decimal) - Size
Abstract Class Modifier
41. Used to display text that end user does not need to edit.
Decimal (or decimal) - Size
Label
Boolean - Size
Double (or double) - Size
42. Microsoft's generic software framework for application development.
Abstract Class Modifier
decimal - .NET alias
NET
Static Class
43. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Inheritance
JITer
Internal Access Modifier
Comments
44. Contains the class definitions that allow access to the functionality provided by .NET.
Statement
Framework Class Library (FCL)
Parameter aka Argument
Int32 - Size
45. 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.
Keyword
Framework Class Library (FCL)
Variable
ulong - Size
46. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Properties
Label
Intermediate Language (IL)
Encapsulation
47. System.Int64
csc.exe
Float (or float) - Size
short - Size
long - .NET alias
48. Allows the definition of a Class to span multiple files (within the same Project)
NET
int - .NET alias
Partial Class Modifier
Precedence
49. Most common kind of reference type. They define objects. They must have at least one method and one field.
Public Keyword
Class aka Type
csc.exe
Equality Operator
50. System.UInt32
Just-in-time (JIT
uint - .NET alias
byte - Size
Framework Class Library (FCL)