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 four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Internal Access Modifier
returnType methodName (parameterList)
Inheritance
double - .NET alias
2. Framework Class Library
FCL
Identifiers
Static Member
Protected Internal Access Modifier
3. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Abstract Method Modifier
String (or string)
byte - Size
4. Groups classes together so that they have a unique identifier
Namespace
Common Language Runtime (CLR)
Static Member
Strong Typing
5. Keyword which exposes members to other classes OR Identifier which makes program elements public
byte - .NET alias
Public Keyword
float - .NET alias
Statement
6. A Class from which other classes can inherit characteristics.
Assembly
Protected Internal Access Modifier
Strong Typing
Base Class
7. Contains the class definitions that allow access to the functionality provided by .NET.
Expression
Field
Data structures
Framework Class Library (FCL)
8. 64 bit double precision floating point data
Protected Access Modifier
Assembly
Partial Method Modifier
Double (or double) - Size
9. Field whose value can never change. Declared with 'const' keyword
Intermediate Language (IL)
Equality Operator
Variable (C# requirements)
Constant
10. Something that has a different number of parameters to it's predecessor
Inheritance
Polymorphism
Heap
Overloaded Method
11. Code which signifies a carriage return. Symbolises a new line in a text box.
Namespace
Primitive
Variable (C# requirements)
r
12. Restricts access to a Member to the current Class.
Parameter aka Argument
Statement
Private Access Modifier
Abstract Method Modifier
13. Text as Unicode characters
Public Keyword
String (or string)
Operator
Reference Type
14. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Private Access Modifier
Statement
Operator
Namespace
15. System.UInt64
ulong - .NET alias
Inheritance
Protected Internal Access Modifier
sbyte - Size
16. A Class that cannot be instantiated.
returnType methodName (parameterList)
Static Class
Boolean Operator
NET
17. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Window.xaml.cs
Decimal (or decimal) - Size
String (or string)
18. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Class Statement
Object
Properties
19. true or false
Operator
Identifiers
bool - Size
Stack
20. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
byte - .NET alias
Polymorphism
Static Member
sbyte - .NET alias
21. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Value Type
Object
Protected Internal Access Modifier
22. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Operator
Method
r
Statement
23. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Reference Type
Float (or float) - Size
Precedence
Statement
24. System.Char
Encapsulation
returnType methodName (parameterList)
char - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
25. Command which runs repeatedly while (some) condition is true.
While Statement
Keyword
Abstract Class Modifier
Common Language Runtime (CLR)
26. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Boolean - Size
Variable
r
27. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Abstraction
bool - Size
Syntax
28. 32 bit integer data
Int32 - Size
Constructor
Syntax
Static Class
29. (&& or || or & or |)
Value Type
Conditional Operator
Comments
sbyte - Size
30. 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)
Just-in-time (JIT
Keyword
Internal Access Modifier
Boolean Operator
31. System.Double
Operator
Encapsulation
Operator
double - .NET alias
32. (== or !=)
Program
Equality Operator
csc.exe
Value Type
33. Mathematical (+ or - or / or %)
Partial Class Modifier
int - Size
Operator
Internal Access Modifier
34. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Class Statement
Assembly
Base Class
Internal Access Modifier
35. A method that is called whenever an Object is created. The method uses the same name as the Class.
Namespace
Constructor
Label
Console Application
36. A Class that can only have Static Members
Reference Type
Syntax
Primitive Type
Static Class
37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Internal Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Method
Primitive Type
38. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Constant
Stack
float - .NET alias
39. 8 bit - signed byte (-128 - 127)
Inheritance
sbyte - Size
Primitive
Namespace
40. Just-in-time compilation
JIT
Internal Access Modifier
Encapsulation
Unary Operator
41. 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.
Common Language Runtime (CLR)
Static Class
using
Abstract Method Modifier
42. count = count+1 or count++ or count__. Both count variables are Unary Operators
Framework Class Library (FCL)
Incrementing / Decrementing Variables
Stack
Array
43. System.Int64
Precedence
C#
Reference Type
long - .NET alias
44. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Overloaded Method
float - .NET alias
csc.exe
byte - Size
45. 8 bit - unsigned byte (0 - 255)
Syntax
Just-in-time (JIT
byte - Size
long - Size
46. Indicates that the Method can be overridden.
Window.xaml.cs
DateTime
uint - Size
Virtual Method Modifier
47. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Int64 - Size
Private Access Modifier
Incrementing / Decrementing Variables
If Statement
48. (= or += or -= or = or /=)
float - .NET alias
Assignment Operator
Float (or float) - Size
Data structures
49. 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
Static Member
Comments
Heap
Derived Class
50. A Class that inherits characteristics from another Class.
CLR
Public Keyword
Derived Class
Identifiers