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. 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.
Just-in-time (JIT
long - .NET alias
Syntax
Protected Internal Access Modifier
2. Most common kind of reference type. They define objects. They must have at least one method and one field.
short - Size
Internal Access Modifier
Class aka Type
Value Type
3. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Statement
CLR
Variable
Keyword
4. System.UInt64
Virtual Method Modifier
char - Size
Expression
ulong - .NET alias
5. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Inheritance
csc.exe
Method
sbyte - .NET alias
6. 32 bit single precision floating point data
Internal Access Modifier
W.P.F
Float (or float) - Size
Static Member
7. The "Type" name of data that is stored on the Heap
Abstract Method Modifier
Reference Type
Heap
int - Size
8. The lowest level or fundamental data types needed for representing data.
Inheritance
Int64 - Size
Primitive Type
Abstract Class Modifier
9. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Decimal (or decimal) - Size
Array
Strong Typing
Protected Internal Access Modifier
10. Field whose value can never change. Declared with 'const' keyword
Expression
Constant
Class aka Type
bool - Size
11. Series of instructions which tell a computer what to do.
Overloaded Method
sbyte - Size
Array
Program
12. Framework Class Library
FCL
Class
Statement
Sealed Class
13. Command Language Runtime
Conditional Operator
Reference Type
Just-in-time (JIT
CLR
14. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Primitive Type
csc.exe
Relational Operator
Statement
15. A Member that cannot be accessed/invoked through an Object Instance.
Syntax
Static Member
Abstract Class Modifier
Derived Class
16. Names reserved by the compiler that coders are not allowed to use as identifiers.
char - .NET alias
Keyword
char - Size
Just-in-time (JIT
17. When a sub class passes down all the behaviours of the original parent class
Primitive
Unary Operator
Protected Internal Access Modifier
Inheritance
18. Something that has a different number of parameters to it's predecessor
Assembly
Properties
Overloaded Method
Statement
19. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
int - Size
Primitive
Program
Field
20. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Double (or double) - Size
Operator
Common Language Runtime (CLR)
21. 8 bit - unsigned byte (0 - 255)
Public Keyword
Virtual Method Modifier
byte - Size
Array
22. 32 bit integer data
sbyte - .NET alias
Window.xaml.cs
JIT
int - Size
23. Compilation of classes. In C# Usually ends in .dll or .exe
r
sbyte - .NET alias
Int32 - Size
Assembly
24. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Double (or double) - Size
Value Type
Data structures
Inheritance
25. 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.
Identifiers
Static Member
decimal - .NET alias
DateTime
26. A symbol that specifies an operation to be performed on one or more variables.
Common Language Runtime (CLR)
Operator
Overloaded Method
Variable
27. An instance of a class that exists at run-time and is typically referenced via a variable name.
Public Keyword
Sealed Class
Static Class
Object
28. Text as Unicode characters
JITer
Private Access Modifier
String (or string)
References (Visual Studio Solution
29. System.Int64
Properties
Program
Class
long - .NET alias
30. 16 bit - unsigned integer data (0 to 65535)
Sealed Class
JIT
ushort - Size
Statement
31. 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
sbyte - .NET alias
Parameter aka Argument
FCL
Heap
32. Must have a data type
Window.xaml.cs
decimal - .NET alias
Incrementing / Decrementing Variables
Variable (C# requirements)
33. Symbols which transform and combine expressions
Array
Expression
Program
Operator
34. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Class
Properties
int - Size
35. A Class from which other classes can inherit characteristics.
ulong - .NET alias
Base Class
Encapsulation
Class Statement
36. 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.
Object
Program
Partial Method Modifier
Window.xaml.cs
37. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Assembly
char - .NET alias
Abstraction
Protected Access Modifier
38. Just-in-time compilation
Window.xaml.cs
returnType methodName (parameterList)
Sealed Class
JIT
39. System.SByte
Statement
sbyte - .NET alias
byte - .NET alias
Equality Operator
40. Mathematical (+ or - or / or %)
Object
String (or string)
Operator
Common Language Runtime (CLR)
41. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Stack
Window.xaml.cs
Abstract Class Modifier
Program
42. 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.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstract Method Modifier
byte - Size
Assignment Operator
43. Access is limited to the current Assembly
Internal Access Modifier
Value Type
Variable
Namespace
44. Code which implements GUI (graphical User Interface).
Int32 - Size
Data structures
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ushort - .NET alias
45. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Partial Class Modifier
Syntax
Namespace
Program
46. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Incrementing / Decrementing Variables
Assignment Operator
FCL
47. 32 bit integer data
short - Size
Int32 - Size
sbyte - Size
Precedence
48. Only requires one operand usually a count+1 or a count++ or a count--
csc.exe
Unary Operator
Dot Notation
Properties
49. 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
Polymorphism
Method
Double (or double) - Size
Dot Notation
50. Represents date and time data with a 100 ns resolution
W.P.F
DateTime
FCL
Static Member