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. System.Int64
char - .NET alias
long - .NET alias
Window.xaml.cs
Abstract Method Modifier
2. 64 bit integer data
IDE
long - Size
Namespace
Polymorphism
3. Extra information within a method
Heap
short - Size
Parameter aka Argument
r
4. (&& or || or & or |)
ushort - Size
Conditional Operator
Double (or double) - Size
ulong - .NET alias
5. System.UInt64
ulong - .NET alias
Abstraction
Overloaded Method
Int32 - Size
6. 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
Derived Class
While Statement
Namespace
Object
7. System.Decimal
decimal - .NET alias
Conditional Operator
uint - .NET alias
Operator
8. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
NET
Array
Primitive
int - Size
9. Represents date and time data with a 100 ns resolution
DateTime
csc.exe
Program
ushort - Size
10. 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.
csc.exe
Reference Type
Variable
Internal Access Modifier
11. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Namespace
Expression
Inheritance
12. 16 bit- unsigned word (U+0000 to U+ffff)
Namespace
byte - Size
Variable
char - Size
13. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
long - .NET alias
Comments
Expression
byte - .NET alias
14. The member type of a Class that performs an action.
JIT
Method
Virtual Method Modifier
uint - Size
15. 32 bit integer data
Int32 - Size
Program
Overloaded Method
Virtual Method Modifier
16. When a sub class passes down all the behaviours of the original parent class
Inheritance
Unary Operator
W.P.F
Abstraction
17. Command which runs repeatedly while (some) condition is true.
Field
While Statement
Protected Access Modifier
Inheritance
18. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Textbox
References (Visual Studio Solution
Keyword
Data structures
19. Container for one or more Visual Studio Projects.
Public Keyword
Encapsulation
Visual Studio Solution
long - Size
20. Must have a data type
short - Size
Public Keyword
Partial Class Modifier
Variable (C# requirements)
21. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Variable (C# requirements)
Strong Typing
Syntax
using
22. 64 bit - unsigned integer data
Namespace
If Statement
Decimal (or decimal) - Size
ulong - Size
23. System.Int16
short - .NET alias
Inheritance
Common Language Runtime (CLR)
Int64 - Size
24. 16 bit - signed integer data (-32768 to 32767)
Assembly
short - Size
Static Class
float - .NET alias
25. Compilation of classes. In C# Usually ends in .dll or .exe
CLR
Partial Method Modifier
Operator
Assembly
26. Most common kind of reference type. They define objects. They must have at least one method and one field.
Int32 - Size
Class aka Type
r
Object
27. 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.
Reference Type
Primitive Type
Syntax
uint - .NET alias
28. Allows the definition of a Class to span multiple files (within the same Project)
uint - Size
Comments
Static Class
Partial Class Modifier
29. Introduces a new class. Marked by curly brackets { }
Overloaded Method
Protected Internal Access Modifier
Class Statement
Variable
30. A Member that cannot be accessed/invoked through an Object Instance.
Statement
If Statement
Static Member
Object
31. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Expression
Encapsulation
Object
32. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
int - Size
Constructor
Statement
csc.exe
33. true or false
Data structures
NET
using
bool - Size
34. Command Language Runtime
Static Class
Operator
CLR
Variable
35. System.SByte
Comments
sbyte - .NET alias
Virtual Method Modifier
Object
36. System.Double
Boolean - Size
bool - Size
byte - Size
double - .NET alias
37. Framework Class Library
FCL
Array
long - .NET alias
Boolean - Size
38. A Class that can only have Static Members
Static Class
W.P.F
Syntax
Inheritance
39. System.UInt32
Variable (C# requirements)
Abstract Class Modifier
uint - .NET alias
Variable
40. Only requires one operand usually a count+1 or a count++ or a count--
using
Unary Operator
Stack
Internal Access Modifier
41. 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
NET
Dot Notation
Protected Access Modifier
42. Sits behind GUI (Graphical User Interface) and provides event listeners
IDE
Dot Notation
Window.xaml.cs
Static Class
43. System.Single
Heap
float - .NET alias
Value Type
Double (or double) - Size
44. A Class from which other classes can inherit characteristics.
Base Class
Double (or double) - Size
Overloaded Method
uint - Size
45. 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
short - Size
Heap
Variable
Class aka Type
46. Integrated Development Environment
IDE
Unary Operator
Object
Public Keyword
47. Microsoft's generic software framework for application development.
Abstraction
csc.exe
Static Class
NET
48. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Abstraction
Static Member
Dot Notation
49. The "Type" name of data that is stored on the Stack
int - .NET alias
Value Type
Constant
char - .NET alias
50. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Protected Access Modifier
double - .NET alias
ulong - Size