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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Conditional Operator
Precedence
Protected Access Modifier
Variable
2. Represents date and time data with a 100 ns resolution
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
DateTime
Partial Method Modifier
Constant
3. Variables defined by a class
Field
Operator
Operator
Intermediate Language (IL)
4. 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.
Statement
Int32 - Size
Variable
r
5. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
IDE
If Statement
Inheritance
6. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
long - Size
Strong Typing
Private Access Modifier
Method
7. System.Double
long - .NET alias
uint - .NET alias
double - .NET alias
Variable
8. The "Type" name of data that is stored on the Stack
Value Type
Identifiers
While Statement
Double (or double) - Size
9. 32 bit - unsigned integer data
Stack
FCL
Reference Type
uint - Size
10. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Dot Notation
If Statement
Operator
Variable
11. Something that has a different number of parameters to it's predecessor
Overloaded Method
Precedence
Class aka Type
Visual Studio Solution
12. System.UInt16
Class
DateTime
ushort - .NET alias
Method
13. System.SByte
Object
sbyte - .NET alias
Data structures
References (Visual Studio Solution
14. 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
Assembly
Heap
r
Operator
15. System.Decimal
While Statement
sbyte - .NET alias
Polymorphism
decimal - .NET alias
16. 64 bit integer data
char - .NET alias
Namespace
Sealed Class
long - Size
17. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Label
Operator
Inheritance
18. 64 bit - unsigned integer data
ulong - Size
decimal - .NET alias
Label
Parameter aka Argument
19. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
References (Visual Studio Solution
Inheritance
Public Keyword
20. 8 bit - unsigned byte (0 - 255)
Incrementing / Decrementing Variables
ushort - .NET alias
Syntax
byte - Size
21. A Class that cannot be Inherited
Heap
returnType methodName (parameterList)
Sealed Class
Unary Operator
22. A Class that can only have Static Members
Field
Decimal (or decimal) - Size
Static Class
Statement
23. A symbol that specifies an operation to be performed on one or more variables.
DateTime
Operator
Abstraction
uint - Size
24. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
char - .NET alias
Decimal (or decimal) - Size
IDE
25. Command which runs repeatedly while (some) condition is true.
Decimal (or decimal) - Size
While Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstract Method Modifier
26. 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.
Stack
Syntax
Operator
Properties
27. Contains the class definitions that allow access to the functionality provided by .NET.
Primitive
Statement
Framework Class Library (FCL)
Operator
28. A Member that cannot be accessed/invoked through an Object Instance.
Conditional Operator
Double (or double) - Size
Field
Static Member
29. Windows Presentation Foundation
Value Type
sbyte - .NET alias
W.P.F
r
30. A method that is called whenever an Object is created. The method uses the same name as the Class.
Namespace
Identifiers
Int64 - Size
Constructor
31. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Label
byte - Size
Class
32. Symbols which transform and combine expressions
Operator
Precedence
Static Class
decimal - .NET alias
33. The lowest level or fundamental data types needed for representing data.
byte - Size
Primitive Type
Primitive
Unary Operator
34. Allows the definition of a Class to span multiple files (within the same Project)
DateTime
double - .NET alias
JITer
Partial Class Modifier
35. Keyword which exposes members to other classes OR Identifier which makes program elements public
Conditional Operator
long - Size
Protected Access Modifier
Public Keyword
36. 32 bit single precision floating point data
Constructor
Precedence
using
Float (or float) - Size
37. 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
Class
Strong Typing
FCL
Dot Notation
38. 128 bit fixed precision (financial)
Int64 - Size
short - .NET alias
Relational Operator
Decimal (or decimal) - Size
39. Indicates that the Method can be overridden.
Partial Method Modifier
double - .NET alias
Virtual Method Modifier
uint - Size
40. When a sub class passes down all the behaviours of the original parent class
Expression
Object
Inheritance
Float (or float) - Size
41. Text as Unicode characters
Variable (C# requirements)
Polymorphism
String (or string)
Assembly
42. System.UInt64
Reference Type
Statement
decimal - .NET alias
ulong - .NET alias
43. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
csc.exe
Static Class
Statement
long - .NET alias
44. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Window.xaml.cs
Operator
Class aka Type
Data structures
45. 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.
Stack
Encapsulation
Variable (C# requirements)
sbyte - .NET alias
46. The member type of a Class that performs an action.
Polymorphism
Encapsulation
Inheritance
Method
47. System.Byte
char - Size
Class
ushort - Size
byte - .NET alias
48. Allow access to types that exist in outside assemblies.
Decimal (or decimal) - Size
Data structures
long - Size
References (Visual Studio Solution
49. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Encapsulation
Variable
Virtual Method Modifier
JITer
50. 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'.
ulong - .NET alias
Window.xaml.cs
Array
Textbox