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. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
int - Size
Reference Type
Abstraction
Method
2. Access is limited to the current Assembly
Inheritance
uint - .NET alias
Internal Access Modifier
References (Visual Studio Solution
3. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
long - Size
int - .NET alias
returnType methodName (parameterList)
Polymorphism
4. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Static Class
long - .NET alias
Expression
Abstract Class Modifier
5. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
sbyte - .NET alias
r
Abstraction
Data structures
6. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
uint - .NET alias
Class aka Type
Abstract Method Modifier
7. The "Type" name of data that is stored on the Stack
Variable
IDE
Statement
Value Type
8. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Conditional Operator
Stack
Strong Typing
9. System.UInt16
Comments
decimal - .NET alias
Just-in-time (JIT
ushort - .NET alias
10. A Class that can only have Static Members
Window.xaml.cs
Unary Operator
Static Class
byte - .NET alias
11. Compilation of classes. In C# Usually ends in .dll or .exe
Value Type
Abstract Method Modifier
Encapsulation
Assembly
12. (= or += or -= or = or /=)
Object
IDE
Protected Internal Access Modifier
Assignment Operator
13. Text as Unicode characters
String (or string)
Statement
Statement
Protected Internal Access Modifier
14. 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'.
Field
Decimal (or decimal) - Size
byte - Size
Textbox
15. A Class that cannot be Inherited
Decimal (or decimal) - Size
Expression
Sealed Class
Namespace
16. Command which runs repeatedly while (some) condition is true.
While Statement
Identifiers
Primitive
Float (or float) - Size
17. 64 bit double precision floating point data
Keyword
Double (or double) - Size
C#
Conditional Operator
18. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
While Statement
Double (or double) - Size
Protected Internal Access Modifier
19. System.Char
char - .NET alias
Reference Type
short - Size
Encapsulation
20. System.Double
double - .NET alias
Object
References (Visual Studio Solution
Inheritance
21. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Conditional Operator
Derived Class
Abstraction
Strong Typing
22. Code which signifies a carriage return. Symbolises a new line in a text box.
Expression
IDE
Data structures
r
23. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Int64 - Size
Method
Int32 - Size
Inheritance
24. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Static Member
Inheritance
sbyte - Size
25. Restricts access to a Member to the current Class.
Dot Notation
Inheritance
Inheritance
Private Access Modifier
26. 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.
CLR
JIT
Identifiers
Common Language Runtime (CLR)
27. The lowest level or fundamental data types needed for representing data.
Constructor
Identifiers
Relational Operator
Primitive Type
28. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
double - .NET alias
Encapsulation
Strong Typing
29. Used to display text that end user does not need to edit.
Label
Public Keyword
bool - Size
Float (or float) - Size
30. Allow access to types that exist in outside assemblies.
Class aka Type
References (Visual Studio Solution
If Statement
W.P.F
31. System.Int32
int - .NET alias
Polymorphism
double - .NET alias
Equality Operator
32. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
byte - .NET alias
Operator
Strong Typing
ushort - Size
33. A symbol that specifies an operation to be performed on one or more variables.
Expression
Value Type
Operator
Primitive Type
34. Microsoft's generic software framework for application development.
Keyword
NET
Method
Console Application
35. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
decimal - .NET alias
Protected Access Modifier
Visual Studio Solution
36. Represents date and time data with a 100 ns resolution
DateTime
Inheritance
Strong Typing
ushort - .NET alias
37. true or false
Stack
bool - Size
byte - .NET alias
Private Access Modifier
38. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Abstract Class Modifier
byte - .NET alias
Stack
Comments
39. Must have a data type
Double (or double) - Size
Variable (C# requirements)
Statement
Primitive Type
40. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Framework Class Library (FCL)
Heap
Inheritance
Console Application
41. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Equality Operator
Just-in-time (JIT
Syntax
CLR
42. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
DateTime
Overloaded Method
Abstract Method Modifier
Statement
43. 32 bit integer data
C#
Derived Class
ulong - .NET alias
Int32 - Size
44. System.Decimal
decimal - .NET alias
Just-in-time (JIT
long - .NET alias
Namespace
45. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Operator
Private Access Modifier
returnType methodName (parameterList)
46. 8 bit - signed byte (-128 - 127)
sbyte - Size
using
Boolean - Size
Protected Access Modifier
47. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Sealed Class
JITer
Primitive Type
Program
48. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
int - Size
byte - Size
Assembly
Array
49. When a sub class passes down all the behaviours of the original parent class
Inheritance
Base Class
If Statement
Variable
50. Access is limited to the current Assembly and Derived Types
JIT
decimal - .NET alias
Base Class
Protected Internal Access Modifier