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. When a sub class passes down all the behaviours of the original parent class
Inheritance
Reference Type
Class aka Type
Virtual Method Modifier
2. A Class that cannot be Inherited
Sealed Class
FCL
sbyte - .NET alias
DateTime
3. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Constant
Framework Class Library (FCL)
Int32 - Size
Comments
4. 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.
References (Visual Studio Solution
uint - .NET alias
Syntax
char - Size
5. Must have a data type
Float (or float) - Size
Variable (C# requirements)
Internal Access Modifier
Field
6. 64 bit - unsigned integer data
Relational Operator
ulong - Size
Protected Internal Access Modifier
double - .NET alias
7. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
byte - .NET alias
C#
Object
8. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Incrementing / Decrementing Variables
Intermediate Language (IL)
float - .NET alias
9. A Class that cannot be instantiated.
Static Class
Framework Class Library (FCL)
short - .NET alias
Method
10. A type of statement that produces a value that might be tested or assigned to a variable.
returnType methodName (parameterList)
Expression
Common Language Runtime (CLR)
byte - .NET alias
11. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Float (or float) - Size
Array
Polymorphism
byte - Size
12. Introduces a new class. Marked by curly brackets { }
Decimal (or decimal) - Size
Strong Typing
FCL
Class Statement
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Static Member
csc.exe
Stack
Operator
14. An instance of a class that exists at run-time and is typically referenced via a variable name.
Precedence
Object
Keyword
IDE
15. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Inheritance
csc.exe
Operator
16. A Class from which other classes can inherit characteristics.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Encapsulation
Inheritance
Base Class
17. Represents the encapsulation of data and behaviors into a single unit.
Operator
uint - .NET alias
Class
Abstraction
18. Command Language Runtime
Array
Static Class
CLR
JIT
19. 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.
float - .NET alias
r
sbyte - .NET alias
Encapsulation
20. Command which runs repeatedly while (some) condition is true.
long - Size
CLR
While Statement
double - .NET alias
21. 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
Float (or float) - Size
Class Statement
Unary Operator
Object
22. Allows the definition of a Class to span multiple files (within the same Project)
Precedence
ulong - Size
Console Application
Partial Class Modifier
23. Integrated Development Environment
JITer
IDE
uint - .NET alias
Value Type
24. 16 bit - signed integer data (-32768 to 32767)
ulong - Size
short - Size
Private Access Modifier
using
25. Framework Class Library
Identifiers
FCL
Variable
Abstraction
26. Something that has a different number of parameters to it's predecessor
Inheritance
Overloaded Method
JIT
int - Size
27. System.UInt16
Comments
Private Access Modifier
Class
ushort - .NET alias
28. Access is limited to the current Assembly and Derived Types
References (Visual Studio Solution
Dot Notation
While Statement
Protected Internal Access Modifier
29. Variables defined by a class
W.P.F
Field
int - Size
Conditional Operator
30. A symbol that specifies an operation to be performed on one or more variables.
Conditional Operator
Operator
Syntax
Window.xaml.cs
31. count = count+1 or count++ or count__. Both count variables are Unary Operators
Internal Access Modifier
Sealed Class
ulong - Size
Incrementing / Decrementing Variables
32. System.Int16
Operator
Boolean - Size
short - .NET alias
Stack
33. System.Char
float - .NET alias
char - .NET alias
JITer
Internal Access Modifier
34. The process of hiding and restricting access to the implementation details of a data structure.
Equality Operator
Encapsulation
int - .NET alias
Namespace
35. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Syntax
DateTime
Abstract Class Modifier
long - .NET alias
36. System.Single
float - .NET alias
Class
Constructor
Keyword
37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Static Class
Reference Type
W.P.F
Method
38. 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.
Public Keyword
Abstract Method Modifier
Object
long - Size
39. The member type of a Class that performs an action.
JITer
Method
If Statement
Properties
40. System.UInt64
ulong - .NET alias
Class aka Type
Array
FCL
41. Text as Unicode characters
Int32 - Size
If Statement
String (or string)
JITer
42. System.Decimal
Textbox
decimal - .NET alias
String (or string)
Virtual Method Modifier
43. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Inheritance
Console Application
Value Type
44. Just-in-time compilation
ulong - Size
Variable (C# requirements)
JIT
Float (or float) - Size
45. 32 bit single precision floating point data
Float (or float) - Size
decimal - .NET alias
Partial Method Modifier
Relational Operator
46. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Constant
Method
Console Application
Class
47. 8 bit - unsigned byte (0 - 255)
Inheritance
byte - Size
Operator
Identifiers
48. 8 bit - signed byte (-128 - 127)
sbyte - Size
Base Class
Method
Inheritance
49. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Int64 - Size
JIT
using
JITer
50. 64 bit double precision floating point data
short - .NET alias
Double (or double) - Size
CLR
Data structures