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. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
char - .NET alias
byte - .NET alias
Inheritance
Data structures
2. Command Language Runtime
Abstract Class Modifier
ushort - .NET alias
CLR
Boolean Operator
3. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Unary Operator
Expression
Variable
4. Extra information within a method
Double (or double) - Size
Heap
Parameter aka Argument
Virtual Method Modifier
5. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Partial Class Modifier
ulong - .NET alias
Polymorphism
Encapsulation
6. System.UInt64
int - Size
ulong - .NET alias
Boolean - Size
Heap
7. A symbol that specifies an operation to be performed on one or more variables.
Operator
Identifiers
NET
int - .NET alias
8. 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
Precedence
Protected Access Modifier
Strong Typing
9. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Sealed Class
Inheritance
Operator
Polymorphism
10. Windows Presentation Foundation
Window.xaml.cs
Value Type
Equality Operator
W.P.F
11. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Identifiers
Operator
Variable
Abstraction
12. The process of compiling IL source into CPU-native code for execution.
Primitive Type
Just-in-time (JIT
Unary Operator
short - .NET alias
13. An instance of a class that exists at run-time and is typically referenced via a variable name.
int - Size
Assignment Operator
Object
Public Keyword
14. Must have a data type
Variable
Partial Class Modifier
ushort - Size
Variable (C# requirements)
15. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Framework Class Library (FCL)
Expression
Unary Operator
Incrementing / Decrementing Variables
16. 64 bit integer data
Variable (C# requirements)
double - .NET alias
Int64 - Size
FCL
17. The member type of a Class that performs an action.
Relational Operator
Method
Boolean - Size
Strong Typing
18. When a sub class passes down all the behaviours of the original parent class
Framework Class Library (FCL)
Boolean Operator
Method
Inheritance
19. 64 bit - unsigned integer data
ulong - Size
C#
Unary Operator
Base Class
20. System.UInt16
Reference Type
ushort - .NET alias
Value Type
Data structures
21. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Class
Statement
Abstract Class Modifier
Encapsulation
22. System.SByte
sbyte - .NET alias
Public Keyword
Namespace
decimal - .NET alias
23. Names reserved by the compiler that coders are not allowed to use as identifiers.
Overloaded Method
Inheritance
short - .NET alias
Keyword
24. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Expression
Program
Operator
Stack
25. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Intermediate Language (IL)
Derived Class
Common Language Runtime (CLR)
Method
26. 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.
Class
Inheritance
Partial Method Modifier
Float (or float) - Size
27. 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)
Partial Method Modifier
Boolean Operator
Label
Namespace
28. Container for one or more Visual Studio Projects.
If Statement
Protected Access Modifier
Visual Studio Solution
byte - Size
29. 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
Method
Namespace
Dot Notation
Syntax
30. Represents the encapsulation of data and behaviors into a single unit.
Class
Stack
Comments
Partial Class Modifier
31. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Data structures
Array
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
32. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Identifiers
Class Statement
Expression
33. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Intermediate Language (IL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Namespace
Int64 - Size
34. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
If Statement
Operator
Assignment Operator
35. 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
CLR
Operator
sbyte - Size
36. The .NET run-time environment that enables code to be compiled and executed.
Intermediate Language (IL)
W.P.F
FCL
Common Language Runtime (CLR)
37. Used to display text that end user does not need to edit.
Data structures
Label
char - .NET alias
long - Size
38. Syntax of a C# Method
CLR
Intermediate Language (IL)
Abstract Method Modifier
returnType methodName (parameterList)
39. The "Type" name of data that is stored on the Stack
Int32 - Size
Value Type
Internal Access Modifier
short - .NET alias
40. Integrated Development Environment
uint - Size
IDE
Polymorphism
bool - Size
41. The "Type" name of data that is stored on the Heap
Internal Access Modifier
Method
Reference Type
Protected Internal Access Modifier
42. System.Decimal
Comments
Int32 - Size
decimal - .NET alias
Console Application
43. Allow access to types that exist in outside assemblies.
Textbox
Precedence
References (Visual Studio Solution
Assignment Operator
44. (== or !=)
While Statement
Object
char - Size
Equality Operator
45. The lowest level or fundamental data types needed for representing data.
Common Language Runtime (CLR)
Primitive Type
Float (or float) - Size
Class Statement
46. 32 bit integer data
byte - .NET alias
returnType methodName (parameterList)
int - Size
Class Statement
47. System.Single
Identifiers
While Statement
JITer
float - .NET alias
48. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Data structures
Variable (C# requirements)
Assembly
Encapsulation
49. 64 bit integer data
Framework Class Library (FCL)
Primitive Type
Base Class
long - Size
50. Mathematical (+ or - or / or %)
FCL
Static Class
Operator
Just-in-time (JIT