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. 8 bit - unsigned byte (0 - 255)
Namespace
String (or string)
byte - Size
Partial Class Modifier
2. The .NET run-time environment that enables code to be compiled and executed.
Strong Typing
double - .NET alias
Common Language Runtime (CLR)
Precedence
3. count = count+1 or count++ or count__. Both count variables are Unary Operators
double - .NET alias
Encapsulation
ushort - .NET alias
Incrementing / Decrementing Variables
4. Most common kind of reference type. They define objects. They must have at least one method and one field.
JITer
CLR
Class aka Type
Parameter aka Argument
5. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
While Statement
Encapsulation
Primitive
Stack
6. 32 bit - unsigned integer data
Derived Class
Variable
uint - Size
Object
7. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Identifiers
ulong - Size
Inheritance
Operator
8. Groups classes together so that they have a unique identifier
Overloaded Method
Namespace
ulong - .NET alias
CLR
9. System.Int32
int - .NET alias
Private Access Modifier
long - .NET alias
Statement
10. A Member that cannot be accessed/invoked through an Object Instance.
Constant
ulong - .NET alias
Method
Static Member
11. Variables defined by a class
Polymorphism
Object
Primitive Type
Field
12. 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.
Expression
Partial Method Modifier
Public Keyword
Method
13. Sits behind GUI (Graphical User Interface) and provides event listeners
Internal Access Modifier
Abstract Method Modifier
Expression
Window.xaml.cs
14. A Class from which other classes can inherit characteristics.
Base Class
Framework Class Library (FCL)
Variable (C# requirements)
Decimal (or decimal) - Size
15. 16 bit- unsigned word (U+0000 to U+ffff)
Abstraction
Namespace
Object
char - Size
16. (= or += or -= or = or /=)
Polymorphism
returnType methodName (parameterList)
Relational Operator
Assignment Operator
17. Compilation of classes. In C# Usually ends in .dll or .exe
W.P.F
Statement
Assembly
Internal Access Modifier
18. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
short - .NET alias
csc.exe
Stack
Heap
19. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
IDE
Class
Virtual Method Modifier
Console Application
20. System.UInt32
Operator
uint - .NET alias
Variable
Intermediate Language (IL)
21. 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)
Precedence
ushort - Size
Inheritance
Boolean Operator
22. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Window.xaml.cs
Intermediate Language (IL)
If Statement
Encapsulation
23. A Class that cannot be Inherited
Public Keyword
Expression
Virtual Method Modifier
Sealed Class
24. Mathematical (+ or - or / or %)
sbyte - Size
Data structures
byte - Size
Operator
25. Code which implements GUI (graphical User Interface).
Keyword
Conditional Operator
Inheritance
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. (== or !=)
returnType methodName (parameterList)
using
byte - Size
Equality Operator
27. Represents date and time data with a 100 ns resolution
JITer
Variable
DateTime
uint - Size
28. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Reference Type
sbyte - Size
W.P.F
29. System.SByte
Assignment Operator
Int64 - Size
sbyte - .NET alias
Assembly
30. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
ulong - Size
short - .NET alias
csc.exe
References (Visual Studio Solution
31. System.Byte
Unary Operator
Value Type
byte - .NET alias
Relational Operator
32. Text as Unicode characters
ushort - Size
Dot Notation
short - Size
String (or string)
33. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
While Statement
IDE
char - .NET alias
34. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Constant
Precedence
Program
r
35. Integrated Development Environment
FCL
Int32 - Size
IDE
Assignment Operator
36. 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.
Operator
Inheritance
Encapsulation
Expression
37. The "Type" name of data that is stored on the Stack
Decimal (or decimal) - Size
Label
Value Type
Partial Method Modifier
38. 64 bit integer data
Reference Type
Int64 - Size
Abstraction
uint - .NET alias
39. A Class that can only have Static Members
byte - .NET alias
Static Class
Double (or double) - Size
Private Access Modifier
40. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
W.P.F
Variable
Namespace
sbyte - .NET alias
41. Access is limited to the current Assembly
Internal Access Modifier
Statement
char - .NET alias
Inheritance
42. Contains the class definitions that allow access to the functionality provided by .NET.
ushort - .NET alias
Variable
Framework Class Library (FCL)
Partial Method Modifier
43. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Intermediate Language (IL)
Comments
double - .NET alias
Object
44. Symbols which transform and combine expressions
Abstract Method Modifier
Operator
Textbox
IDE
45. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Constant
If Statement
Statement
Assembly
46. The lowest level or fundamental data types needed for representing data.
Encapsulation
Primitive Type
Just-in-time (JIT
JIT
47. The "Type" name of data that is stored on the Heap
Namespace
Class aka Type
Reference Type
Precedence
48. (&& or || or & or |)
If Statement
int - .NET alias
ulong - Size
Conditional Operator
49. 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
Statement
Object
Namespace
Assignment Operator
50. Used to display text that end user does not need to edit.
Keyword
Primitive Type
byte - Size
Label