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. System.UInt32
uint - .NET alias
Operator
Operator
FCL
2. 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.
Partial Method Modifier
Boolean - Size
Statement
ulong - Size
3. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
DateTime
Array
Inheritance
Comments
4. Restricts access to a Member to the current Class and any Derived Class.
Variable
Protected Access Modifier
Precedence
JITer
5. 32 bit integer data
int - Size
Int64 - Size
Object
References (Visual Studio Solution
6. true or false
Unary Operator
Syntax
Assembly
Boolean - Size
7. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Abstract Class Modifier
byte - Size
Namespace
8. The member type of a Class that performs an action.
Abstract Class Modifier
Variable
Method
Comments
9. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Assembly
Stack
float - .NET alias
Inheritance
10. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Float (or float) - Size
Program
While Statement
11. (< or > or <= or >=)
Heap
Boolean - Size
Int32 - Size
Relational Operator
12. System.SByte
Overloaded Method
Namespace
sbyte - .NET alias
csc.exe
13. Allows the definition of a Class to span multiple files (within the same Project)
short - .NET alias
Partial Class Modifier
Int64 - Size
Incrementing / Decrementing Variables
14. count = count+1 or count++ or count__. Both count variables are Unary Operators
Class Statement
Field
Incrementing / Decrementing Variables
short - Size
15. 8 bit - unsigned byte (0 - 255)
Variable
Properties
byte - Size
Sealed Class
16. Integrated Development Environment
Heap
Dot Notation
Data structures
IDE
17. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Namespace
Properties
Primitive Type
ulong - .NET alias
18. System.Single
Static Class
float - .NET alias
Parameter aka Argument
Float (or float) - Size
19. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Virtual Method Modifier
DateTime
Assembly
Intermediate Language (IL)
20. An instance of a class that exists at run-time and is typically referenced via a variable name.
While Statement
ushort - .NET alias
Object
int - Size
21. Mathematical (+ or - or / or %)
Inheritance
Operator
Object
Abstract Method Modifier
22. Keyword which exposes members to other classes OR Identifier which makes program elements public
ulong - .NET alias
Public Keyword
float - .NET alias
Assembly
23. 32 bit single precision floating point data
While Statement
Float (or float) - Size
W.P.F
Textbox
24. System.UInt16
Reference Type
DateTime
JITer
ushort - .NET alias
25. 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
Heap
Relational Operator
Encapsulation
Namespace
26. When a sub class passes down all the behaviours of the original parent class
Inheritance
long - .NET alias
short - Size
Just-in-time (JIT
27. The "Type" name of data that is stored on the Stack
Strong Typing
IDE
Value Type
Assembly
28. Compilation of classes. In C# Usually ends in .dll or .exe
Operator
Assembly
Protected Access Modifier
long - .NET alias
29. 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.
Syntax
Variable
Parameter aka Argument
Strong Typing
30. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
char - .NET alias
Precedence
Keyword
ulong - .NET alias
31. Used to display text that end user does not need to edit.
Comments
Base Class
Label
JITer
32. Just-in-time compilation
sbyte - Size
r
Namespace
JIT
33. 128 bit fixed precision (financial)
Protected Access Modifier
Relational Operator
Decimal (or decimal) - Size
Abstraction
34. Symbols which transform and combine expressions
Primitive Type
Operator
Sealed Class
r
35. System.UInt64
Operator
ulong - .NET alias
Conditional Operator
Syntax
36. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
decimal - .NET alias
uint - Size
Polymorphism
csc.exe
37. 64 bit - unsigned integer data
Identifiers
Method
ulong - Size
double - .NET alias
38. Introduces a new class. Marked by curly brackets { }
Double (or double) - Size
using
Class Statement
sbyte - .NET alias
39. System.Decimal
Variable (C# requirements)
decimal - .NET alias
DateTime
Boolean - Size
40. System.Int64
Stack
Assignment Operator
long - .NET alias
Operator
41. 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.
Method
Identifiers
double - .NET alias
FCL
42. Sits behind GUI (Graphical User Interface) and provides event listeners
Dot Notation
Just-in-time (JIT
ulong - .NET alias
Window.xaml.cs
43. System.Int32
int - .NET alias
Constructor
W.P.F
Heap
44. System.Byte
byte - .NET alias
Object
Base Class
r
45. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Conditional Operator
Abstract Class Modifier
Intermediate Language (IL)
Array
46. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Statement
Boolean Operator
Variable (C# requirements)
Data structures
47. Extra information within a method
Parameter aka Argument
Polymorphism
ulong - Size
r
48. 64 bit double precision floating point data
Namespace
Double (or double) - Size
long - Size
Encapsulation
49. Variables defined by a class
String (or string)
DateTime
Constructor
Field
50. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
sbyte - Size
Inheritance
Partial Method Modifier