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. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
uint - .NET alias
Namespace
Statement
Protected Internal Access Modifier
2. 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.
Unary Operator
Variable
Statement
Overloaded Method
3. When a sub class passes down all the behaviours of the original parent class
int - Size
ushort - .NET alias
Inheritance
Derived Class
4. Mathematical (+ or - or / or %)
Reference Type
sbyte - .NET alias
Derived Class
Operator
5. A symbol that specifies an operation to be performed on one or more variables.
Window.xaml.cs
References (Visual Studio Solution
Operator
using
6. (< or > or <= or >=)
Decimal (or decimal) - Size
Relational Operator
Public Keyword
sbyte - .NET alias
7. 32 bit single precision floating point data
byte - Size
Expression
Float (or float) - Size
Object
8. Text as Unicode characters
String (or string)
using
Public Keyword
Expression
9. 32 bit integer data
Static Member
int - Size
Class Statement
Constructor
10. System.Int32
int - .NET alias
char - Size
Stack
Array
11. Restricts access to a Member to the current Class and any Derived Class.
Properties
Protected Access Modifier
Strong Typing
Parameter aka Argument
12. Container for one or more Visual Studio Projects.
Constructor
Float (or float) - Size
Visual Studio Solution
Expression
13. A Class that cannot be Inherited
Sealed Class
Float (or float) - Size
Class Statement
Encapsulation
14. count = count+1 or count++ or count__. Both count variables are Unary Operators
double - .NET alias
Unary Operator
Abstraction
Incrementing / Decrementing Variables
15. 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
While Statement
Sealed Class
Field
16. The process of hiding and restricting access to the implementation details of a data structure.
Abstraction
Namespace
Encapsulation
int - .NET alias
17. System.UInt32
Class Statement
double - .NET alias
uint - .NET alias
Field
18. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
Identifiers
Constant
Polymorphism
Abstract Method Modifier
19. 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
Object
Dot Notation
Object
byte - .NET alias
20. A Class that cannot be instantiated.
References (Visual Studio Solution
Static Class
Identifiers
Overloaded Method
21. (== or !=)
Method
Identifiers
ulong - Size
Equality Operator
22. Indicates that the Method can be overridden.
Virtual Method Modifier
short - Size
Comments
Object
23. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Parameter aka Argument
Incrementing / Decrementing Variables
If Statement
Inheritance
24. A Class from which other classes can inherit characteristics.
Base Class
sbyte - .NET alias
Inheritance
NET
25. Represents date and time data with a 100 ns resolution
DateTime
short - Size
ushort - .NET alias
Abstract Class Modifier
26. true or false
Common Language Runtime (CLR)
Abstraction
bool - Size
Protected Internal Access Modifier
27. The "Type" name of data that is stored on the Heap
char - .NET alias
Array
Reference Type
Inheritance
28. 64 bit - unsigned integer data
Heap
ulong - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
r
29. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Intermediate Language (IL)
Base Class
Assignment Operator
30. 32 bit - unsigned integer data
uint - Size
Data structures
Common Language Runtime (CLR)
If Statement
31. Only requires one operand usually a count+1 or a count++ or a count--
Intermediate Language (IL)
Unary Operator
Namespace
byte - Size
32. The member type of a Class that performs an action.
Variable (C# requirements)
Method
If Statement
Inheritance
33. Allows the definition of a Class to span multiple files (within the same Project)
Class aka Type
Partial Class Modifier
Static Member
Properties
34. Groups classes together so that they have a unique identifier
Value Type
References (Visual Studio Solution
Properties
Namespace
35. Series of instructions which tell a computer what to do.
Heap
Unary Operator
byte - Size
Program
36. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
sbyte - .NET alias
Static Class
bool - Size
37. Windows Presentation Foundation
W.P.F
Polymorphism
C#
Textbox
38. 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.
Identifiers
Int32 - Size
Just-in-time (JIT
Boolean - Size
39. 64 bit double precision floating point data
Common Language Runtime (CLR)
Statement
Float (or float) - Size
Double (or double) - Size
40. System.Int64
char - .NET alias
Object
long - .NET alias
If Statement
41. 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
Identifiers
Heap
uint - Size
Object
42. 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
Precedence
Object
Inheritance
Properties
43. System.UInt16
csc.exe
ushort - .NET alias
Inheritance
IDE
44. Command Language Runtime
CLR
int - .NET alias
Statement
Double (or double) - Size
45. Used to display text that end user does not need to edit.
decimal - .NET alias
Boolean - Size
Label
byte - .NET alias
46. System.UInt64
ulong - .NET alias
Namespace
int - Size
Properties
47. Symbols which transform and combine expressions
Statement
bool - Size
Intermediate Language (IL)
Operator
48. 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)
Field
Boolean Operator
Statement
Operator
49. Variables defined by a class
Heap
Program
Keyword
Field
50. A Class that can only have Static Members
While Statement
IDE
Operator
Static Class