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
sbyte - .NET alias
ulong - .NET alias
Inheritance
Equality Operator
2. Most common kind of reference type. They define objects. They must have at least one method and one field.
IDE
Heap
DateTime
Class aka Type
3. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
While Statement
References (Visual Studio Solution
Window.xaml.cs
Expression
4. The process of hiding and restricting access to the implementation details of a data structure.
Partial Class Modifier
short - .NET alias
Encapsulation
Assignment Operator
5. Variables defined by a class
Framework Class Library (FCL)
Field
char - Size
DateTime
6. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
byte - Size
Conditional Operator
Data structures
7. Command Language Runtime
CLR
Variable
Sealed Class
ushort - Size
8. A Class from which other classes can inherit characteristics.
long - Size
Class aka Type
Base Class
Static Class
9. 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
bool - Size
byte - Size
Assembly
10. true or false
bool - Size
Decimal (or decimal) - Size
uint - .NET alias
Comments
11. 32 bit - unsigned integer data
uint - Size
Float (or float) - Size
Parameter aka Argument
Partial Class Modifier
12. System.UInt16
JITer
While Statement
ushort - .NET alias
Int64 - Size
13. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
String (or string)
Class aka Type
r
14. 8 bit - unsigned byte (0 - 255)
Assignment Operator
Common Language Runtime (CLR)
FCL
byte - Size
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.
JIT
Polymorphism
r
Abstraction
16. 32 bit integer data
While Statement
Private Access Modifier
Inheritance
Int32 - Size
17. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
JIT
Textbox
Precedence
Syntax
18. System.UInt64
Boolean Operator
Int64 - Size
byte - .NET alias
ulong - .NET alias
19. Keyword which exposes members to other classes OR Identifier which makes program elements public
Double (or double) - Size
Public Keyword
Int32 - Size
Dot Notation
20. 64 bit integer data
byte - .NET alias
Sealed Class
Int64 - Size
bool - Size
21. Framework Class Library
Static Class
FCL
long - .NET alias
Abstract Class Modifier
22. Field whose value can never change. Declared with 'const' keyword
Heap
Constant
Array
int - .NET alias
23. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Expression
Comments
Namespace
Primitive Type
24. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Namespace
Statement
char - Size
Variable
25. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Int64 - Size
Array
Window.xaml.cs
Field
26. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Method
Strong Typing
Heap
27. 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
Reference Type
int - .NET alias
uint - .NET alias
28. Windows Presentation Foundation
Visual Studio Solution
Variable (C# requirements)
Array
W.P.F
29. The process of compiling IL source into CPU-native code for execution.
byte - Size
Unary Operator
Just-in-time (JIT
Window.xaml.cs
30. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
long - .NET alias
Inheritance
Statement
Syntax
31. Introduces a new class. Marked by curly brackets { }
ushort - Size
Class Statement
If Statement
Unary Operator
32. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
While Statement
Public Keyword
Stack
Framework Class Library (FCL)
33. 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.
Keyword
Syntax
Equality Operator
ulong - Size
34. System.Int64
Statement
returnType methodName (parameterList)
Conditional Operator
long - .NET alias
35. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
IDE
Abstract Method Modifier
Method
Heap
36. System.SByte
sbyte - .NET alias
uint - .NET alias
Encapsulation
Assignment Operator
37. 128 bit fixed precision (financial)
Encapsulation
Operator
Decimal (or decimal) - Size
Operator
38. 8 bit - signed byte (-128 - 127)
Inheritance
Equality Operator
sbyte - Size
Sealed Class
39. A Member that cannot be accessed/invoked through an Object Instance.
Comments
Static Member
Equality Operator
Intermediate Language (IL)
40. 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.
byte - .NET alias
Variable
Object
Identifiers
41. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Namespace
JITer
Syntax
Statement
42. A Class that cannot be instantiated.
char - Size
FCL
Conditional Operator
Static Class
43. Container for one or more Visual Studio Projects.
Visual Studio Solution
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
decimal - .NET alias
bool - Size
44. A symbol that specifies an operation to be performed on one or more variables.
Public Keyword
float - .NET alias
short - Size
Operator
45. Symbols which transform and combine expressions
Operator
Variable
Keyword
JIT
46. A Class that cannot be Inherited
Sealed Class
Data structures
Inheritance
Boolean Operator
47. 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.
Encapsulation
Overloaded Method
int - Size
Unary Operator
48. Mathematical (+ or - or / or %)
Heap
Unary Operator
Operator
Dot Notation
49. 32 bit single precision floating point data
Inheritance
Comments
Float (or float) - Size
Static Class
50. true or false
Operator
Class Statement
Boolean - Size
Double (or double) - Size