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. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Constructor
Assembly
Operator
using
2. Allow access to types that exist in outside assemblies.
Syntax
Dot Notation
Common Language Runtime (CLR)
References (Visual Studio Solution
3. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
References (Visual Studio Solution
byte - Size
Properties
long - .NET alias
4. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Statement
Expression
IDE
5. 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.
returnType methodName (parameterList)
Encapsulation
String (or string)
Abstract Method Modifier
6. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Assembly
Abstraction
Visual Studio Solution
uint - Size
7. 32 bit integer data
uint - Size
Static Class
Equality Operator
Int32 - Size
8. A Class that inherits characteristics from another Class.
Statement
String (or string)
Class Statement
Derived Class
9. Text as Unicode characters
String (or string)
returnType methodName (parameterList)
Primitive
Assignment Operator
10. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Class Statement
Encapsulation
double - .NET alias
Comments
11. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Statement
returnType methodName (parameterList)
uint - Size
12. Keyword which exposes members to other classes OR Identifier which makes program elements public
Field
Assembly
Public Keyword
ushort - Size
13. Command Language Runtime
Identifiers
using
Framework Class Library (FCL)
CLR
14. 128 bit fixed precision (financial)
Value Type
Reference Type
Decimal (or decimal) - Size
Heap
15. count = count+1 or count++ or count__. Both count variables are Unary Operators
Namespace
sbyte - Size
Incrementing / Decrementing Variables
bool - Size
16. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
Unary Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ushort - Size
Identifiers
17. Extra information within a method
Dot Notation
Static Member
Parameter aka Argument
decimal - .NET alias
18. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Abstraction
returnType methodName (parameterList)
References (Visual Studio Solution
19. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Protected Access Modifier
Console Application
long - .NET alias
Variable
20. Only requires one operand usually a count+1 or a count++ or a count--
Primitive
ulong - Size
long - .NET alias
Unary Operator
21. Syntax of a C# Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
returnType methodName (parameterList)
Value Type
Abstraction
22. System.SByte
using
sbyte - .NET alias
Just-in-time (JIT
Keyword
23. System.UInt64
ulong - .NET alias
Encapsulation
Decimal (or decimal) - Size
int - .NET alias
24. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Double (or double) - Size
Value Type
Object
25. Framework Class Library
Assembly
FCL
Static Member
Strong Typing
26. 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
Boolean Operator
Variable
byte - .NET alias
Object
27. true or false
Boolean - Size
Variable
Statement
Constructor
28. 64 bit integer data
Expression
Class
long - Size
double - .NET alias
29. (= or += or -= or = or /=)
Equality Operator
Variable
CLR
Assignment Operator
30. When a sub class passes down all the behaviours of the original parent class
Inheritance
Boolean - Size
Window.xaml.cs
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
31. Something that has a different number of parameters to it's predecessor
Expression
Static Class
Overloaded Method
Visual Studio Solution
32. System.UInt16
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Visual Studio Solution
Base Class
ushort - .NET alias
33. Groups classes together so that they have a unique identifier
using
Namespace
Console Application
int - Size
34. 64 bit integer data
byte - .NET alias
String (or string)
Int64 - Size
Incrementing / Decrementing Variables
35. The process of compiling IL source into CPU-native code for execution.
Assignment Operator
Virtual Method Modifier
Private Access Modifier
Just-in-time (JIT
36. Code which implements GUI (graphical User Interface).
Expression
String (or string)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Common Language Runtime (CLR)
37. Variables defined by a class
DateTime
Boolean - Size
Dot Notation
Field
38. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Reference Type
Abstract Method Modifier
Abstract Class Modifier
39. The .NET run-time environment that enables code to be compiled and executed.
short - .NET alias
Namespace
Common Language Runtime (CLR)
DateTime
40. A Class that cannot be Inherited
Partial Method Modifier
Window.xaml.cs
Sealed Class
While Statement
41. An instance of a class that exists at run-time and is typically referenced via a variable name.
Label
using
Object
Console Application
42. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Assignment Operator
Virtual Method Modifier
Abstraction
Console Application
43. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
ushort - Size
Boolean - Size
Float (or float) - Size
44. Introduces a new class. Marked by curly brackets { }
Namespace
Class Statement
Public Keyword
decimal - .NET alias
45. System.Decimal
ushort - Size
decimal - .NET alias
Protected Internal Access Modifier
Statement
46. 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.
Data structures
csc.exe
Partial Method Modifier
Class Statement
47. (&& or || or & or |)
Abstraction
char - Size
Value Type
Conditional Operator
48. 32 bit - unsigned integer data
Label
Statement
byte - Size
uint - Size
49. System.Int16
sbyte - Size
short - .NET alias
Data structures
NET
50. The process of hiding and restricting access to the implementation details of a data structure.
Inheritance
using
Encapsulation
Operator