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. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Constructor
Namespace
While Statement
Public Keyword
2. Used to display text that end user does not need to edit.
char - Size
Protected Access Modifier
Polymorphism
Label
3. The process of compiling IL source into CPU-native code for execution.
If Statement
Just-in-time (JIT
Constructor
Assembly
4. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Identifiers
Abstract Class Modifier
DateTime
Boolean Operator
5. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Parameter aka Argument
r
Heap
6. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Method
Class aka Type
Assembly
7. Windows Presentation Foundation
Abstract Class Modifier
W.P.F
Unary Operator
Identifiers
8. (&& or || or & or |)
Virtual Method Modifier
long - Size
Conditional Operator
String (or string)
9. Command Language Runtime
String (or string)
Precedence
CLR
csc.exe
10. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Variable (C# requirements)
Protected Access Modifier
uint - Size
11. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Reference Type
Statement
sbyte - .NET alias
12. Series of instructions which tell a computer what to do.
Constant
ushort - .NET alias
Program
Constructor
13. The process of hiding and restricting access to the implementation details of a data structure.
Statement
Encapsulation
Window.xaml.cs
Operator
14. true or false
int - Size
bool - Size
decimal - .NET alias
Boolean - Size
15. Something that has a different number of parameters to it's predecessor
Dot Notation
Overloaded Method
Expression
using
16. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
csc.exe
Dot Notation
Data structures
17. Only requires one operand usually a count+1 or a count++ or a count--
r
Unary Operator
References (Visual Studio Solution
Parameter aka Argument
18. 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
Partial Method Modifier
Heap
Static Member
Precedence
19. 32 bit integer data
int - Size
JIT
IDE
Class Statement
20. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Textbox
double - .NET alias
Decimal (or decimal) - Size
Method
21. 16 bit - signed integer data (-32768 to 32767)
short - Size
uint - Size
Private Access Modifier
Class Statement
22. Container for one or more Visual Studio Projects.
Public Keyword
Class Statement
Reference Type
Visual Studio Solution
23. System.Single
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
short - Size
ulong - .NET alias
float - .NET alias
24. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Window.xaml.cs
C#
Common Language Runtime (CLR)
25. The "Type" name of data that is stored on the Stack
Assignment Operator
Incrementing / Decrementing Variables
Expression
Value Type
26. Restricts access to a Member to the current Class.
Private Access Modifier
Encapsulation
If Statement
short - .NET alias
27. Code which signifies a carriage return. Symbolises a new line in a text box.
Boolean Operator
JIT
r
Protected Access Modifier
28. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
FCL
Properties
Namespace
Console Application
29. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Heap
Polymorphism
Primitive
Assembly
30. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
long - Size
char - .NET alias
using
DateTime
31. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Class aka Type
Reference Type
returnType methodName (parameterList)
32. Framework Class Library
Private Access Modifier
sbyte - Size
FCL
ulong - Size
33. 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.
short - Size
float - .NET alias
Abstract Method Modifier
Syntax
34. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Base Class
Precedence
Float (or float) - Size
35. Access is limited to the current Assembly and Derived Types
ushort - Size
Namespace
Statement
Protected Internal Access Modifier
36. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Int64 - Size
returnType methodName (parameterList)
Polymorphism
ushort - Size
37. 32 bit - unsigned integer data
Namespace
Abstract Class Modifier
uint - Size
Visual Studio Solution
38. 32 bit integer data
Int32 - Size
uint - .NET alias
IDE
Console Application
39. System.Int32
decimal - .NET alias
Assembly
sbyte - Size
int - .NET alias
40. System.UInt64
short - .NET alias
bool - Size
Inheritance
ulong - .NET alias
41. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Console Application
int - Size
Inheritance
Primitive
42. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
using
String (or string)
Inheritance
Unary Operator
43. 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.
Textbox
Value Type
Boolean Operator
Abstract Method Modifier
44. A Class that inherits characteristics from another Class.
Derived Class
Int32 - Size
Assembly
CLR
45. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Syntax
Strong Typing
Conditional Operator
Variable
46. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
ushort - Size
Value Type
Double (or double) - Size
Comments
47. System.Char
Static Member
short - .NET alias
char - .NET alias
Constant
48. Just-in-time compilation
JIT
Protected Internal Access Modifier
byte - Size
Comments
49. System.Int64
C#
long - .NET alias
Console Application
Object
50. System.Int16
short - .NET alias
Namespace
Field
Inheritance