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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Primitive Type
Precedence
Label
float - .NET alias
2. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
byte - Size
using
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
W.P.F
3. Introduces a new class. Marked by curly brackets { }
String (or string)
Identifiers
Class Statement
Double (or double) - Size
4. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Program
C#
Parameter aka Argument
Inheritance
5. The "Type" name of data that is stored on the Heap
CLR
Assembly
long - .NET alias
Reference Type
6. 64 bit integer data
Int64 - Size
Window.xaml.cs
Base Class
uint - .NET alias
7. An instance of a class that exists at run-time and is typically referenced via a variable name.
byte - Size
JITer
Object
ushort - Size
8. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
double - .NET alias
If Statement
Value Type
Comments
9. Variables defined by a class
Object
Assembly
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Field
10. 8 bit - signed byte (-128 - 127)
Statement
sbyte - Size
Static Member
Namespace
11. A method that is called whenever an Object is created. The method uses the same name as the Class.
Statement
Variable
Constructor
Private Access Modifier
12. 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)
Public Keyword
Boolean Operator
Static Class
Protected Internal Access Modifier
13. Code which signifies a carriage return. Symbolises a new line in a text box.
Relational Operator
sbyte - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
r
14. System.Int64
Precedence
ulong - Size
long - .NET alias
Equality Operator
15. (< or > or <= or >=)
Relational Operator
Private Access Modifier
Primitive
Data structures
16. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
NET
Inheritance
Object
17. Field whose value can never change. Declared with 'const' keyword
ulong - .NET alias
Constant
References (Visual Studio Solution
Double (or double) - Size
18. Most common kind of reference type. They define objects. They must have at least one method and one field.
Label
decimal - .NET alias
Class aka Type
Virtual Method Modifier
19. Used to display text that end user does not need to edit.
Method
Variable
Label
r
20. Groups classes together so that they have a unique identifier
uint - .NET alias
String (or string)
Data structures
Namespace
21. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Operator
Common Language Runtime (CLR)
Textbox
Abstract Method Modifier
22. Text as Unicode characters
String (or string)
Conditional Operator
Array
Abstract Class Modifier
23. true or false
Encapsulation
Method
bool - Size
Overloaded Method
24. Compilation of classes. In C# Usually ends in .dll or .exe
Method
Textbox
uint - .NET alias
Assembly
25. true or false
csc.exe
Method
Conditional Operator
Boolean - Size
26. 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)
byte - .NET alias
Assembly
int - Size
27. 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
Internal Access Modifier
Assembly
Abstract Class Modifier
Dot Notation
28. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Dot Notation
Constant
decimal - .NET alias
29. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
float - .NET alias
Properties
Label
30. The lowest level or fundamental data types needed for representing data.
References (Visual Studio Solution
Comments
Parameter aka Argument
Primitive Type
31. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Class aka Type
Static Class
Inheritance
DateTime
32. System.Double
Array
short - .NET alias
double - .NET alias
uint - .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
Expression
Polymorphism
sbyte - Size
Framework Class Library (FCL)
34. Represents the encapsulation of data and behaviors into a single unit.
long - Size
Object
Boolean Operator
Class
35. Syntax of a C# Method
returnType methodName (parameterList)
If Statement
char - Size
Array
36. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Inheritance
Operator
Abstract Method Modifier
37. A type of statement that produces a value that might be tested or assigned to a variable.
Assembly
Expression
JITer
sbyte - Size
38. Microsoft's generic software framework for application development.
Boolean Operator
Operator
NET
Constant
39. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
sbyte - .NET alias
Precedence
Primitive
40. System.Byte
Syntax
byte - .NET alias
Heap
ulong - Size
41. System.Single
Data structures
Precedence
double - .NET alias
float - .NET alias
42. 8 bit - unsigned byte (0 - 255)
byte - Size
ushort - .NET alias
Class Statement
Strong Typing
43. Series of instructions which tell a computer what to do.
While Statement
Program
Partial Class Modifier
Constructor
44. System.Int16
Label
ushort - Size
short - .NET alias
Incrementing / Decrementing Variables
45. Represents date and time data with a 100 ns resolution
Statement
Assembly
DateTime
Virtual Method Modifier
46. Command Language Runtime
Static Class
Window.xaml.cs
double - .NET alias
CLR
47. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Class
Console Application
Protected Internal Access Modifier
48. A Member that cannot be accessed/invoked through an Object Instance.
Identifiers
Static Member
References (Visual Studio Solution
Heap
49. (== or !=)
Equality Operator
Encapsulation
char - Size
Inheritance
50. 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.
Identifiers
Inheritance
char - .NET alias
Window.xaml.cs