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. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Assembly
JIT
Properties
2. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
While Statement
Field
JIT
3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Primitive
Identifiers
Statement
4. System.Single
Polymorphism
float - .NET alias
Class
Relational Operator
5. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Object
char - Size
Operator
Constant
6. The "Type" name of data that is stored on the Heap
Public Keyword
Reference Type
Heap
uint - Size
7. System.Int16
short - .NET alias
Object
Conditional Operator
Namespace
8. 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)
csc.exe
Boolean - Size
Boolean Operator
Object
9. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Stack
C#
Class Statement
long - .NET alias
10. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
DateTime
Variable (C# requirements)
Identifiers
Inheritance
11. A Member that cannot be accessed/invoked through an Object Instance.
Method
Parameter aka Argument
Static Member
Expression
12. A Class that cannot be Inherited
C#
ulong - .NET alias
Parameter aka Argument
Sealed Class
13. 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
int - Size
Object
DateTime
14. The "Type" name of data that is stored on the Stack
Value Type
Dot Notation
C#
Operator
15. Integrated Development Environment
IDE
Int32 - Size
float - .NET alias
Primitive
16. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
sbyte - Size
Assembly
IDE
17. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Method
Polymorphism
Label
Just-in-time (JIT
18. (= or += or -= or = or /=)
long - .NET alias
Assignment Operator
Reference Type
Overloaded Method
19. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
short - .NET alias
int - Size
Assignment Operator
Console Application
20. 16 bit - signed integer data (-32768 to 32767)
short - Size
Parameter aka Argument
Expression
Primitive
21. Allow access to types that exist in outside assemblies.
Polymorphism
References (Visual Studio Solution
Namespace
Incrementing / Decrementing Variables
22. 32 bit integer data
double - .NET alias
ushort - .NET alias
Polymorphism
Int32 - Size
23. A Class that inherits characteristics from another Class.
Operator
byte - Size
Derived Class
Object
24. An instance of a class that exists at run-time and is typically referenced via a variable name.
short - .NET alias
Label
Object
CLR
25. Contains the class definitions that allow access to the functionality provided by .NET.
Encapsulation
Inheritance
Double (or double) - Size
Framework Class Library (FCL)
26. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Boolean - Size
Data structures
using
Public Keyword
27. Sits behind GUI (Graphical User Interface) and provides event listeners
If Statement
Operator
Window.xaml.cs
Namespace
28. Field whose value can never change. Declared with 'const' keyword
byte - Size
Reference Type
Stack
Constant
29. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Expression
Double (or double) - Size
Precedence
30. System.UInt32
uint - .NET alias
Field
Visual Studio Solution
Common Language Runtime (CLR)
31. Framework Class Library
FCL
W.P.F
Inheritance
ushort - Size
32. 32 bit single precision floating point data
Variable
Float (or float) - Size
Partial Class Modifier
Array
33. System.Byte
Encapsulation
r
While Statement
byte - .NET alias
34. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Visual Studio Solution
Framework Class Library (FCL)
If Statement
35. 8 bit - unsigned byte (0 - 255)
bool - Size
Identifiers
Internal Access Modifier
byte - Size
36. 32 bit - unsigned integer data
Namespace
Just-in-time (JIT
Relational Operator
uint - Size
37. A method that is called whenever an Object is created. The method uses the same name as the Class.
Textbox
Visual Studio Solution
Identifiers
Constructor
38. 8 bit - signed byte (-128 - 127)
Base Class
Assembly
Double (or double) - Size
sbyte - Size
39. Code which signifies a carriage return. Symbolises a new line in a text box.
Partial Class Modifier
Abstract Method Modifier
double - .NET alias
r
40. 128 bit fixed precision (financial)
NET
Static Member
Decimal (or decimal) - Size
Variable
41. System.Double
Namespace
Virtual Method Modifier
Variable (C# requirements)
double - .NET alias
42. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Assembly
Double (or double) - Size
Field
Method
43. Restricts access to a Member to the current Class and any Derived Class.
Abstraction
Protected Access Modifier
Operator
Keyword
44. true or false
Inheritance
NET
bool - Size
long - .NET alias
45. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Keyword
ulong - .NET alias
Intermediate Language (IL)
Method
46. Restricts access to a Member to the current Class.
Unary Operator
Private Access Modifier
Polymorphism
Overloaded Method
47. Represents the encapsulation of data and behaviors into a single unit.
Variable
Encapsulation
Class
Encapsulation
48. A Class that cannot be instantiated.
Static Class
Int64 - Size
long - .NET alias
float - .NET alias
49. Syntax of a C# Method
Constructor
Field
returnType methodName (parameterList)
Intermediate Language (IL)
50. Series of instructions which tell a computer what to do.
Array
Program
While Statement
Object