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. A Class that can only have Static Members
Relational Operator
Static Class
Partial Class Modifier
Label
2. System.UInt32
Object
returnType methodName (parameterList)
uint - .NET alias
Overloaded Method
3. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
FCL
Boolean - Size
Common Language Runtime (CLR)
Polymorphism
4. Must have a data type
Variable (C# requirements)
double - .NET alias
Constant
Encapsulation
5. Sits behind GUI (Graphical User Interface) and provides event listeners
Framework Class Library (FCL)
Assignment Operator
Window.xaml.cs
Parameter aka Argument
6. Access is limited to the current Assembly and Derived Types
Partial Method Modifier
double - .NET alias
Abstraction
Protected Internal Access Modifier
7. Field whose value can never change. Declared with 'const' keyword
Console Application
Constant
Incrementing / Decrementing Variables
Static Class
8. System.SByte
sbyte - .NET alias
Class aka Type
Constant
FCL
9. Used to display text that end user does not need to edit.
Constant
Class Statement
Label
ulong - Size
10. 32 bit single precision floating point data
Encapsulation
Float (or float) - Size
Method
Label
11. Command Language Runtime
Constant
CLR
sbyte - Size
Assignment Operator
12. A type of statement that produces a value that might be tested or assigned to a variable.
ulong - .NET alias
Label
Expression
Namespace
13. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Common Language Runtime (CLR)
uint - .NET alias
Precedence
Abstract Class Modifier
14. 16 bit - signed integer data (-32768 to 32767)
short - Size
Equality Operator
Protected Internal Access Modifier
JIT
15. Only requires one operand usually a count+1 or a count++ or a count--
Equality Operator
Method
Unary Operator
String (or string)
16. 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
Keyword
Static Member
Visual Studio Solution
17. A Class from which other classes can inherit characteristics.
Framework Class Library (FCL)
Base Class
ushort - .NET alias
Value Type
18. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Virtual Method Modifier
Protected Access Modifier
int - .NET alias
19. 64 bit - unsigned integer data
ulong - Size
String (or string)
Common Language Runtime (CLR)
Object
20. 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.
Object
Private Access Modifier
Variable
Reference Type
21. System.Double
Variable
JIT
double - .NET alias
Primitive Type
22. A Member that cannot be accessed/invoked through an Object Instance.
csc.exe
Static Member
byte - Size
Variable
23. System.UInt64
Syntax
float - .NET alias
Unary Operator
ulong - .NET alias
24. Windows Presentation Foundation
Float (or float) - Size
W.P.F
While Statement
Program
25. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Incrementing / Decrementing Variables
Object
Private Access Modifier
Inheritance
26. 32 bit integer data
int - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
uint - Size
Properties
27. 16 bit - unsigned integer data (0 to 65535)
Console Application
JIT
ushort - Size
References (Visual Studio Solution
28. 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'.
Inheritance
References (Visual Studio Solution
Object
Textbox
29. 8 bit - unsigned byte (0 - 255)
Namespace
byte - Size
Virtual Method Modifier
Intermediate Language (IL)
30. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Inheritance
short - .NET alias
Console Application
31. 32 bit - unsigned integer data
Parameter aka Argument
Static Member
While Statement
uint - Size
32. Syntax of a C# Method
CLR
Primitive Type
W.P.F
returnType methodName (parameterList)
33. System.Int32
Protected Access Modifier
Label
Incrementing / Decrementing Variables
int - .NET alias
34. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Encapsulation
Abstraction
bool - Size
Precedence
35. Container for one or more Visual Studio Projects.
Visual Studio Solution
Class aka Type
Incrementing / Decrementing Variables
csc.exe
36. 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
FCL
Dot Notation
Assembly
Conditional Operator
37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Value Type
Method
References (Visual Studio Solution
Class aka Type
38. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Assignment Operator
byte - Size
csc.exe
Properties
39. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Relational Operator
Int64 - Size
Overloaded Method
40. A method that is called whenever an Object is created. The method uses the same name as the Class.
double - .NET alias
Constructor
Window.xaml.cs
If Statement
41. The lowest level or fundamental data types needed for representing data.
Primitive Type
Reference Type
Textbox
JITer
42. count = count+1 or count++ or count__. Both count variables are Unary Operators
Boolean - Size
Identifiers
Expression
Incrementing / Decrementing Variables
43. Keyword which exposes members to other classes OR Identifier which makes program elements public
Expression
char - .NET alias
Assembly
Public Keyword
44. A Class that cannot be instantiated.
Abstract Class Modifier
Parameter aka Argument
Common Language Runtime (CLR)
Static Class
45. Series of instructions which tell a computer what to do.
Program
If Statement
Decimal (or decimal) - Size
Static Class
46. 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
Partial Method Modifier
Static Class
Properties
47. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Stack
Statement
Variable (C# requirements)
48. Text as Unicode characters
Int64 - Size
String (or string)
FCL
Assembly
49. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
DateTime
Dot Notation
Expression
Variable
50. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Private Access Modifier
double - .NET alias
Textbox