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. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Heap
byte - .NET alias
Statement
ulong - Size
2. 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.
Just-in-time (JIT
CLR
Virtual Method Modifier
Identifiers
3. 32 bit - unsigned integer data
Visual Studio Solution
Namespace
Operator
uint - Size
4. Allows the definition of a Class to span multiple files (within the same Project)
CLR
Public Keyword
int - .NET alias
Partial Class Modifier
5. The member type of a Class that performs an action.
r
Method
Inheritance
Abstract Method Modifier
6. Must have a data type
Constant
Variable (C# requirements)
Properties
Overloaded Method
7. A Member that cannot be accessed/invoked through an Object Instance.
Object
Polymorphism
Constant
Static Member
8. The process of compiling IL source into CPU-native code for execution.
csc.exe
Static Member
Just-in-time (JIT
Protected Internal Access Modifier
9. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
uint - Size
Field
Assembly
Partial Class Modifier
10. Windows Presentation Foundation
Properties
Static Class
W.P.F
char - .NET alias
11. 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.
IDE
char - Size
Assignment Operator
Encapsulation
12. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
References (Visual Studio Solution
Just-in-time (JIT
csc.exe
Encapsulation
13. System.UInt32
Framework Class Library (FCL)
Protected Internal Access Modifier
uint - .NET alias
Boolean - Size
14. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Boolean - Size
Window.xaml.cs
csc.exe
Console Application
15. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Window.xaml.cs
Constructor
Expression
using
16. 16 bit- unsigned word (U+0000 to U+ffff)
Partial Class Modifier
char - Size
Identifiers
int - .NET alias
17. A Class from which other classes can inherit characteristics.
Expression
Base Class
float - .NET alias
Virtual Method Modifier
18. System.UInt16
Equality Operator
NET
Statement
ushort - .NET alias
19. true or false
Abstract Method Modifier
Internal Access Modifier
Boolean - Size
Operator
20. 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.
CLR
Static Class
Abstract Method Modifier
While Statement
21. 16 bit - signed integer data (-32768 to 32767)
Method
Stack
Identifiers
short - Size
22. 32 bit integer data
JITer
Partial Method Modifier
Int32 - Size
Primitive Type
23. Text as Unicode characters
char - .NET alias
String (or string)
Constant
Console Application
24. 16 bit - unsigned integer data (0 to 65535)
decimal - .NET alias
long - Size
ushort - Size
Assignment Operator
25. Just-in-time compilation
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
JIT
NET
long - Size
26. 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
Inheritance
Intermediate Language (IL)
Heap
Equality Operator
27. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Just-in-time (JIT
Expression
r
28. Access is limited to the current Assembly and Derived Types
Precedence
Protected Internal Access Modifier
Keyword
Double (or double) - Size
29. 64 bit integer data
Int64 - Size
Constant
float - .NET alias
ushort - Size
30. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
char - Size
Object
Relational Operator
double - .NET alias
31. 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
Framework Class Library (FCL)
Strong Typing
Namespace
Dot Notation
32. Keyword which exposes members to other classes OR Identifier which makes program elements public
Assembly
Field
Public Keyword
char - Size
33. Restricts access to a Member to the current Class.
Strong Typing
Private Access Modifier
Expression
int - .NET alias
34. Code which implements GUI (graphical User Interface).
DateTime
Console Application
Window.xaml.cs
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
35. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
byte - Size
Polymorphism
Overloaded Method
Intermediate Language (IL)
36. A method that is called whenever an Object is created. The method uses the same name as the Class.
bool - Size
Constructor
String (or string)
Partial Method Modifier
37. 32 bit single precision floating point data
Float (or float) - Size
Data structures
NET
Primitive
38. System.Char
char - .NET alias
byte - .NET alias
int - .NET alias
Public Keyword
39. Symbols which transform and combine expressions
W.P.F
Operator
Abstract Method Modifier
Decimal (or decimal) - Size
40. Represents the encapsulation of data and behaviors into a single unit.
Value Type
Visual Studio Solution
Class
Assignment Operator
41. 8 bit - unsigned byte (0 - 255)
byte - Size
Partial Method Modifier
Primitive
Inheritance
42. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
ulong - Size
If Statement
csc.exe
43. Groups classes together so that they have a unique identifier
Namespace
NET
uint - Size
Textbox
44. Indicates that the Method can be overridden.
Statement
Constant
Virtual Method Modifier
Data structures
45. Introduces a new class. Marked by curly brackets { }
DateTime
Operator
Class Statement
Private Access Modifier
46. Compilation of classes. In C# Usually ends in .dll or .exe
String (or string)
Assignment Operator
Assembly
sbyte - .NET alias
47. Command which runs repeatedly while (some) condition is true.
Variable
While Statement
Console Application
float - .NET alias
48. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Incrementing / Decrementing Variables
Object
sbyte - Size
49. System.Int64
Data structures
Operator
long - .NET alias
Equality Operator
50. System.Byte
Inheritance
Method
Parameter aka Argument
byte - .NET alias