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.SByte
sbyte - .NET alias
short - .NET alias
Abstraction
NET
2. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Assembly
Static Member
Incrementing / Decrementing Variables
3. 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.
uint - Size
Abstract Method Modifier
Partial Method Modifier
long - Size
4. Names reserved by the compiler that coders are not allowed to use as identifiers.
Object
Stack
ulong - Size
Keyword
5. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
char - Size
Static Member
Console Application
Object
6. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
float - .NET alias
Statement
Static Member
Comments
7. Represents date and time data with a 100 ns resolution
Abstract Class Modifier
DateTime
Inheritance
Class aka Type
8. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Derived Class
JITer
Statement
Framework Class Library (FCL)
9. System.Double
Statement
Equality Operator
Variable
double - .NET alias
10. The lowest level or fundamental data types needed for representing data.
Primitive Type
Int32 - Size
short - .NET alias
Private Access Modifier
11. A Class from which other classes can inherit characteristics.
Inheritance
long - Size
Equality Operator
Base Class
12. The .NET run-time environment that enables code to be compiled and executed.
float - .NET alias
Common Language Runtime (CLR)
Framework Class Library (FCL)
Namespace
13. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Statement
Polymorphism
Statement
14. 128 bit fixed precision (financial)
W.P.F
Virtual Method Modifier
Decimal (or decimal) - Size
Inheritance
15. Variables defined by a class
Namespace
Field
short - Size
Namespace
16. System.Int16
char - .NET alias
short - .NET alias
Statement
long - .NET alias
17. 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
Strong Typing
Operator
Stack
18. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
W.P.F
long - .NET alias
JIT
Abstraction
19. Sits behind GUI (Graphical User Interface) and provides event listeners
Private Access Modifier
Window.xaml.cs
CLR
Object
20. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
double - .NET alias
Assignment Operator
Relational Operator
21. Indicates that the Method can be overridden.
Class aka Type
String (or string)
byte - Size
Virtual Method Modifier
22. Compilation of classes. In C# Usually ends in .dll or .exe
Internal Access Modifier
Sealed Class
Assembly
sbyte - Size
23. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Polymorphism
Namespace
Static Member
If Statement
24. A Class that can only have Static Members
JITer
Static Class
Object
Inheritance
25. A Class that inherits characteristics from another Class.
Public Keyword
long - .NET alias
Visual Studio Solution
Derived Class
26. true or false
Float (or float) - Size
bool - Size
Operator
csc.exe
27. 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
Intermediate Language (IL)
Statement
byte - .NET alias
28. The process of compiling IL source into CPU-native code for execution.
Statement
Program
Properties
Just-in-time (JIT
29. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Object
Inheritance
Boolean - Size
long - .NET alias
30. Groups classes together so that they have a unique identifier
Namespace
Keyword
Operator
uint - .NET alias
31. System.Decimal
returnType methodName (parameterList)
Class aka Type
Double (or double) - Size
decimal - .NET alias
32. 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
Internal Access Modifier
Incrementing / Decrementing Variables
long - Size
33. 8 bit - unsigned byte (0 - 255)
Stack
byte - Size
Assembly
Internal Access Modifier
34. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
double - .NET alias
Unary Operator
If Statement
35. When a sub class passes down all the behaviours of the original parent class
Inheritance
Boolean Operator
Reference Type
Constant
36. Command Language Runtime
double - .NET alias
Abstract Method Modifier
CLR
Derived Class
37. Series of instructions which tell a computer what to do.
Relational Operator
Class aka Type
Base Class
Program
38. (= or += or -= or = or /=)
Method
FCL
Assignment Operator
Boolean Operator
39. Syntax of a C# Method
Public Keyword
ushort - Size
Double (or double) - Size
returnType methodName (parameterList)
40. An instance of a class that exists at run-time and is typically referenced via a variable name.
Primitive Type
Namespace
Object
Class
41. System.Int32
Partial Method Modifier
short - .NET alias
References (Visual Studio Solution
int - .NET alias
42. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Relational Operator
Data structures
Partial Method Modifier
char - .NET alias
43. Allows the definition of a Class to span multiple files (within the same Project)
References (Visual Studio Solution
Partial Class Modifier
Constructor
Identifiers
44. System.UInt32
Visual Studio Solution
uint - .NET alias
Protected Internal Access Modifier
C#
45. Code which signifies a carriage return. Symbolises a new line in a text box.
C#
Decimal (or decimal) - Size
Relational Operator
r
46. System.Char
Statement
char - .NET alias
int - Size
uint - Size
47. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Comments
Common Language Runtime (CLR)
JITer
Int32 - Size
48. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Label
Statement
ulong - .NET alias
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
csc.exe
Polymorphism
Abstract Class Modifier
Assembly
50. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Precedence
If Statement
short - Size