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. System.Int16
Statement
Partial Method Modifier
short - .NET alias
Static Class
2. Integrated Development Environment
Namespace
Int64 - Size
IDE
int - Size
3. A method that is called whenever an Object is created. The method uses the same name as the Class.
Inheritance
JITer
Constructor
Field
4. Code which signifies a carriage return. Symbolises a new line in a text box.
Framework Class Library (FCL)
Variable
r
Method
5. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Operator
Int32 - Size
Derived Class
6. Used to display text that end user does not need to edit.
char - .NET alias
Console Application
Unary Operator
Label
7. (== or !=)
NET
Derived Class
Heap
Equality Operator
8. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Textbox
Method
r
Class aka Type
9. System.UInt64
ulong - .NET alias
csc.exe
Base Class
int - .NET alias
10. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Abstract Method Modifier
Method
Assembly
Console Application
11. System.SByte
Program
char - Size
Primitive
sbyte - .NET alias
12. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Class Statement
Method
Object
Protected Internal Access Modifier
13. System.Int64
long - .NET alias
r
Overloaded Method
Public Keyword
14. System.Double
Double (or double) - Size
char - .NET alias
String (or string)
double - .NET alias
15. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
NET
Private Access Modifier
C#
Expression
16. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
String (or string)
Method
Inheritance
Primitive Type
17. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Int32 - Size
Array
Assembly
18. 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
ulong - Size
long - .NET alias
Inheritance
19. Series of instructions which tell a computer what to do.
Constructor
W.P.F
Program
Virtual Method Modifier
20. System.UInt32
uint - .NET alias
Just-in-time (JIT
FCL
Class
21. Something that has a different number of parameters to it's predecessor
JITer
Overloaded Method
Stack
Visual Studio Solution
22. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
ushort - Size
csc.exe
IDE
23. A Member that cannot be accessed/invoked through an Object Instance.
Namespace
Encapsulation
Static Member
Statement
24. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Array
Variable
Program
Reference Type
25. Code which implements GUI (graphical User Interface).
Expression
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Framework Class Library (FCL)
uint - Size
26. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
bool - Size
Abstraction
char - Size
Strong Typing
27. Mathematical (+ or - or / or %)
FCL
Console Application
csc.exe
Operator
28. 32 bit integer data
Expression
References (Visual Studio Solution
int - Size
Variable
29. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Encapsulation
DateTime
long - .NET alias
30. Most common kind of reference type. They define objects. They must have at least one method and one field.
C#
Variable (C# requirements)
Class aka Type
Constant
31. Sits behind GUI (Graphical User Interface) and provides event listeners
Parameter aka Argument
char - .NET alias
byte - Size
Window.xaml.cs
32. Text as Unicode characters
Inheritance
decimal - .NET alias
JIT
String (or string)
33. 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
Heap
ushort - Size
Framework Class Library (FCL)
Window.xaml.cs
34. The "Type" name of data that is stored on the Stack
Method
using
Value Type
Operator
35. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
csc.exe
Intermediate Language (IL)
Protected Internal Access Modifier
Abstract Method Modifier
36. Groups classes together so that they have a unique identifier
Boolean Operator
DateTime
Decimal (or decimal) - Size
Namespace
37. 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
long - .NET alias
Operator
Protected Internal Access Modifier
Dot Notation
38. 16 bit - unsigned integer data (0 to 65535)
Console Application
ushort - Size
If Statement
Comments
39. Contains the class definitions that allow access to the functionality provided by .NET.
JITer
Method
If Statement
Framework Class Library (FCL)
40. 64 bit integer data
returnType methodName (parameterList)
While Statement
Int64 - Size
uint - .NET alias
41. 64 bit integer data
Identifiers
long - Size
Float (or float) - Size
char - .NET alias
42. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Framework Class Library (FCL)
Dot Notation
Identifiers
Statement
43. The process of hiding and restricting access to the implementation details of a data structure.
ulong - Size
Encapsulation
Abstraction
Int32 - Size
44. When a sub class passes down all the behaviours of the original parent class
using
long - .NET alias
Inheritance
Method
45. Names reserved by the compiler that coders are not allowed to use as identifiers.
ulong - Size
Keyword
String (or string)
Boolean - Size
46. 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
Method
Variable
bool - Size
47. Access is limited to the current Assembly
Primitive Type
float - .NET alias
Conditional Operator
Internal Access Modifier
48. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Partial Class Modifier
byte - .NET alias
DateTime
49. Just-in-time compilation
Encapsulation
JIT
Operator
short - Size
50. 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
JITer
Inheritance
Parameter aka Argument