SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Array
Intermediate Language (IL)
using
Decimal (or decimal) - Size
2. Indicates that the Method can be overridden.
DateTime
Incrementing / Decrementing Variables
Virtual Method Modifier
Statement
3. Microsoft's generic software framework for application development.
Boolean - Size
NET
Abstract Class Modifier
int - .NET alias
4. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
sbyte - Size
Precedence
Dot Notation
Method
5. A type of statement that produces a value that might be tested or assigned to a variable.
Decimal (or decimal) - Size
Expression
References (Visual Studio Solution
Operator
6. (= or += or -= or = or /=)
Unary Operator
Assignment Operator
using
Polymorphism
7. System.UInt16
Primitive Type
Syntax
sbyte - Size
ushort - .NET alias
8. Keyword which exposes members to other classes OR Identifier which makes program elements public
Program
Unary Operator
Public Keyword
Equality Operator
9. System.UInt32
Boolean Operator
uint - Size
Strong Typing
uint - .NET alias
10. 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.
Partial Method Modifier
Unary Operator
Operator
Framework Class Library (FCL)
11. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
ushort - Size
Console Application
Decimal (or decimal) - Size
byte - Size
12. System.UInt64
Keyword
ulong - .NET alias
short - Size
Overloaded Method
13. Command which runs repeatedly while (some) condition is true.
Overloaded Method
Heap
Variable
While Statement
14. Names reserved by the compiler that coders are not allowed to use as identifiers.
Static Class
Class aka Type
Keyword
decimal - .NET alias
15. Must have a data type
Assembly
FCL
Variable (C# requirements)
Partial Class Modifier
16. System.Decimal
Encapsulation
Abstract Method Modifier
decimal - .NET alias
Internal Access Modifier
17. 64 bit integer data
Dot Notation
Keyword
long - Size
Boolean Operator
18. Just-in-time compilation
Object
DateTime
char - .NET alias
JIT
19. 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.
Common Language Runtime (CLR)
Encapsulation
Object
Protected Access Modifier
20. Symbols which transform and combine expressions
Virtual Method Modifier
Framework Class Library (FCL)
Operator
Keyword
21. 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.
Expression
Abstract Method Modifier
ulong - .NET alias
ushort - .NET alias
22. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Protected Access Modifier
Class
Data structures
uint - .NET alias
23. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Expression
Primitive Type
W.P.F
24. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
char - Size
If Statement
Class aka Type
Assignment Operator
25. (< or > or <= or >=)
int - Size
Primitive
Relational Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. 32 bit single precision floating point data
Keyword
Sealed Class
Float (or float) - Size
FCL
27. System.Single
Operator
Statement
Inheritance
float - .NET alias
28. 64 bit - unsigned integer data
Public Keyword
ulong - Size
Encapsulation
Inheritance
29. 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
Operator
Assembly
DateTime
Dot Notation
30. Code which signifies a carriage return. Symbolises a new line in a text box.
Assembly
r
Partial Method Modifier
Partial Class Modifier
31. A representation of an area in the computer memory in which a value of a particular data type can be stored.
uint - .NET alias
Variable
Protected Access Modifier
short - .NET alias
32. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
float - .NET alias
Method
Expression
byte - .NET alias
33. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
If Statement
byte - .NET alias
Assignment Operator
Inheritance
34. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Common Language Runtime (CLR)
Inheritance
References (Visual Studio Solution
35. The "Type" name of data that is stored on the Heap
Object
Reference Type
ushort - Size
References (Visual Studio Solution
36. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Conditional Operator
Unary Operator
ulong - .NET alias
37. The .NET run-time environment that enables code to be compiled and executed.
Int32 - Size
Array
Common Language Runtime (CLR)
C#
38. Represents date and time data with a 100 ns resolution
DateTime
Namespace
using
Operator
39. 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
Equality Operator
Value Type
Boolean Operator
40. A Class that inherits characteristics from another Class.
Derived Class
Program
Constructor
returnType methodName (parameterList)
41. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Base Class
Partial Method Modifier
Method
42. 32 bit integer data
Int32 - Size
uint - Size
Strong Typing
Namespace
43. 16 bit- unsigned word (U+0000 to U+ffff)
Operator
Encapsulation
Object
char - Size
44. Variables defined by a class
Encapsulation
Static Member
Field
FCL
45. 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)
byte - .NET alias
Method
Data structures
Boolean Operator
46. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable (C# requirements)
W.P.F
Public Keyword
47. A method that is called whenever an Object is created. The method uses the same name as the Class.
String (or string)
Constructor
Common Language Runtime (CLR)
Assembly
48. true or false
Boolean - Size
Overloaded Method
ulong - .NET alias
csc.exe
49. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Dot Notation
Parameter aka Argument
Class aka Type
50. Extra information within a method
uint - .NET alias
Operator
Base Class
Parameter aka Argument