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. 16 bit - signed integer data (-32768 to 32767)
Label
short - Size
Public Keyword
IDE
2. Groups classes together so that they have a unique identifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Namespace
Assembly
Variable
3. Restricts access to a Member to the current Class and any Derived Class.
Sealed Class
Just-in-time (JIT
Class aka Type
Protected Access Modifier
4. Text as Unicode characters
sbyte - .NET alias
String (or string)
Precedence
Comments
5. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Expression
Parameter aka Argument
Strong Typing
using
6. Names reserved by the compiler that coders are not allowed to use as identifiers.
Class
Incrementing / Decrementing Variables
Keyword
JITer
7. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Assembly
Stack
Equality Operator
Abstract Class Modifier
8. 8 bit - unsigned byte (0 - 255)
byte - Size
W.P.F
Incrementing / Decrementing Variables
Common Language Runtime (CLR)
9. 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
Object
Class Statement
short - .NET alias
Operator
10. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
If Statement
Class
Visual Studio Solution
Method
11. 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.
Strong Typing
Partial Class Modifier
Label
Abstract Method Modifier
12. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
sbyte - .NET alias
Precedence
Internal Access Modifier
Relational Operator
13. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Class Statement
Conditional Operator
Inheritance
Dot Notation
14. 32 bit integer data
Constant
Int32 - Size
Inheritance
Primitive
15. System.UInt16
Int64 - Size
Class Statement
References (Visual Studio Solution
ushort - .NET alias
16. 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.
Dot Notation
Stack
Namespace
Encapsulation
17. 32 bit integer data
FCL
Syntax
CLR
int - Size
18. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Constant
Strong Typing
Protected Internal Access Modifier
If Statement
19. 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
Class
References (Visual Studio Solution
20. true or false
Object
Class aka Type
bool - Size
Partial Class Modifier
21. Mathematical (+ or - or / or %)
returnType methodName (parameterList)
Operator
Statement
Int64 - Size
22. Allow access to types that exist in outside assemblies.
Public Keyword
References (Visual Studio Solution
csc.exe
Equality Operator
23. Series of instructions which tell a computer what to do.
sbyte - Size
Keyword
Program
short - .NET alias
24. 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.
Constant
Public Keyword
Polymorphism
Identifiers
25. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Variable (C# requirements)
uint - .NET alias
int - .NET alias
JITer
26. Integrated Development Environment
Stack
Properties
Reference Type
IDE
27. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
int - .NET alias
Intermediate Language (IL)
Reference Type
long - .NET alias
28. Something that has a different number of parameters to it's predecessor
Operator
ulong - .NET alias
Overloaded Method
Properties
29. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Internal Access Modifier
sbyte - Size
Statement
Syntax
30. Must have a data type
Variable (C# requirements)
Visual Studio Solution
Just-in-time (JIT
Window.xaml.cs
31. (== or !=)
Int32 - Size
long - Size
Just-in-time (JIT
Equality Operator
32. Container for one or more Visual Studio Projects.
References (Visual Studio Solution
Visual Studio Solution
Data structures
Sealed Class
33. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Overloaded Method
int - Size
Derived Class
34. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Expression
Int32 - Size
ushort - .NET alias
Inheritance
35. true or false
Reference Type
short - Size
Boolean - Size
Namespace
36. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
short - .NET alias
Stack
Encapsulation
Abstraction
37. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
using
Sealed Class
Object
Console Application
38. A symbol that specifies an operation to be performed on one or more variables.
Method
short - Size
Intermediate Language (IL)
Operator
39. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Conditional Operator
Variable
Partial Class Modifier
40. (&& or || or & or |)
Boolean - Size
double - .NET alias
Conditional Operator
Statement
41. Extra information within a method
Parameter aka Argument
Unary Operator
Relational Operator
Object
42. Introduces a new class. Marked by curly brackets { }
Unary Operator
Class Statement
CLR
Object
43. The lowest level or fundamental data types needed for representing data.
While Statement
Constructor
ulong - .NET alias
Primitive Type
44. A Class from which other classes can inherit characteristics.
Strong Typing
FCL
Derived Class
Base Class
45. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Assembly
Partial Method Modifier
Array
using
46. Microsoft's generic software framework for application development.
NET
JIT
W.P.F
Object
47. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Array
Value Type
If Statement
int - Size
48. Represents the encapsulation of data and behaviors into a single unit.
char - Size
float - .NET alias
Class Statement
Class
49. Most common kind of reference type. They define objects. They must have at least one method and one field.
Dot Notation
CLR
Class aka Type
Class
50. An instance of a class that exists at run-time and is typically referenced via a variable name.
Method
Precedence
Identifiers
Object