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. Represents the encapsulation of data and behaviors into a single unit.
Variable
Protected Access Modifier
Class aka Type
Class
2. 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
Boolean Operator
Dot Notation
Window.xaml.cs
csc.exe
3. Windows Presentation Foundation
Overloaded Method
Keyword
W.P.F
Variable (C# requirements)
4. true or false
bool - Size
Statement
sbyte - Size
Assembly
5. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Incrementing / Decrementing Variables
Unary Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
6. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Boolean Operator
Visual Studio Solution
Statement
Inheritance
7. true or false
Intermediate Language (IL)
Encapsulation
Boolean - Size
returnType methodName (parameterList)
8. The lowest level or fundamental data types needed for representing data.
Primitive Type
W.P.F
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Partial Method Modifier
9. 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.
uint - Size
Statement
Identifiers
double - .NET alias
10. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Common Language Runtime (CLR)
Strong Typing
String (or string)
11. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
ushort - Size
Overloaded Method
Equality Operator
Comments
12. 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
Inheritance
Primitive
Object
13. 64 bit integer data
Statement
Static Member
Field
Int64 - Size
14. Introduces a new class. Marked by curly brackets { }
double - .NET alias
Class Statement
Framework Class Library (FCL)
Overloaded Method
15. A Class that cannot be Inherited
Sealed Class
short - .NET alias
Private Access Modifier
Assignment Operator
16. Container for one or more Visual Studio Projects.
Stack
Expression
Incrementing / Decrementing Variables
Visual Studio Solution
17. Compilation of classes. In C# Usually ends in .dll or .exe
Class Statement
Assembly
Method
Encapsulation
18. Framework Class Library
Comments
FCL
Polymorphism
Static Class
19. The "Type" name of data that is stored on the Stack
JIT
Value Type
IDE
Base Class
20. 32 bit integer data
Intermediate Language (IL)
int - Size
ulong - Size
sbyte - Size
21. A symbol that specifies an operation to be performed on one or more variables.
Internal Access Modifier
Partial Class Modifier
Operator
Equality Operator
22. A Class that cannot be instantiated.
long - Size
Static Class
using
float - .NET alias
23. Symbols which transform and combine expressions
Conditional Operator
int - Size
Operator
Inheritance
24. Mathematical (+ or - or / or %)
Overloaded Method
Operator
Field
Base Class
25. A Class that can only have Static Members
Static Class
short - Size
Primitive Type
Variable
26. Allow access to types that exist in outside assemblies.
int - Size
References (Visual Studio Solution
Dot Notation
Base Class
27. count = count+1 or count++ or count__. Both count variables are Unary Operators
Value Type
Incrementing / Decrementing Variables
byte - .NET alias
References (Visual Studio Solution
28. A Class from which other classes can inherit characteristics.
Base Class
Variable
Identifiers
Overloaded Method
29. Keyword which exposes members to other classes OR Identifier which makes program elements public
char - .NET alias
using
ushort - Size
Public Keyword
30. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
ulong - Size
Virtual Method Modifier
Expression
Properties
31. The "Type" name of data that is stored on the Heap
While Statement
Textbox
Reference Type
char - Size
32. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Statement
Array
Overloaded Method
ulong - .NET alias
33. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Class aka Type
NET
Expression
Variable (C# requirements)
34. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Abstract Class Modifier
Boolean - Size
If Statement
returnType methodName (parameterList)
35. A Class that inherits characteristics from another Class.
Derived Class
Unary Operator
Object
Properties
36. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
sbyte - .NET alias
While Statement
JITer
sbyte - Size
37. 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
Strong Typing
Heap
ulong - Size
Class Statement
38. Must have a data type
Statement
C#
Reference Type
Variable (C# requirements)
39. System.Int64
Base Class
Primitive
long - .NET alias
Object
40. (= or += or -= or = or /=)
Assignment Operator
Assembly
Expression
Private Access Modifier
41. System.Double
While Statement
double - .NET alias
Assignment Operator
Int64 - Size
42. Field whose value can never change. Declared with 'const' keyword
Console Application
Constant
Properties
Boolean - Size
43. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Parameter aka Argument
Strong Typing
Variable
Dot Notation
44. An instance of a class that exists at run-time and is typically referenced via a variable name.
Protected Internal Access Modifier
Object
bool - Size
Console Application
45. System.Byte
Data structures
byte - .NET alias
Dot Notation
uint - Size
46. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
double - .NET alias
Internal Access Modifier
Console Application
Decimal (or decimal) - Size
47. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Boolean - Size
Operator
Primitive Type
Inheritance
48. System.SByte
r
Virtual Method Modifier
Equality Operator
sbyte - .NET alias
49. The .NET run-time environment that enables code to be compiled and executed.
ulong - .NET alias
Identifiers
Common Language Runtime (CLR)
returnType methodName (parameterList)
50. 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.
Inheritance
Properties
Comments
Abstract Method Modifier