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. Just-in-time compilation
Expression
Virtual Method Modifier
Static Member
JIT
2. 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)
Boolean Operator
Constructor
Parameter aka Argument
Encapsulation
3. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
int - Size
short - .NET alias
Common Language Runtime (CLR)
Properties
4. System.Int32
Private Access Modifier
Textbox
FCL
int - .NET alias
5. Most common kind of reference type. They define objects. They must have at least one method and one field.
Primitive
Class aka Type
Window.xaml.cs
sbyte - Size
6. A Class that cannot be Inherited
Window.xaml.cs
Comments
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
7. Windows Presentation Foundation
Intermediate Language (IL)
Stack
W.P.F
Dot Notation
8. Variables defined by a class
Textbox
Field
Inheritance
W.P.F
9. Container for one or more Visual Studio Projects.
csc.exe
uint - Size
Visual Studio Solution
Namespace
10. System.Single
char - Size
Sealed Class
float - .NET alias
W.P.F
11. 32 bit integer data
Int32 - Size
DateTime
Overloaded Method
Class aka Type
12. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Inheritance
Private Access Modifier
Method
13. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Decimal (or decimal) - Size
sbyte - .NET alias
String (or string)
14. Framework Class Library
Common Language Runtime (CLR)
decimal - .NET alias
Public Keyword
FCL
15. Series of instructions which tell a computer what to do.
Constructor
bool - Size
Program
sbyte - .NET alias
16. Field whose value can never change. Declared with 'const' keyword
short - Size
ushort - .NET alias
Constructor
Constant
17. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Properties
Assembly
Parameter aka Argument
uint - Size
18. Syntax of a C# Method
returnType methodName (parameterList)
Primitive Type
Reference Type
Static Member
19. Allows the definition of a Class to span multiple files (within the same Project)
Statement
Boolean Operator
Partial Class Modifier
Abstract Class Modifier
20. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Base Class
Static Class
ushort - .NET alias
21. Microsoft's generic software framework for application development.
Primitive
NET
Value Type
sbyte - .NET alias
22. 64 bit - unsigned integer data
W.P.F
ulong - Size
bool - Size
Inheritance
23. (== or !=)
Inheritance
Equality Operator
Assignment Operator
uint - .NET alias
24. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Abstraction
IDE
Base Class
25. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Strong Typing
long - .NET alias
Statement
JITer
26. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Label
Object
String (or string)
27. Something that has a different number of parameters to it's predecessor
short - Size
Overloaded Method
uint - Size
Intermediate Language (IL)
28. (< or > or <= or >=)
Boolean Operator
Visual Studio Solution
W.P.F
Relational Operator
29. 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.
Abstract Method Modifier
Common Language Runtime (CLR)
returnType methodName (parameterList)
Class aka Type
30. (&& or || or & or |)
Conditional Operator
Sealed Class
short - Size
Just-in-time (JIT
31. Indicates that the Method can be overridden.
Visual Studio Solution
Virtual Method Modifier
Primitive
Keyword
32. Allow access to types that exist in outside assemblies.
short - .NET alias
Method
References (Visual Studio Solution
char - .NET alias
33. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Partial Class Modifier
Visual Studio Solution
Method
DateTime
34. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Inheritance
Private Access Modifier
Strong Typing
35. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Derived Class
using
Variable
Properties
36. A representation of an area in the computer memory in which a value of a particular data type can be stored.
r
Conditional Operator
Keyword
Variable
37. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
DateTime
Abstract Class Modifier
Object
using
38. Text as Unicode characters
Comments
sbyte - Size
String (or string)
double - .NET alias
39. A Class that inherits characteristics from another Class.
Equality Operator
Overloaded Method
Partial Method Modifier
Derived Class
40. System.Decimal
decimal - .NET alias
Protected Internal Access Modifier
Label
Field
41. System.Byte
byte - .NET alias
Polymorphism
char - .NET alias
Equality Operator
42. 8 bit - unsigned byte (0 - 255)
Inheritance
Comments
Primitive Type
byte - Size
43. Groups classes together so that they have a unique identifier
Namespace
Internal Access Modifier
JITer
using
44. count = count+1 or count++ or count__. Both count variables are Unary Operators
Heap
Primitive
bool - Size
Incrementing / Decrementing Variables
45. true or false
bool - Size
Window.xaml.cs
Operator
Keyword
46. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
JIT
Namespace
NET
Decimal (or decimal) - Size
47. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Dot Notation
Int64 - Size
Intermediate Language (IL)
48. A Class that cannot be instantiated.
Object
CLR
Class
Static Class
49. The process of compiling IL source into CPU-native code for execution.
W.P.F
Precedence
Just-in-time (JIT
Properties
50. When a sub class passes down all the behaviours of the original parent class
int - .NET alias
Inheritance
Class Statement
Array