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. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Precedence
Visual Studio Solution
Method
Assembly
2. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Parameter aka Argument
double - .NET alias
Field
3. 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)
Dot Notation
float - .NET alias
Boolean Operator
Class
4. Microsoft's generic software framework for application development.
CLR
uint - .NET alias
Abstraction
NET
5. Framework Class Library
Label
FCL
Statement
Dot Notation
6. 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
Public Keyword
int - Size
Identifiers
Object
7. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
Keyword
Variable (C# requirements)
Partial Method Modifier
long - Size
8. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
W.P.F
Abstract Class Modifier
float - .NET alias
Statement
9. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Constructor
Class aka Type
Boolean - Size
10. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Encapsulation
Sealed Class
Operator
Data structures
11. 16 bit - signed integer data (-32768 to 32767)
short - Size
While Statement
Virtual Method Modifier
Textbox
12. count = count+1 or count++ or count__. Both count variables are Unary Operators
Abstraction
Operator
Incrementing / Decrementing Variables
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
13. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Expression
Namespace
Partial Method Modifier
Identifiers
14. Allows the definition of a Class to span multiple files (within the same Project)
Int64 - Size
Relational Operator
JIT
Partial Class Modifier
15. Just-in-time compilation
Derived Class
Encapsulation
Visual Studio Solution
JIT
16. Field whose value can never change. Declared with 'const' keyword
Encapsulation
Float (or float) - Size
Incrementing / Decrementing Variables
Constant
17. System.Int16
using
Object
short - .NET alias
Keyword
18. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Static Class
Keyword
Reference Type
19. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Constant
Variable (C# requirements)
Visual Studio Solution
20. 128 bit fixed precision (financial)
Class
Decimal (or decimal) - Size
Common Language Runtime (CLR)
Field
21. true or false
Program
FCL
bool - Size
ulong - .NET alias
22. A Class that cannot be Inherited
char - Size
Visual Studio Solution
Sealed Class
Public Keyword
23. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Double (or double) - Size
JITer
Encapsulation
Namespace
24. Syntax of a C# Method
returnType methodName (parameterList)
Expression
Class aka Type
Constant
25. Mathematical (+ or - or / or %)
Textbox
Operator
ushort - .NET alias
Abstract Method Modifier
26. Restricts access to a Member to the current Class.
Assignment Operator
Syntax
Private Access Modifier
Sealed Class
27. System.SByte
Abstraction
sbyte - .NET alias
ulong - Size
Protected Access Modifier
28. 8 bit - unsigned byte (0 - 255)
double - .NET alias
byte - Size
sbyte - Size
Data structures
29. Sits behind GUI (Graphical User Interface) and provides event listeners
Heap
Window.xaml.cs
Method
Program
30. Symbols which transform and combine expressions
Equality Operator
Label
Variable (C# requirements)
Operator
31. The "Type" name of data that is stored on the Stack
sbyte - Size
Encapsulation
Value Type
Visual Studio Solution
32. System.UInt64
int - Size
Inheritance
Primitive Type
ulong - .NET alias
33. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Double (or double) - Size
Intermediate Language (IL)
Just-in-time (JIT
Public Keyword
34. Variables defined by a class
Protected Internal Access Modifier
Operator
Field
Abstraction
35. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
using
Protected Internal Access Modifier
Field
36. Represents date and time data with a 100 ns resolution
DateTime
Public Keyword
csc.exe
Constant
37. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Textbox
csc.exe
Comments
Static Class
38. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Object
If Statement
Conditional Operator
39. 64 bit - unsigned integer data
returnType methodName (parameterList)
ulong - Size
char - Size
Statement
40. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
If Statement
Internal Access Modifier
byte - .NET alias
41. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
float - .NET alias
Expression
Protected Access Modifier
42. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Primitive
String (or string)
Operator
Inheritance
43. System.Byte
Heap
Framework Class Library (FCL)
byte - .NET alias
Constant
44. The process of compiling IL source into CPU-native code for execution.
FCL
Int32 - Size
Abstract Method Modifier
Just-in-time (JIT
45. A Class that cannot be instantiated.
Strong Typing
Static Class
Array
NET
46. (== or !=)
Primitive Type
Polymorphism
Equality Operator
Variable
47. 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.
Partial Class Modifier
Variable
Float (or float) - Size
Abstract Method Modifier
48. 64 bit integer data
IDE
Unary Operator
Virtual Method Modifier
Int64 - Size
49. 32 bit integer data
int - Size
short - .NET alias
Operator
Virtual Method Modifier
50. Command Language Runtime
Encapsulation
Abstract Method Modifier
CLR
ushort - Size