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. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Console Application
Stack
byte - Size
2. Integrated Development Environment
Strong Typing
IDE
Assignment Operator
Int32 - Size
3. 8 bit - signed byte (-128 - 127)
char - Size
sbyte - Size
sbyte - .NET alias
Inheritance
4. System.Double
double - .NET alias
Assembly
Array
Stack
5. Code which signifies a carriage return. Symbolises a new line in a text box.
r
double - .NET alias
Heap
Variable (C# requirements)
6. 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.
Sealed Class
Assembly
Identifiers
Field
7. Extra information within a method
Constructor
Internal Access Modifier
using
Parameter aka Argument
8. System.Single
Keyword
float - .NET alias
returnType methodName (parameterList)
Overloaded Method
9. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Sealed Class
Abstraction
Public Keyword
Method
10. A method that is called whenever an Object is created. The method uses the same name as the Class.
Statement
Conditional Operator
Constructor
Operator
11. Access is limited to the current Assembly and Derived Types
Object
int - Size
long - .NET alias
Protected Internal Access Modifier
12. System.SByte
int - Size
Int32 - Size
Polymorphism
sbyte - .NET alias
13. A symbol that specifies an operation to be performed on one or more variables.
Properties
JITer
Visual Studio Solution
Operator
14. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Console Application
Internal Access Modifier
Stack
Properties
15. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Derived Class
Variable
byte - .NET alias
16. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Abstract Class Modifier
If Statement
Double (or double) - Size
Method
17. A Class that cannot be Inherited
Polymorphism
Sealed Class
Static Class
Internal Access Modifier
18. The .NET run-time environment that enables code to be compiled and executed.
Class
Dot Notation
csc.exe
Common Language Runtime (CLR)
19. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Expression
Parameter aka Argument
Assembly
Encapsulation
20. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
Expression
Program
Inheritance
Variable
21. Introduces a new class. Marked by curly brackets { }
Int64 - Size
Virtual Method Modifier
Object
Class Statement
22. System.Int32
Array
using
int - .NET alias
long - .NET alias
23. 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)
decimal - .NET alias
Framework Class Library (FCL)
Protected Internal Access Modifier
Boolean Operator
24. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Operator
sbyte - Size
Field
25. 32 bit integer data
int - Size
Boolean Operator
Keyword
Label
26. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Operator
Inheritance
Textbox
Derived Class
27. Command which runs repeatedly while (some) condition is true.
While Statement
ulong - Size
Partial Method Modifier
Relational Operator
28. Represents date and time data with a 100 ns resolution
Class Statement
DateTime
IDE
Partial Method Modifier
29. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Method
Keyword
Data structures
30. Groups classes together so that they have a unique identifier
returnType methodName (parameterList)
Virtual Method Modifier
Namespace
Inheritance
31. (= or += or -= or = or /=)
uint - .NET alias
uint - Size
Assignment Operator
Statement
32. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Object
Identifiers
Framework Class Library (FCL)
33. 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
Protected Internal Access Modifier
Variable (C# requirements)
Abstraction
34. Command Language Runtime
Class aka Type
CLR
Abstract Method Modifier
Window.xaml.cs
35. Windows Presentation Foundation
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
byte - .NET alias
W.P.F
Comments
36. Series of instructions which tell a computer what to do.
Data structures
Protected Internal Access Modifier
Program
csc.exe
37. A Class from which other classes can inherit characteristics.
Base Class
Namespace
Sealed Class
Polymorphism
38. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
ulong - .NET alias
Expression
Base Class
Partial Method Modifier
39. 32 bit - unsigned integer data
Overloaded Method
uint - Size
Static Member
Object
40. System.UInt64
Class
Heap
Dot Notation
ulong - .NET alias
41. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Boolean Operator
byte - Size
Visual Studio Solution
Intermediate Language (IL)
42. System.Decimal
Protected Internal Access Modifier
uint - .NET alias
W.P.F
decimal - .NET alias
43. 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
Static Class
Label
Dot Notation
Decimal (or decimal) - Size
44. A Class that inherits characteristics from another Class.
Conditional Operator
Internal Access Modifier
Derived Class
Static Class
45. Symbols which transform and combine expressions
Derived Class
Operator
double - .NET alias
Expression
46. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Operator
Class
csc.exe
Array
47. The "Type" name of data that is stored on the Heap
Incrementing / Decrementing Variables
Reference Type
using
Parameter aka Argument
48. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
References (Visual Studio Solution
Variable
Strong Typing
49. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Properties
Object
Inheritance
Console Application
50. (< or > or <= or >=)
Label
String (or string)
Virtual Method Modifier
Relational Operator