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. 16 bit - unsigned integer data (0 to 65535)
ushort - .NET alias
short - .NET alias
ushort - Size
Protected Internal Access Modifier
2. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
CLR
Data structures
using
Variable
3. Command which runs repeatedly while (some) condition is true.
While Statement
Comments
byte - .NET alias
Just-in-time (JIT
4. 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
Conditional Operator
Strong Typing
Heap
char - .NET alias
5. 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.
Identifiers
References (Visual Studio Solution
double - .NET alias
uint - Size
6. System.Int32
Abstraction
int - .NET alias
long - .NET alias
Partial Method Modifier
7. true or false
While Statement
Overloaded Method
bool - Size
Operator
8. Syntax of a C# Method
Public Keyword
Class
Polymorphism
returnType methodName (parameterList)
9. A symbol that specifies an operation to be performed on one or more variables.
Static Member
Static Class
Window.xaml.cs
Operator
10. (< or > or <= or >=)
If Statement
Relational Operator
DateTime
Field
11. 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.
While Statement
Variable
Internal Access Modifier
Protected Internal Access Modifier
12. System.UInt16
ushort - .NET alias
Overloaded Method
double - .NET alias
using
13. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Namespace
Int32 - Size
JITer
14. A Class that cannot be instantiated.
Reference Type
Operator
Static Class
int - .NET alias
15. Sits behind GUI (Graphical User Interface) and provides event listeners
Keyword
Window.xaml.cs
ulong - Size
Partial Method Modifier
16. 64 bit double precision floating point data
Private Access Modifier
Double (or double) - Size
Heap
sbyte - .NET alias
17. Integrated Development Environment
Constructor
Program
short - .NET alias
IDE
18. System.Decimal
byte - Size
Expression
Dot Notation
decimal - .NET alias
19. Extra information within a method
Encapsulation
Class aka Type
Parameter aka Argument
ushort - .NET alias
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
Public Keyword
using
Dot Notation
Private Access Modifier
21. Framework Class Library
Method
FCL
Operator
char - Size
22. Names reserved by the compiler that coders are not allowed to use as identifiers.
Unary Operator
Keyword
ushort - .NET alias
Encapsulation
23. The process of hiding and restricting access to the implementation details of a data structure.
Inheritance
Encapsulation
Class aka Type
Inheritance
24. 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.
Keyword
Relational Operator
Dot Notation
Partial Method Modifier
25. A Member that cannot be accessed/invoked through an Object Instance.
JIT
Protected Access Modifier
Static Member
Object
26. 16 bit - signed integer data (-32768 to 32767)
Protected Access Modifier
Int32 - Size
Strong Typing
short - Size
27. Allows the definition of a Class to span multiple files (within the same Project)
Abstraction
Partial Class Modifier
Int64 - Size
char - 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.
decimal - .NET alias
Equality Operator
Object
Inheritance
29. A Class from which other classes can inherit characteristics.
NET
Expression
decimal - .NET alias
Base Class
30. Represents date and time data with a 100 ns resolution
float - .NET alias
Method
DateTime
Sealed Class
31. Groups classes together so that they have a unique identifier
Polymorphism
Expression
Namespace
Assembly
32. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Static Member
Constant
Unary Operator
Assembly
33. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Class Statement
csc.exe
Equality Operator
ulong - Size
34. Compilation of classes. In C# Usually ends in .dll or .exe
References (Visual Studio Solution
Assembly
While Statement
Program
35. The member type of a Class that performs an action.
Derived Class
Polymorphism
bool - Size
Method
36. System.Byte
float - .NET alias
Textbox
Just-in-time (JIT
byte - .NET alias
37. (== or !=)
Equality Operator
Stack
Abstract Method Modifier
Data structures
38. 32 bit integer data
Boolean - Size
Variable
Int32 - Size
Dot Notation
39. A Class that cannot be Inherited
uint - .NET alias
Virtual Method Modifier
Sealed Class
Relational Operator
40. System.UInt64
char - Size
W.P.F
ulong - .NET alias
Keyword
41. (= or += or -= or = or /=)
Method
Program
Primitive Type
Assignment Operator
42. Access is limited to the current Assembly
Base Class
Internal Access Modifier
Inheritance
Class aka Type
43. Allow access to types that exist in outside assemblies.
Method
References (Visual Studio Solution
short - Size
Static Class
44. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Assembly
short - .NET alias
NET
45. System.UInt32
byte - .NET alias
Statement
Assembly
uint - .NET alias
46. 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
If Statement
csc.exe
Int32 - Size
Object
47. 64 bit - unsigned integer data
ulong - Size
Float (or float) - Size
short - Size
Heap
48. 32 bit integer data
ulong - .NET alias
int - Size
uint - .NET alias
If Statement
49. 8 bit - unsigned byte (0 - 255)
Window.xaml.cs
Method
byte - Size
decimal - .NET alias
50. The .NET run-time environment that enables code to be compiled and executed.
int - Size
char - .NET alias
CLR
Common Language Runtime (CLR)