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. true or false
bool - Size
ulong - Size
C#
Derived Class
2. A Class that inherits characteristics from another Class.
double - .NET alias
Derived Class
Precedence
Incrementing / Decrementing Variables
3. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
long - .NET alias
csc.exe
Variable
4. 16 bit - signed integer data (-32768 to 32767)
short - Size
IDE
Sealed Class
uint - .NET alias
5. A Class that cannot be Inherited
Abstract Method Modifier
Sealed Class
Int64 - Size
Field
6. 32 bit single precision floating point data
Int64 - Size
Float (or float) - Size
Conditional Operator
Overloaded Method
7. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
While Statement
Constant
uint - .NET alias
Properties
8. Mathematical (+ or - or / or %)
Object
Primitive Type
Operator
Data structures
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
byte - Size
Constructor
bool - Size
10. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Boolean Operator
Class
Properties
11. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Comments
Class
Namespace
Decimal (or decimal) - Size
12. The member type of a Class that performs an action.
Private Access Modifier
returnType methodName (parameterList)
Method
Framework Class Library (FCL)
13. (== or !=)
Equality Operator
IDE
Protected Access Modifier
bool - Size
14. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Expression
Int32 - Size
Protected Internal Access Modifier
Inheritance
15. Syntax of a C# Method
long - .NET alias
Reference Type
returnType methodName (parameterList)
Overloaded Method
16. A Member that cannot be accessed/invoked through an Object Instance.
Strong Typing
Static Class
Primitive
Static Member
17. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Int64 - Size
using
Strong Typing
18. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Equality Operator
Intermediate Language (IL)
Comments
ushort - .NET alias
19. Used to display text that end user does not need to edit.
Operator
Label
Properties
using
20. Command which runs repeatedly while (some) condition is true.
Primitive Type
Incrementing / Decrementing Variables
Object
While Statement
21. true or false
Encapsulation
IDE
Float (or float) - Size
Boolean - Size
22. Code which signifies a carriage return. Symbolises a new line in a text box.
sbyte - .NET alias
Statement
r
Array
23. 64 bit - unsigned integer data
ulong - Size
Assembly
Object
byte - Size
24. Microsoft's generic software framework for application development.
C#
NET
Textbox
Variable (C# requirements)
25. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
String (or string)
Class
Expression
26. Groups classes together so that they have a unique identifier
Static Class
Sealed Class
Constructor
Namespace
27. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
float - .NET alias
Statement
If Statement
Data structures
28. Code which implements GUI (graphical User Interface).
ulong - .NET alias
ushort - Size
Assignment Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
29. Names reserved by the compiler that coders are not allowed to use as identifiers.
Value Type
Keyword
ulong - Size
Constructor
30. 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
Statement
Array
IDE
Dot Notation
31. Symbols which transform and combine expressions
long - .NET alias
CLR
Operator
Statement
32. Something that has a different number of parameters to it's predecessor
Heap
Overloaded Method
Sealed Class
Class aka Type
33. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
int - .NET alias
DateTime
Class aka Type
34. Access is limited to the current Assembly and Derived Types
W.P.F
Variable (C# requirements)
Protected Internal Access Modifier
Identifiers
35. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Assembly
JITer
Visual Studio Solution
Unary Operator
36. The process of hiding and restricting access to the implementation details of a data structure.
byte - .NET alias
Encapsulation
ulong - .NET alias
Strong Typing
37. Integrated Development Environment
bool - Size
IDE
Textbox
Private Access Modifier
38. Variables defined by a class
Window.xaml.cs
sbyte - .NET alias
Variable (C# requirements)
Field
39. Extra information within a method
Parameter aka Argument
r
Comments
Constant
40. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Protected Internal Access Modifier
DateTime
Intermediate Language (IL)
Inheritance
41. System.Char
char - .NET alias
Operator
DateTime
long - .NET alias
42. System.Single
Expression
byte - .NET alias
float - .NET alias
returnType methodName (parameterList)
43. 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.
using
DateTime
Partial Method Modifier
NET
44. 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.
Encapsulation
Framework Class Library (FCL)
CLR
References (Visual Studio Solution
45. System.Int64
Partial Method Modifier
long - .NET alias
Protected Internal Access Modifier
Parameter aka Argument
46. 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
Static Class
Expression
ulong - Size
Heap
47. Introduces a new class. Marked by curly brackets { }
Static Class
IDE
Class Statement
Expression
48. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
bool - Size
int - .NET alias
long - Size
49. The lowest level or fundamental data types needed for representing data.
byte - .NET alias
References (Visual Studio Solution
Program
Primitive Type
50. Restricts access to a Member to the current Class and any Derived Class.
Class aka Type
Protected Access Modifier
returnType methodName (parameterList)
Private Access Modifier