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 that inherits characteristics from another Class.
Dot Notation
int - Size
Derived Class
Primitive
2. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Polymorphism
byte - Size
Conditional Operator
3. Used to display text that end user does not need to edit.
Label
Int64 - Size
Operator
Field
4. Extra information within a method
Console Application
Statement
Parameter aka Argument
Relational Operator
5. The process of compiling IL source into CPU-native code for execution.
Unary Operator
Class aka Type
Label
Just-in-time (JIT
6. Introduces a new class. Marked by curly brackets { }
Parameter aka Argument
Keyword
Class Statement
NET
7. true or false
Array
Boolean - Size
Framework Class Library (FCL)
Heap
8. Code which implements GUI (graphical User Interface).
decimal - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Comments
byte - .NET alias
9. Access is limited to the current Assembly and Derived Types
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Reference Type
Base Class
Protected Internal Access Modifier
10. Integrated Development Environment
Unary Operator
While Statement
IDE
CLR
11. Something that has a different number of parameters to it's predecessor
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
long - .NET alias
Overloaded Method
float - .NET alias
12. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
using
Private Access Modifier
Operator
13. A Class that can only have Static Members
Parameter aka Argument
Assembly
Window.xaml.cs
Static Class
14. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Decimal (or decimal) - Size
Abstract Class Modifier
Console Application
Program
15. A type of statement that produces a value that might be tested or assigned to a variable.
Abstract Class Modifier
If Statement
Expression
Virtual Method Modifier
16. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Comments
Polymorphism
Conditional Operator
Method
17. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Static Class
uint - Size
Virtual Method Modifier
Data structures
18. (&& or || or & or |)
sbyte - Size
csc.exe
Conditional Operator
JITer
19. Allows the definition of a Class to span multiple files (within the same Project)
Method
ushort - .NET alias
Partial Class Modifier
Relational Operator
20. Represents the encapsulation of data and behaviors into a single unit.
NET
Method
Object
Class
21. Command Language Runtime
int - Size
short - .NET alias
Statement
CLR
22. 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
JITer
Identifiers
short - Size
23. Sits behind GUI (Graphical User Interface) and provides event listeners
Statement
Variable
Window.xaml.cs
Heap
24. 64 bit integer data
Console Application
Int64 - Size
Statement
sbyte - .NET alias
25. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Assignment Operator
Comments
Syntax
Abstract Method Modifier
26. Contains the class definitions that allow access to the functionality provided by .NET.
Overloaded Method
Primitive
Encapsulation
Framework Class Library (FCL)
27. 32 bit integer data
Incrementing / Decrementing Variables
ulong - Size
Assignment Operator
int - Size
28. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Array
NET
Inheritance
Variable (C# requirements)
29. 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.
Assembly
Partial Method Modifier
returnType methodName (parameterList)
Encapsulation
30. 32 bit integer data
C#
ulong - Size
Int32 - Size
long - Size
31. 64 bit - unsigned integer data
csc.exe
W.P.F
Statement
ulong - Size
32. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Array
JIT
Sealed Class
33. 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
Precedence
Dot Notation
Protected Internal Access Modifier
Common Language Runtime (CLR)
34. System.Double
Int32 - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
double - .NET alias
Overloaded Method
35. System.Single
sbyte - .NET alias
float - .NET alias
Inheritance
Class
36. 16 bit - unsigned integer data (0 to 65535)
long - .NET alias
ushort - Size
char - .NET alias
Program
37. 8 bit - unsigned byte (0 - 255)
byte - Size
long - Size
long - .NET alias
Program
38. 8 bit - signed byte (-128 - 127)
Common Language Runtime (CLR)
Method
sbyte - Size
Unary Operator
39. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
decimal - .NET alias
Static Class
Method
bool - Size
40. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Overloaded Method
JIT
Encapsulation
41. Just-in-time compilation
While Statement
char - Size
JIT
Identifiers
42. System.Byte
Encapsulation
Parameter aka Argument
Public Keyword
byte - .NET alias
43. Command which runs repeatedly while (some) condition is true.
Array
Object
Incrementing / Decrementing Variables
While Statement
44. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Console Application
FCL
Properties
float - .NET alias
45. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Inheritance
Variable (C# requirements)
Assignment Operator
46. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Encapsulation
Public Keyword
Abstract Class Modifier
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.
char - .NET alias
Inheritance
ulong - Size
Variable
48. Symbols which transform and combine expressions
Stack
Operator
Primitive
Inheritance
49. The "Type" name of data that is stored on the Stack
double - .NET alias
Value Type
char - Size
Namespace
50. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Incrementing / Decrementing Variables
C#
Abstraction
Encapsulation