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. Windows Presentation Foundation
W.P.F
Method
ulong - Size
Expression
2. A method that is called whenever an Object is created. The method uses the same name as the Class.
r
int - .NET alias
Constructor
If Statement
3. System.UInt32
Boolean - Size
uint - .NET alias
Float (or float) - Size
Dot Notation
4. Syntax of a C# Method
returnType methodName (parameterList)
Identifiers
String (or string)
csc.exe
5. Only requires one operand usually a count+1 or a count++ or a count--
Encapsulation
Unary Operator
Statement
Program
6. An instance of a class that exists at run-time and is typically referenced via a variable name.
Parameter aka Argument
References (Visual Studio Solution
Object
Operator
7. 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
Heap
Common Language Runtime (CLR)
Operator
double - .NET alias
8. Code which signifies a carriage return. Symbolises a new line in a text box.
Primitive
Primitive Type
r
Boolean Operator
9. 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
Data structures
Int32 - Size
Variable
Dot Notation
10. System.Double
Statement
Reference Type
double - .NET alias
float - .NET alias
11. A Class that inherits characteristics from another Class.
Derived Class
Method
Encapsulation
Static Class
12. System.Decimal
decimal - .NET alias
Incrementing / Decrementing Variables
Stack
Encapsulation
13. Code which implements GUI (graphical User Interface).
Variable
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
Inheritance
14. 32 bit integer data
Int32 - Size
ulong - Size
Framework Class Library (FCL)
IDE
15. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Private Access Modifier
uint - .NET alias
Protected Access Modifier
16. true or false
Visual Studio Solution
Common Language Runtime (CLR)
Conditional Operator
Boolean - Size
17. System.Char
Int64 - Size
Properties
char - .NET alias
Static Class
18. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
decimal - .NET alias
Precedence
char - .NET alias
If Statement
19. Must have a data type
Variable (C# requirements)
short - Size
Object
Sealed Class
20. (&& or || or & or |)
Variable
Common Language Runtime (CLR)
Incrementing / Decrementing Variables
Conditional Operator
21. 32 bit integer data
short - .NET alias
long - Size
Primitive Type
int - Size
22. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
JIT
Inheritance
Stack
Float (or float) - Size
23. 32 bit single precision floating point data
Float (or float) - Size
Method
Reference Type
sbyte - .NET alias
24. Text as Unicode characters
Statement
Protected Internal Access Modifier
String (or string)
Primitive
25. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Polymorphism
Partial Method Modifier
Framework Class Library (FCL)
26. 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
Statement
Object
Int64 - Size
Float (or float) - Size
27. count = count+1 or count++ or count__. Both count variables are Unary Operators
Method
Value Type
Incrementing / Decrementing Variables
Internal Access Modifier
28. 8 bit - signed byte (-128 - 127)
sbyte - Size
char - .NET alias
Constant
Window.xaml.cs
29. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Variable (C# requirements)
Incrementing / Decrementing Variables
Assembly
uint - .NET alias
30. A symbol that specifies an operation to be performed on one or more variables.
Abstract Method Modifier
Operator
W.P.F
Decimal (or decimal) - Size
31. Introduces a new class. Marked by curly brackets { }
Class Statement
While Statement
Encapsulation
Variable
32. Series of instructions which tell a computer what to do.
long - Size
Program
Abstract Method Modifier
Partial Method Modifier
33. System.Single
char - .NET alias
Variable (C# requirements)
Public Keyword
float - .NET alias
34. System.SByte
sbyte - .NET alias
Constructor
decimal - .NET alias
Value Type
35. Command which runs repeatedly while (some) condition is true.
While Statement
Assembly
Polymorphism
Boolean Operator
36. System.UInt16
Common Language Runtime (CLR)
short - Size
ushort - .NET alias
Textbox
37. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Stack
Statement
Strong Typing
Method
38. Represents date and time data with a 100 ns resolution
DateTime
Just-in-time (JIT
Conditional Operator
Program
39. Groups classes together so that they have a unique identifier
Namespace
Static Class
DateTime
Dot Notation
40. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
int - .NET alias
JIT
Framework Class Library (FCL)
Method
41. true or false
csc.exe
Public Keyword
Virtual Method Modifier
bool - Size
42. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Statement
ulong - Size
Polymorphism
int - .NET alias
43. The member type of a Class that performs an action.
Method
ulong - Size
Field
Properties
44. Symbols which transform and combine expressions
Partial Class Modifier
Operator
Label
Protected Access Modifier
45. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Double (or double) - Size
long - Size
Statement
returnType methodName (parameterList)
46. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Unary Operator
Statement
Abstract Method Modifier
NET
47. Represents the encapsulation of data and behaviors into a single unit.
Value Type
Int64 - Size
ulong - .NET alias
Class
48. 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.
int - .NET alias
Primitive Type
Encapsulation
Internal Access Modifier
49. (== or !=)
Inheritance
Equality Operator
Inheritance
Assembly
50. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Object
Relational Operator
C#