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. Microsoft's generic software framework for application development.
int - Size
Overloaded Method
NET
Assembly
2. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Inheritance
sbyte - Size
Assignment Operator
Data structures
3. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
returnType methodName (parameterList)
Method
Class Statement
csc.exe
4. The process of compiling IL source into CPU-native code for execution.
Textbox
Program
FCL
Just-in-time (JIT
5. The process of hiding and restricting access to the implementation details of a data structure.
Protected Access Modifier
NET
char - Size
Encapsulation
6. Windows Presentation Foundation
Float (or float) - Size
Assignment Operator
W.P.F
DateTime
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.
Int64 - Size
using
Partial Method Modifier
Abstract Method Modifier
8. (= or += or -= or = or /=)
bool - Size
Protected Access Modifier
Heap
Assignment Operator
9. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Primitive Type
Unary Operator
While Statement
If Statement
10. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Dot Notation
W.P.F
Method
Conditional Operator
11. System.Double
double - .NET alias
Conditional Operator
Operator
Data structures
12. 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
long - .NET alias
Constant
bool - Size
Heap
13. Integrated Development Environment
Field
String (or string)
Int32 - Size
IDE
14. System.UInt32
uint - .NET alias
Object
ushort - .NET alias
Primitive Type
15. System.Int32
Partial Method Modifier
r
byte - Size
int - .NET alias
16. Mathematical (+ or - or / or %)
Boolean Operator
If Statement
returnType methodName (parameterList)
Operator
17. The lowest level or fundamental data types needed for representing data.
uint - .NET alias
Namespace
JITer
Primitive Type
18. true or false
Boolean - Size
Inheritance
csc.exe
Operator
19. 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
Label
Constructor
Object
ulong - Size
20. Code which implements GUI (graphical User Interface).
Class Statement
Console Application
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Boolean - Size
21. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Properties
Polymorphism
ushort - .NET alias
If Statement
22. The .NET run-time environment that enables code to be compiled and executed.
Primitive
ushort - Size
Object
Common Language Runtime (CLR)
23. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Operator
Visual Studio Solution
Statement
Precedence
24. Must have a data type
long - .NET alias
Derived Class
ushort - Size
Variable (C# requirements)
25. System.Int64
Common Language Runtime (CLR)
long - .NET alias
Encapsulation
Namespace
26. Allow access to types that exist in outside assemblies.
ushort - .NET alias
Decimal (or decimal) - Size
CLR
References (Visual Studio Solution
27. Syntax of a C# Method
Int32 - Size
Equality Operator
returnType methodName (parameterList)
Double (or double) - Size
28. 64 bit - unsigned integer data
Virtual Method Modifier
ulong - Size
Conditional Operator
Variable
29. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Namespace
Equality Operator
Stack
Variable
30. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Assignment Operator
Statement
Syntax
Object
31. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Class aka Type
Primitive
ushort - .NET alias
JITer
32. 32 bit integer data
Just-in-time (JIT
Operator
decimal - .NET alias
Int32 - Size
33. true or false
Precedence
Internal Access Modifier
Object
bool - Size
34. 32 bit integer data
Boolean - Size
int - Size
Keyword
Program
35. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
If Statement
W.P.F
returnType methodName (parameterList)
Inheritance
36. 8 bit - signed byte (-128 - 127)
Statement
Class aka Type
sbyte - Size
Common Language Runtime (CLR)
37. Command Language Runtime
Inheritance
Static Class
CLR
Operator
38. Extra information within a method
Assembly
Textbox
Overloaded Method
Parameter aka Argument
39. A type of statement that produces a value that might be tested or assigned to a variable.
Reference Type
Expression
Inheritance
Base Class
40. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Encapsulation
Statement
Class
short - Size
41. (== or !=)
int - .NET alias
Equality Operator
int - Size
Encapsulation
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
Reference Type
Dot Notation
Object
Protected Access Modifier
43. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
NET
Label
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Array
44. Groups classes together so that they have a unique identifier
Base Class
char - Size
Heap
Namespace
45. Only requires one operand usually a count+1 or a count++ or a count--
ushort - .NET alias
Heap
Unary Operator
Label
46. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
decimal - .NET alias
Namespace
short - .NET alias
long - Size
47. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
double - .NET alias
Program
Abstraction
Common Language Runtime (CLR)
48. 32 bit single precision floating point data
Float (or float) - Size
Namespace
FCL
Reference Type
49. Restricts access to a Member to the current Class and any Derived Class.
Array
Protected Access Modifier
short - .NET alias
Incrementing / Decrementing Variables
50. System.Int16
Float (or float) - Size
Protected Internal Access Modifier
short - .NET alias
W.P.F