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. 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
Decimal (or decimal) - Size
JITer
Object
FCL
2. 8 bit - signed byte (-128 - 127)
Precedence
Expression
sbyte - Size
FCL
3. 32 bit integer data
Abstract Class Modifier
Encapsulation
short - .NET alias
Int32 - Size
4. Most common kind of reference type. They define objects. They must have at least one method and one field.
ushort - .NET alias
Abstract Class Modifier
IDE
Class aka Type
5. 32 bit single precision floating point data
long - .NET alias
Protected Internal Access Modifier
Unary Operator
Float (or float) - Size
6. 128 bit fixed precision (financial)
Object
Label
Strong Typing
Decimal (or decimal) - Size
7. Compilation of classes. In C# Usually ends in .dll or .exe
Data structures
Inheritance
Decimal (or decimal) - Size
Assembly
8. System.Byte
Syntax
ulong - .NET alias
byte - .NET alias
Reference Type
9. System.Int16
Operator
int - .NET alias
short - .NET alias
returnType methodName (parameterList)
10. 64 bit integer data
Array
Abstract Method Modifier
r
Int64 - Size
11. Container for one or more Visual Studio Projects.
Visual Studio Solution
byte - .NET alias
Relational Operator
Object
12. 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'.
Method
Textbox
Common Language Runtime (CLR)
Abstraction
13. 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)
ushort - Size
Assignment Operator
ushort - .NET alias
Boolean Operator
14. Code which implements GUI (graphical User Interface).
FCL
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
Constant
15. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
byte - .NET alias
Strong Typing
Just-in-time (JIT
Dot Notation
16. When a sub class passes down all the behaviours of the original parent class
Inheritance
Assignment Operator
Partial Class Modifier
decimal - .NET alias
17. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Field
Console Application
Inheritance
Intermediate Language (IL)
18. System.Int32
Label
Incrementing / Decrementing Variables
int - .NET alias
Partial Method Modifier
19. Introduces a new class. Marked by curly brackets { }
byte - Size
Class Statement
Boolean Operator
Float (or float) - Size
20. System.UInt32
Abstraction
uint - .NET alias
ushort - .NET alias
Inheritance
21. Mathematical (+ or - or / or %)
Encapsulation
Inheritance
DateTime
Operator
22. (== or !=)
Double (or double) - Size
Equality Operator
ulong - .NET alias
Overloaded Method
23. The member type of a Class that performs an action.
Assembly
Method
W.P.F
Namespace
24. 64 bit integer data
Expression
Heap
long - Size
ulong - .NET alias
25. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
uint - Size
double - .NET alias
Heap
26. Sits behind GUI (Graphical User Interface) and provides event listeners
double - .NET alias
Window.xaml.cs
Expression
JITer
27. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Virtual Method Modifier
Data structures
Namespace
Object
28. 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
Protected Internal Access Modifier
Intermediate Language (IL)
Equality Operator
29. Windows Presentation Foundation
Namespace
If Statement
r
W.P.F
30. Framework Class Library
ulong - Size
Statement
FCL
Abstract Class Modifier
31. Command which runs repeatedly while (some) condition is true.
While Statement
Derived Class
sbyte - .NET alias
DateTime
32. 16 bit - signed integer data (-32768 to 32767)
Operator
Int32 - Size
short - Size
Variable
33. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Virtual Method Modifier
long - Size
Precedence
34. The .NET run-time environment that enables code to be compiled and executed.
Float (or float) - Size
Common Language Runtime (CLR)
Method
Heap
35. 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
C#
char - .NET alias
Heap
ulong - .NET alias
36. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Overloaded Method
W.P.F
Partial Method Modifier
37. 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.
Encapsulation
Strong Typing
bool - Size
Identifiers
38. System.Decimal
decimal - .NET alias
CLR
ushort - Size
JITer
39. true or false
Int32 - Size
Boolean - Size
Syntax
Program
40. 32 bit integer data
Expression
int - Size
Statement
If Statement
41. true or false
bool - Size
Protected Access Modifier
Partial Class Modifier
Assembly
42. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Assembly
Properties
float - .NET alias
43. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Reference Type
Unary Operator
Variable
Boolean - Size
44. A method that is called whenever an Object is created. The method uses the same name as the Class.
Unary Operator
Static Class
Label
Constructor
45. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
char - Size
Parameter aka Argument
Abstract Method Modifier
Abstraction
46. A Class that cannot be Inherited
Encapsulation
Sealed Class
Syntax
JITer
47. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
char - Size
Inheritance
Relational Operator
Assembly
48. A Class from which other classes can inherit characteristics.
Static Class
Window.xaml.cs
Public Keyword
Base Class
49. Command Language Runtime
Statement
sbyte - Size
CLR
ushort - .NET alias
50. Field whose value can never change. Declared with 'const' keyword
Encapsulation
JITer
Constant
Unary Operator