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. Mathematical (+ or - or / or %)
Protected Internal Access Modifier
bool - Size
Operator
char - Size
2. 16 bit - unsigned integer data (0 to 65535)
Value Type
long - Size
Unary Operator
ushort - Size
3. Symbols which transform and combine expressions
using
char - Size
Method
Operator
4. 32 bit single precision floating point data
Heap
Base Class
Value Type
Float (or float) - Size
5. 16 bit- unsigned word (U+0000 to U+ffff)
uint - .NET alias
csc.exe
Polymorphism
char - Size
6. A Class that inherits characteristics from another Class.
Variable (C# requirements)
Static Member
Derived Class
Virtual Method Modifier
7. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
DateTime
Conditional Operator
JITer
using
8. System.Single
W.P.F
float - .NET alias
Sealed Class
Value Type
9. 64 bit - unsigned integer data
DateTime
Identifiers
Boolean - Size
ulong - Size
10. Allow access to types that exist in outside assemblies.
While Statement
Namespace
References (Visual Studio Solution
Inheritance
11. The .NET run-time environment that enables code to be compiled and executed.
String (or string)
Variable (C# requirements)
Common Language Runtime (CLR)
Namespace
12. A Class that can only have Static Members
Strong Typing
String (or string)
Equality Operator
Static Class
13. (&& or || or & or |)
Constant
Assembly
Partial Method Modifier
Conditional Operator
14. System.Byte
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Static Member
byte - .NET alias
csc.exe
15. When a sub class passes down all the behaviours of the original parent class
FCL
Program
Inheritance
Method
16. The "Type" name of data that is stored on the Heap
byte - .NET alias
Reference Type
Intermediate Language (IL)
Framework Class Library (FCL)
17. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
int - .NET alias
ulong - .NET alias
Encapsulation
Data structures
18. A Class that cannot be instantiated.
Static Class
W.P.F
Assembly
Encapsulation
19. Contains the class definitions that allow access to the functionality provided by .NET.
Variable
Framework Class Library (FCL)
Program
using
20. The process of compiling IL source into CPU-native code for execution.
Overloaded Method
ushort - .NET alias
Just-in-time (JIT
Statement
21. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Overloaded Method
Intermediate Language (IL)
Namespace
Comments
22. Framework Class Library
Syntax
FCL
Namespace
Int32 - Size
23. A type of statement that produces a value that might be tested or assigned to a variable.
Visual Studio Solution
Expression
bool - Size
Overloaded Method
24. System.UInt64
Abstract Method Modifier
References (Visual Studio Solution
ulong - .NET alias
Virtual Method Modifier
25. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
ushort - Size
IDE
Heap
26. 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.
Partial Class Modifier
Constructor
Boolean - Size
Encapsulation
27. 32 bit integer data
Parameter aka Argument
short - .NET alias
int - .NET alias
int - Size
28. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
CLR
Expression
NET
csc.exe
29. Just-in-time compilation
Operator
bool - Size
ulong - Size
JIT
30. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Overloaded Method
Statement
csc.exe
Primitive Type
31. 32 bit - unsigned integer data
FCL
uint - Size
Polymorphism
Strong Typing
32. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
byte - Size
References (Visual Studio Solution
Properties
ulong - .NET alias
33. Introduces a new class. Marked by curly brackets { }
Object
Class Statement
Visual Studio Solution
String (or string)
34. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
Dot Notation
Abstract Class Modifier
Derived Class
ulong - Size
35. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Comments
Strong Typing
Derived Class
Partial Method Modifier
36. System.Char
Primitive
r
char - .NET alias
ushort - Size
37. Keyword which exposes members to other classes OR Identifier which makes program elements public
Inheritance
FCL
Public Keyword
References (Visual Studio Solution
38. 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
Statement
Variable
Int32 - Size
39. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
C#
Public Keyword
Just-in-time (JIT
40. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Encapsulation
char - Size
Field
Inheritance
41. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Float (or float) - Size
Operator
Statement
Properties
42. (< or > or <= or >=)
Class Statement
Common Language Runtime (CLR)
Relational Operator
Primitive
43. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Static Member
Class
Method
Class Statement
44. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Equality Operator
Variable
Overloaded Method
Constructor
45. Field whose value can never change. Declared with 'const' keyword
Static Class
Constant
Relational Operator
char - .NET alias
46. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
r
JITer
If Statement
ulong - .NET alias
47. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Operator
Base Class
Array
48. The process of hiding and restricting access to the implementation details of a data structure.
Namespace
Method
Encapsulation
Operator
49. 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)
Protected Access Modifier
Boolean Operator
Intermediate Language (IL)
Heap
50. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Data structures
C#
While Statement
IDE