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. (< or > or <= or >=)
Relational Operator
ushort - .NET alias
short - Size
Encapsulation
2. Container for one or more Visual Studio Projects.
char - .NET alias
Visual Studio Solution
short - .NET alias
Console Application
3. Represents date and time data with a 100 ns resolution
While Statement
char - Size
Array
DateTime
4. System.Byte
References (Visual Studio Solution
byte - .NET alias
long - Size
Namespace
5. The process of hiding and restricting access to the implementation details of a data structure.
Constant
Encapsulation
Field
Just-in-time (JIT
6. The member type of a Class that performs an action.
While Statement
Method
Internal Access Modifier
Variable (C# requirements)
7. Represents the encapsulation of data and behaviors into a single unit.
double - .NET alias
Class
Dot Notation
Private Access Modifier
8. The lowest level or fundamental data types needed for representing data.
Expression
Array
Derived Class
Primitive Type
9. System.Int16
Identifiers
short - .NET alias
long - .NET alias
Sealed Class
10. 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
uint - .NET alias
W.P.F
Object
Class
11. Symbols which transform and combine expressions
Abstract Class Modifier
Operator
Console Application
Boolean Operator
12. Just-in-time compilation
Boolean Operator
Console Application
JIT
Relational Operator
13. When a sub class passes down all the behaviours of the original parent class
Inheritance
Field
Namespace
Namespace
14. Access is limited to the current Assembly
If Statement
Just-in-time (JIT
float - .NET alias
Internal Access Modifier
15. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
JITer
Precedence
byte - Size
Strong Typing
16. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Field
int - .NET alias
Properties
Int64 - Size
17. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Properties
Private Access Modifier
Operator
18. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
References (Visual Studio Solution
Operator
Expression
Label
19. Allows the definition of a Class to span multiple files (within the same Project)
Virtual Method Modifier
Partial Class Modifier
Object
Primitive
20. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Properties
Decimal (or decimal) - Size
uint - .NET alias
Primitive
21. 16 bit - signed integer data (-32768 to 32767)
short - Size
Operator
Int32 - Size
Constant
22. Text as Unicode characters
String (or string)
Unary Operator
Heap
Static Member
23. An instance of a class that exists at run-time and is typically referenced via a variable name.
sbyte - .NET alias
Object
Static Member
ulong - Size
24. Command which runs repeatedly while (some) condition is true.
While Statement
Encapsulation
sbyte - .NET alias
Parameter aka Argument
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
int - Size
Float (or float) - Size
long - Size
26. System.Int64
Window.xaml.cs
JIT
long - .NET alias
Heap
27. Only requires one operand usually a count+1 or a count++ or a count--
While Statement
Operator
Namespace
Unary Operator
28. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Just-in-time (JIT
Value Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Stack
29. 8 bit - signed byte (-128 - 127)
Partial Class Modifier
int - .NET alias
long - .NET alias
sbyte - Size
30. System.Double
Assembly
Window.xaml.cs
double - .NET alias
Equality Operator
31. The process of compiling IL source into CPU-native code for execution.
Sealed Class
Console Application
Just-in-time (JIT
sbyte - Size
32. Compilation of classes. In C# Usually ends in .dll or .exe
Operator
Array
Assembly
References (Visual Studio Solution
33. Contains the class definitions that allow access to the functionality provided by .NET.
Dot Notation
Framework Class Library (FCL)
Virtual Method Modifier
Value Type
34. 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.
Comments
Encapsulation
Statement
Incrementing / Decrementing Variables
35. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Heap
Inheritance
Object
Framework Class Library (FCL)
36. A Class from which other classes can inherit characteristics.
Base Class
Derived Class
Data structures
byte - Size
37. Names reserved by the compiler that coders are not allowed to use as identifiers.
Class
Keyword
char - Size
Encapsulation
38. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
float - .NET alias
IDE
Data structures
Float (or float) - Size
39. A method that is called whenever an Object is created. The method uses the same name as the Class.
Heap
Constructor
Method
Object
40. Restricts access to a Member to the current Class.
sbyte - .NET alias
using
returnType methodName (parameterList)
Private Access Modifier
41. A symbol that specifies an operation to be performed on one or more variables.
Operator
Conditional Operator
Assembly
char - Size
42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
DateTime
Double (or double) - Size
Assembly
Identifiers
43. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Abstraction
Encapsulation
Object
44. 32 bit - unsigned integer data
Derived Class
Operator
Inheritance
uint - Size
45. 32 bit integer data
byte - .NET alias
Decimal (or decimal) - Size
int - Size
Encapsulation
46. Something that has a different number of parameters to it's predecessor
Variable (C# requirements)
Sealed Class
Overloaded Method
Primitive
47. true or false
Static Class
Constant
Namespace
bool - Size
48. Syntax of a C# Method
returnType methodName (parameterList)
While Statement
char - .NET alias
Encapsulation
49. Mathematical (+ or - or / or %)
Operator
Decimal (or decimal) - Size
r
Partial Method Modifier
50. Introduces a new class. Marked by curly brackets { }
Class Statement
Statement
Static Class
double - .NET alias