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.Double
Stack
double - .NET alias
Static Member
Object
2. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
uint - .NET alias
Data structures
Protected Internal Access Modifier
sbyte - .NET alias
3. Windows Presentation Foundation
Float (or float) - Size
Virtual Method Modifier
W.P.F
JITer
4. Indicates that the Method can be overridden.
Method
Protected Access Modifier
Virtual Method Modifier
Expression
5. true or false
Assignment Operator
Conditional Operator
bool - Size
Base Class
6. 16 bit - unsigned integer data (0 to 65535)
Static Member
ushort - Size
Inheritance
Statement
7. The "Type" name of data that is stored on the Heap
Decimal (or decimal) - Size
Reference Type
Boolean Operator
Data structures
8. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Static Class
Class
Console Application
byte - .NET alias
9. Restricts access to a Member to the current Class and any Derived Class.
Strong Typing
Abstract Method Modifier
Protected Access Modifier
Class
10. An instance of a class that exists at run-time and is typically referenced via a variable name.
Sealed Class
Object
Console Application
uint - Size
11. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Expression
Comments
Strong Typing
Static Member
12. Something that has a different number of parameters to it's predecessor
Equality Operator
Overloaded Method
Properties
float - .NET alias
13. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Statement
Decimal (or decimal) - Size
long - Size
14. (= or += or -= or = or /=)
csc.exe
Constructor
Boolean - Size
Assignment Operator
15. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Sealed Class
char - .NET alias
Inheritance
16. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
sbyte - Size
Strong Typing
Constant
17. Extra information within a method
Parameter aka Argument
Class aka Type
Inheritance
Constant
18. A Class that inherits characteristics from another Class.
ulong - Size
Derived Class
While Statement
Incrementing / Decrementing Variables
19. System.Byte
Public Keyword
Dot Notation
Statement
byte - .NET alias
20. 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
Framework Class Library (FCL)
long - .NET alias
int - Size
21. Restricts access to a Member to the current Class.
JIT
Precedence
Class
Private Access Modifier
22. Access is limited to the current Assembly
Window.xaml.cs
Internal Access Modifier
Derived Class
Private Access Modifier
23. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
FCL
Operator
Syntax
Assembly
24. Must have a data type
Parameter aka Argument
Double (or double) - Size
Variable (C# requirements)
Encapsulation
25. Just-in-time compilation
JIT
Operator
Assignment Operator
Window.xaml.cs
26. A Member that cannot be accessed/invoked through an Object Instance.
NET
Sealed Class
Reference Type
Static Member
27. (&& or || or & or |)
Just-in-time (JIT
Conditional Operator
ulong - Size
Class Statement
28. Framework Class Library
Expression
FCL
Unary Operator
byte - Size
29. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Field
Int32 - Size
Array
30. Compilation of classes. In C# Usually ends in .dll or .exe
Class
Assembly
Precedence
Properties
31. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Abstract Method Modifier
Private Access Modifier
Method
Incrementing / Decrementing Variables
32. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
W.P.F
long - Size
int - Size
Inheritance
33. Code which signifies a carriage return. Symbolises a new line in a text box.
char - Size
r
Statement
Heap
34. When a sub class passes down all the behaviours of the original parent class
Inheritance
Method
C#
Base Class
35. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Precedence
double - .NET alias
Unary Operator
36. Container for one or more Visual Studio Projects.
Internal Access Modifier
Visual Studio Solution
References (Visual Studio Solution
Protected Access Modifier
37. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Incrementing / Decrementing Variables
Intermediate Language (IL)
Visual Studio Solution
sbyte - Size
38. Text as Unicode characters
Abstract Method Modifier
String (or string)
Class Statement
Program
39. System.UInt64
C#
long - .NET alias
Int64 - Size
ulong - .NET alias
40. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Protected Internal Access Modifier
Virtual Method Modifier
Static Class
41. Integrated Development Environment
Operator
Namespace
Abstraction
IDE
42. 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
Encapsulation
Heap
Method
Partial Method Modifier
43. Contains the class definitions that allow access to the functionality provided by .NET.
int - Size
Virtual Method Modifier
Framework Class Library (FCL)
Label
44. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
FCL
Incrementing / Decrementing Variables
Internal Access Modifier
45. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Class
ulong - .NET alias
Class aka Type
csc.exe
46. (== or !=)
Equality Operator
Class aka Type
Statement
Syntax
47. Command Language Runtime
long - Size
Console Application
Primitive
CLR
48. Introduces a new class. Marked by curly brackets { }
Incrementing / Decrementing Variables
ulong - .NET alias
Internal Access Modifier
Class Statement
49. Mathematical (+ or - or / or %)
Unary Operator
IDE
Equality Operator
Operator
50. 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.
W.P.F
Abstract Method Modifier
Window.xaml.cs
Just-in-time (JIT