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. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Static Class
Data structures
Parameter aka Argument
long - .NET alias
2. Field whose value can never change. Declared with 'const' keyword
Constant
byte - Size
String (or string)
Float (or float) - Size
3. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
long - .NET alias
ushort - Size
C#
Operator
4. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
float - .NET alias
short - .NET alias
Parameter aka Argument
5. A Class from which other classes can inherit characteristics.
Static Member
Base Class
Label
Encapsulation
6. Extra information within a method
ushort - Size
Parameter aka Argument
Float (or float) - Size
Static Class
7. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Class
Base Class
double - .NET alias
8. Sits behind GUI (Graphical User Interface) and provides event listeners
Assembly
Conditional Operator
Equality Operator
Window.xaml.cs
9. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Float (or float) - Size
Intermediate Language (IL)
Visual Studio Solution
Statement
10. true or false
Assembly
Partial Class Modifier
Encapsulation
Boolean - Size
11. System.UInt32
sbyte - .NET alias
Encapsulation
uint - .NET alias
Abstraction
12. Symbols which transform and combine expressions
int - .NET alias
Operator
While Statement
short - .NET alias
13. System.Decimal
Variable
decimal - .NET alias
Comments
DateTime
14. The "Type" name of data that is stored on the Heap
byte - Size
Visual Studio Solution
float - .NET alias
Reference Type
15. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
char - .NET alias
Encapsulation
Abstract Class Modifier
JITer
16. (= or += or -= or = or /=)
Internal Access Modifier
Assignment Operator
Encapsulation
Textbox
17. System.SByte
int - .NET alias
Constant
Class
sbyte - .NET alias
18. (< or > or <= or >=)
Relational Operator
ulong - Size
FCL
Abstract Method Modifier
19. The "Type" name of data that is stored on the Stack
Heap
Assembly
Value Type
Window.xaml.cs
20. 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
Assembly
Dot Notation
ushort - Size
21. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Data structures
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
FCL
22. 32 bit integer data
Field
Int32 - Size
Partial Class Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
23. System.UInt64
Abstract Method Modifier
ulong - .NET alias
Inheritance
Intermediate Language (IL)
24. Windows Presentation Foundation
Field
Class
W.P.F
Precedence
25. 8 bit - signed byte (-128 - 127)
Console Application
Object
Class Statement
sbyte - Size
26. Allows the definition of a Class to span multiple files (within the same Project)
String (or string)
Partial Class Modifier
Heap
Stack
27. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
ulong - .NET alias
r
Double (or double) - Size
28. Series of instructions which tell a computer what to do.
Decimal (or decimal) - Size
char - Size
returnType methodName (parameterList)
Program
29. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
ulong - .NET alias
Framework Class Library (FCL)
Inheritance
String (or string)
30. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Static Member
csc.exe
using
Conditional Operator
31. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Static Class
Method
Class Statement
32. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
NET
Statement
double - .NET alias
Encapsulation
33. A Class that cannot be Inherited
Method
int - .NET alias
Static Member
Sealed Class
34. Container for one or more Visual Studio Projects.
Visual Studio Solution
Object
Identifiers
Variable
35. 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.
While Statement
Double (or double) - Size
char - .NET alias
Encapsulation
36. System.Byte
Constant
long - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
byte - .NET alias
37. Only requires one operand usually a count+1 or a count++ or a count--
Comments
uint - .NET alias
Framework Class Library (FCL)
Unary Operator
38. 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.
r
Window.xaml.cs
Inheritance
Partial Method Modifier
39. 16 bit - signed integer data (-32768 to 32767)
Assembly
short - Size
Float (or float) - Size
NET
40. 32 bit integer data
FCL
Identifiers
int - Size
Window.xaml.cs
41. Command which runs repeatedly while (some) condition is true.
Constant
While Statement
JITer
Inheritance
42. Integrated Development Environment
Overloaded Method
IDE
int - .NET alias
Sealed Class
43. Framework Class Library
uint - Size
long - Size
FCL
Protected Internal Access Modifier
44. A symbol that specifies an operation to be performed on one or more variables.
Private Access Modifier
long - Size
Operator
Namespace
45. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Keyword
Dot Notation
Overloaded Method
Abstract Class Modifier
46. Code which signifies a carriage return. Symbolises a new line in a text box.
r
sbyte - .NET alias
Framework Class Library (FCL)
Identifiers
47. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Identifiers
Parameter aka Argument
Assignment Operator
48. 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
Public Keyword
Statement
Double (or double) - Size
Object
49. A Class that can only have Static Members
Double (or double) - Size
Static Class
Sealed Class
Method
50. System.Double
double - .NET alias
Partial Method Modifier
String (or string)
byte - .NET alias