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. A Class from which other classes can inherit characteristics.
Syntax
Double (or double) - Size
Base Class
csc.exe
2. System.UInt16
ushort - .NET alias
IDE
Equality Operator
short - .NET alias
3. System.Single
Float (or float) - Size
float - .NET alias
double - .NET alias
Derived Class
4. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Static Member
Array
Unary Operator
Visual Studio Solution
5. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Syntax
Abstraction
JITer
Textbox
6. The process of hiding and restricting access to the implementation details of a data structure.
int - .NET alias
Variable (C# requirements)
Namespace
Encapsulation
7. Extra information within a method
Partial Class Modifier
Parameter aka Argument
Conditional Operator
Operator
8. 16 bit - unsigned integer data (0 to 65535)
Decimal (or decimal) - Size
char - .NET alias
ushort - Size
C#
9. 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.
Class aka Type
Boolean Operator
Encapsulation
If Statement
10. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
JIT
Operator
Boolean - Size
Statement
11. System.Int32
Assembly
int - .NET alias
Static Member
Stack
12. A symbol that specifies an operation to be performed on one or more variables.
Console Application
Encapsulation
Operator
Keyword
13. System.Char
Private Access Modifier
char - .NET alias
float - .NET alias
Textbox
14. 32 bit integer data
int - Size
Common Language Runtime (CLR)
Method
W.P.F
15. Only requires one operand usually a count+1 or a count++ or a count--
ulong - Size
Unary Operator
Sealed Class
Keyword
16. 8 bit - unsigned byte (0 - 255)
byte - Size
Method
ulong - Size
Window.xaml.cs
17. Used to display text that end user does not need to edit.
If Statement
Abstract Method Modifier
Inheritance
Label
18. count = count+1 or count++ or count__. Both count variables are Unary Operators
Expression
Incrementing / Decrementing Variables
Encapsulation
Object
19. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Static Class
Comments
Protected Access Modifier
Operator
20. A method that is called whenever an Object is created. The method uses the same name as the Class.
Public Keyword
Class Statement
Constructor
Method
21. Introduces a new class. Marked by curly brackets { }
r
Statement
Class Statement
Variable
22. Framework Class Library
FCL
NET
Unary Operator
byte - .NET alias
23. 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.
Label
Intermediate Language (IL)
ulong - Size
Syntax
24. Code which implements GUI (graphical User Interface).
Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
NET
Method
25. System.Int64
Array
Inheritance
long - .NET alias
Object
26. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
sbyte - Size
double - .NET alias
If Statement
Abstract Class Modifier
27. The "Type" name of data that is stored on the Stack
Private Access Modifier
Visual Studio Solution
Value Type
Class aka Type
28. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Inheritance
Private Access Modifier
Abstract Method Modifier
29. Must have a data type
Variable (C# requirements)
short - .NET alias
ushort - .NET alias
String (or string)
30. Indicates that the Method can be overridden.
sbyte - Size
Static Class
Virtual Method Modifier
Encapsulation
31. 32 bit - unsigned integer data
Expression
Inheritance
Float (or float) - Size
uint - Size
32. Something that has a different number of parameters to it's predecessor
Class
Parameter aka Argument
Overloaded Method
Namespace
33. System.Double
JITer
Field
Stack
double - .NET alias
34. (== or !=)
Variable
Field
uint - Size
Equality Operator
35. Container for one or more Visual Studio Projects.
Visual Studio Solution
Overloaded Method
Statement
Virtual Method Modifier
36. System.Int16
Keyword
Method
short - .NET alias
uint - Size
37. The lowest level or fundamental data types needed for representing data.
Conditional Operator
double - .NET alias
Label
Primitive Type
38. Command Language Runtime
Primitive
CLR
Framework Class Library (FCL)
Private Access Modifier
39. Just-in-time compilation
Visual Studio Solution
Label
JIT
Decimal (or decimal) - Size
40. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Heap
Strong Typing
Intermediate Language (IL)
Constant
41. (< or > or <= or >=)
Relational Operator
Visual Studio Solution
Assignment Operator
Boolean Operator
42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Just-in-time (JIT
Inheritance
Assembly
Class
43. A Class that can only have Static Members
Abstract Class Modifier
Static Class
Boolean - Size
Static Member
44. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Abstraction
Statement
Keyword
Expression
45. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Decimal (or decimal) - Size
Int32 - Size
Console Application
JITer
46. The process of compiling IL source into CPU-native code for execution.
Internal Access Modifier
char - Size
Comments
Just-in-time (JIT
47. A Class that cannot be instantiated.
Incrementing / Decrementing Variables
DateTime
Sealed Class
Static Class
48. Microsoft's generic software framework for application development.
byte - .NET alias
Inheritance
Variable
NET
49. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
long - Size
sbyte - .NET alias
Inheritance
byte - .NET alias
50. (= or += or -= or = or /=)
Private Access Modifier
Int32 - Size
Assignment Operator
Operator