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. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
sbyte - Size
double - .NET alias
Int64 - Size
2. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Overloaded Method
byte - Size
If Statement
Constructor
3. Text as Unicode characters
Intermediate Language (IL)
Boolean Operator
String (or string)
Polymorphism
4. Names reserved by the compiler that coders are not allowed to use as identifiers.
Encapsulation
long - .NET alias
Conditional Operator
Keyword
5. Something that has a different number of parameters to it's predecessor
Object
Inheritance
short - Size
Overloaded Method
6. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
r
Inheritance
Parameter aka Argument
Relational Operator
7. Must have a data type
While Statement
Polymorphism
Protected Access Modifier
Variable (C# requirements)
8. (== or !=)
Private Access Modifier
If Statement
Primitive
Equality Operator
9. 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
Variable
Namespace
Incrementing / Decrementing Variables
10. When a sub class passes down all the behaviours of the original parent class
Abstraction
Inheritance
r
byte - .NET alias
11. System.Byte
uint - .NET alias
W.P.F
byte - .NET alias
Class aka Type
12. 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.
Method
Partial Method Modifier
Operator
Encapsulation
13. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Internal Access Modifier
Data structures
Inheritance
14. System.Decimal
decimal - .NET alias
Inheritance
Boolean Operator
Strong Typing
15. System.Single
ulong - .NET alias
char - .NET alias
float - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
16. System.UInt16
ushort - .NET alias
Namespace
ushort - Size
r
17. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Data structures
Inheritance
byte - Size
18. A Class from which other classes can inherit characteristics.
Decimal (or decimal) - Size
Base Class
Data structures
Class aka Type
19. Symbols which transform and combine expressions
Operator
JIT
Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
20. Windows Presentation Foundation
Statement
W.P.F
CLR
JITer
21. Syntax of a C# Method
returnType methodName (parameterList)
Constant
Partial Class Modifier
short - .NET alias
22. 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
Heap
Method
Namespace
Window.xaml.cs
23. true or false
JIT
Namespace
bool - Size
Overloaded Method
24. Access is limited to the current Assembly
CLR
Decimal (or decimal) - Size
Virtual Method Modifier
Internal Access Modifier
25. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Inheritance
Intermediate Language (IL)
Decimal (or decimal) - Size
Expression
26. Command Language Runtime
CLR
Abstract Class Modifier
byte - Size
Partial Method Modifier
27. The "Type" name of data that is stored on the Stack
Variable
Value Type
C#
Method
28. System.SByte
sbyte - .NET alias
String (or string)
Method
Public Keyword
29. A Class that cannot be Inherited
returnType methodName (parameterList)
Conditional Operator
long - Size
Sealed Class
30. The lowest level or fundamental data types needed for representing data.
Unary Operator
Primitive Type
csc.exe
Program
31. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstraction
long - .NET alias
Common Language Runtime (CLR)
Abstract Class Modifier
32. A Class that cannot be instantiated.
JIT
Field
Comments
Static Class
33. 32 bit integer data
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Int32 - Size
long - .NET alias
Variable
34. 64 bit - unsigned integer data
char - Size
Class aka Type
ulong - Size
Abstraction
35. The .NET run-time environment that enables code to be compiled and executed.
Comments
Common Language Runtime (CLR)
short - Size
Variable (C# requirements)
36. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Assembly
Inheritance
int - .NET alias
Namespace
37. 8 bit - signed byte (-128 - 127)
sbyte - Size
Abstraction
CLR
Decimal (or decimal) - Size
38. 64 bit double precision floating point data
Double (or double) - Size
Relational Operator
Identifiers
Reference Type
39. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Private Access Modifier
Overloaded Method
Method
Precedence
40. System.Int64
Method
W.P.F
Protected Internal Access Modifier
long - .NET alias
41. (= or += or -= or = or /=)
Assignment Operator
Abstraction
Encapsulation
Syntax
42. Sits behind GUI (Graphical User Interface) and provides event listeners
Operator
Polymorphism
Window.xaml.cs
csc.exe
43. 16 bit - unsigned integer data (0 to 65535)
Static Class
long - Size
byte - Size
ushort - Size
44. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Comments
Inheritance
Abstraction
45. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Abstract Class Modifier
Textbox
Int32 - Size
Object
46. A Class that can only have Static Members
Virtual Method Modifier
Static Class
decimal - .NET alias
Encapsulation
47. 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.
Dot Notation
Object
Abstract Method Modifier
Encapsulation
48. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
JITer
Value Type
Data structures
Partial Class Modifier
49. The member type of a Class that performs an action.
Just-in-time (JIT
using
Method
Identifiers
50. Series of instructions which tell a computer what to do.
Program
Equality Operator
W.P.F
Window.xaml.cs