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. Command Language Runtime
Expression
Inheritance
CLR
FCL
2. 64 bit - unsigned integer data
Inheritance
ulong - Size
Double (or double) - Size
Object
3. System.Byte
Framework Class Library (FCL)
byte - .NET alias
Program
Boolean Operator
4. Symbols which transform and combine expressions
using
Value Type
Inheritance
Operator
5. A Class that inherits characteristics from another Class.
If Statement
Derived Class
Framework Class Library (FCL)
String (or string)
6. Command which runs repeatedly while (some) condition is true.
While Statement
Equality Operator
Program
FCL
7. Represents date and time data with a 100 ns resolution
DateTime
Static Class
Boolean - Size
Assembly
8. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
double - .NET alias
Strong Typing
Variable
CLR
9. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
IDE
long - .NET alias
Operator
C#
10. The process of hiding and restricting access to the implementation details of a data structure.
C#
Static Member
CLR
Encapsulation
11. 32 bit integer data
int - Size
Statement
Program
Intermediate Language (IL)
12. Allow access to types that exist in outside assemblies.
IDE
References (Visual Studio Solution
Keyword
Intermediate Language (IL)
13. System.Char
long - .NET alias
char - .NET alias
Operator
Statement
14. A method that is called whenever an Object is created. The method uses the same name as the Class.
double - .NET alias
Partial Class Modifier
Constructor
Int32 - Size
15. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Incrementing / Decrementing Variables
Inheritance
Inheritance
16. Most common kind of reference type. They define objects. They must have at least one method and one field.
using
C#
Comments
Class aka Type
17. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
sbyte - Size
Precedence
Class Statement
Decimal (or decimal) - Size
18. Container for one or more Visual Studio Projects.
Overloaded Method
Visual Studio Solution
Protected Internal Access Modifier
Stack
19. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
using
IDE
Intermediate Language (IL)
Static Class
20. Keyword which exposes members to other classes OR Identifier which makes program elements public
Field
Partial Method Modifier
Derived Class
Public Keyword
21. A Class that can only have Static Members
Static Class
ulong - .NET alias
Object
Just-in-time (JIT
22. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Window.xaml.cs
Method
Assignment Operator
Common Language Runtime (CLR)
23. Restricts access to a Member to the current Class and any Derived Class.
Primitive
Protected Access Modifier
ushort - Size
Protected Internal Access Modifier
24. Extra information within a method
Visual Studio Solution
Internal Access Modifier
Parameter aka Argument
Protected Internal Access Modifier
25. (&& or || or & or |)
Conditional Operator
Object
bool - Size
Stack
26. Text as Unicode characters
String (or string)
short - Size
FCL
Unary Operator
27. System.Int16
uint - .NET alias
r
using
short - .NET alias
28. (== or !=)
Equality Operator
Private Access Modifier
Partial Class Modifier
Unary Operator
29. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Syntax
Inheritance
Primitive
30. 128 bit fixed precision (financial)
byte - .NET alias
Decimal (or decimal) - Size
char - .NET alias
short - Size
31. 32 bit - unsigned integer data
char - .NET alias
Console Application
Value Type
uint - Size
32. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
ushort - .NET alias
Statement
byte - Size
using
33. Syntax of a C# Method
returnType methodName (parameterList)
sbyte - .NET alias
IDE
Intermediate Language (IL)
34. 64 bit double precision floating point data
Double (or double) - Size
Framework Class Library (FCL)
Abstraction
ulong - Size
35. Indicates that the Method can be overridden.
Virtual Method Modifier
Precedence
Abstract Class Modifier
NET
36. A Class that cannot be instantiated.
Equality Operator
Static Class
Partial Class Modifier
String (or string)
37. (< or > or <= or >=)
Strong Typing
Relational Operator
short - Size
Abstract Class Modifier
38. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
ushort - .NET alias
Expression
Comments
long - Size
39. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Properties
Statement
long - Size
ushort - Size
40. Something that has a different number of parameters to it's predecessor
Statement
Method
Public Keyword
Overloaded Method
41. true or false
Boolean - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Precedence
Operator
42. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
FCL
Statement
Identifiers
43. Integrated Development Environment
Derived Class
IDE
W.P.F
bool - Size
44. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Abstraction
Object
Variable
45. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
decimal - .NET alias
Variable (C# requirements)
Variable
DateTime
46. (= or += or -= or = or /=)
Assignment Operator
Statement
Method
Namespace
47. Windows Presentation Foundation
Variable
Intermediate Language (IL)
W.P.F
Class Statement
48. System.UInt32
uint - .NET alias
Abstract Class Modifier
Precedence
Assembly
49. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Constant
Int64 - Size
Polymorphism
float - .NET alias
50. 16 bit- unsigned word (U+0000 to U+ffff)
csc.exe
char - Size
Static Class
If Statement