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. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Double (or double) - Size
Textbox
r
2. Command which runs repeatedly while (some) condition is true.
Strong Typing
While Statement
char - .NET alias
returnType methodName (parameterList)
3. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Data structures
IDE
Intermediate Language (IL)
Operator
4. System.Char
Visual Studio Solution
Just-in-time (JIT
char - .NET alias
Field
5. 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
Static Class
Dot Notation
String (or string)
Field
6. Syntax of a C# Method
decimal - .NET alias
returnType methodName (parameterList)
Equality Operator
String (or string)
7. A symbol that specifies an operation to be performed on one or more variables.
Identifiers
Operator
uint - Size
Inheritance
8. Series of instructions which tell a computer what to do.
Decimal (or decimal) - Size
Encapsulation
Program
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
9. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Identifiers
Expression
Array
10. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Expression
Abstraction
Inheritance
Double (or double) - Size
11. The member type of a Class that performs an action.
Program
Inheritance
Method
Namespace
12. Sits behind GUI (Graphical User Interface) and provides event listeners
Inheritance
Stack
Window.xaml.cs
byte - .NET alias
13. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Unary Operator
C#
Textbox
ushort - Size
14. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Derived Class
Console Application
Data structures
Strong Typing
15. Groups classes together so that they have a unique identifier
Operator
Reference Type
Namespace
String (or string)
16. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Conditional Operator
Stack
Double (or double) - Size
If Statement
17. A Class from which other classes can inherit characteristics.
Base Class
bool - Size
Object
Console Application
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
Incrementing / Decrementing Variables
Base Class
Heap
Precedence
19. Mathematical (+ or - or / or %)
byte - Size
Statement
Operator
Stack
20. System.Byte
byte - .NET alias
Object
Derived Class
Visual Studio Solution
21. Variables defined by a class
Field
Relational Operator
Encapsulation
Heap
22. Framework Class Library
FCL
Primitive
IDE
Syntax
23. Only requires one operand usually a count+1 or a count++ or a count--
Base Class
Partial Method Modifier
Float (or float) - Size
Unary Operator
24. 16 bit - signed integer data (-32768 to 32767)
Boolean - Size
Assembly
short - Size
Public Keyword
25. Represents date and time data with a 100 ns resolution
Encapsulation
DateTime
Identifiers
Reference Type
26. System.UInt32
Static Member
Inheritance
IDE
uint - .NET alias
27. (== or !=)
Equality Operator
Just-in-time (JIT
Static Member
Properties
28. Code which signifies a carriage return. Symbolises a new line in a text box.
Properties
Method
Unary Operator
r
29. Most common kind of reference type. They define objects. They must have at least one method and one field.
r
Class aka Type
Overloaded Method
ulong - Size
30. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
C#
Object
Boolean - Size
Inheritance
31. 32 bit integer data
Static Class
String (or string)
Int32 - Size
Class aka Type
32. 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)
Boolean Operator
IDE
Operator
short - Size
33. 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.
Primitive
Partial Method Modifier
Private Access Modifier
int - .NET alias
34. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
Float (or float) - Size
sbyte - .NET alias
Identifiers
short - .NET alias
35. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Dot Notation
int - Size
Just-in-time (JIT
36. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Keyword
Class aka Type
Polymorphism
Properties
37. System.Double
Visual Studio Solution
Expression
double - .NET alias
ushort - Size
38. Code which implements GUI (graphical User Interface).
If Statement
Sealed Class
char - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
39. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Namespace
Primitive
CLR
Comments
40. 32 bit single precision floating point data
Method
Float (or float) - Size
Object
Assembly
41. System.Int16
ulong - .NET alias
short - .NET alias
Statement
Assembly
42. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Primitive
Variable
Method
Protected Access Modifier
43. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
sbyte - .NET alias
C#
While Statement
44. 32 bit - unsigned integer data
uint - Size
Encapsulation
Statement
Protected Access Modifier
45. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Constant
Protected Internal Access Modifier
char - .NET alias
46. 32 bit integer data
Statement
short - .NET alias
int - Size
Equality Operator
47. Command Language Runtime
Namespace
CLR
Array
Constant
48. A type of statement that produces a value that might be tested or assigned to a variable.
Encapsulation
Partial Method Modifier
Expression
Array
49. Restricts access to a Member to the current Class.
Private Access Modifier
Console Application
Double (or double) - Size
Variable
50. A Class that cannot be instantiated.
Operator
Incrementing / Decrementing Variables
Static Class
Primitive