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. (= or += or -= or = or /=)
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
double - .NET alias
Assignment Operator
2. (&& or || or & or |)
byte - Size
FCL
Conditional Operator
Reference Type
3. System.Single
byte - Size
Heap
float - .NET alias
Assembly
4. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Derived Class
Identifiers
float - .NET alias
Console Application
5. Allow access to types that exist in outside assemblies.
ulong - .NET alias
Int64 - Size
Window.xaml.cs
References (Visual Studio Solution
6. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
String (or string)
Inheritance
Partial Method Modifier
W.P.F
7. Symbols which transform and combine expressions
Stack
r
Operator
Inheritance
8. 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'.
Encapsulation
If Statement
Static Class
Textbox
9. true or false
bool - Size
Object
Unary Operator
Conditional Operator
10. A Class that inherits characteristics from another Class.
Protected Internal Access Modifier
Comments
Derived Class
Static Member
11. The member type of a Class that performs an action.
Method
byte - .NET alias
Expression
Object
12. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Assembly
Stack
Encapsulation
char - Size
13. Represents the encapsulation of data and behaviors into a single unit.
String (or string)
Assignment Operator
Class
ulong - .NET alias
14. Mathematical (+ or - or / or %)
Operator
Assembly
CLR
Stack
15. Code which implements GUI (graphical User Interface).
Expression
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
FCL
Visual Studio Solution
16. A Class from which other classes can inherit characteristics.
Base Class
Partial Method Modifier
Operator
returnType methodName (parameterList)
17. 64 bit double precision floating point data
ushort - Size
Double (or double) - Size
Partial Method Modifier
Inheritance
18. 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
returnType methodName (parameterList)
Assembly
Internal Access Modifier
19. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Conditional Operator
uint - .NET alias
sbyte - .NET alias
20. true or false
Reference Type
Boolean - Size
Method
Primitive
21. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
String (or string)
long - .NET alias
Variable (C# requirements)
Data structures
22. Restricts access to a Member to the current Class.
long - .NET alias
Private Access Modifier
Label
Primitive
23. A symbol that specifies an operation to be performed on one or more variables.
Assembly
Operator
Heap
Reference Type
24. Access is limited to the current Assembly and Derived Types
char - .NET alias
Protected Internal Access Modifier
Textbox
Boolean - Size
25. 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
Common Language Runtime (CLR)
Method
Object
Strong Typing
26. 32 bit integer data
Console Application
ushort - .NET alias
Parameter aka Argument
Int32 - Size
27. Represents date and time data with a 100 ns resolution
DateTime
Method
Variable (C# requirements)
Protected Internal Access Modifier
28. A Class that cannot be instantiated.
Static Class
DateTime
decimal - .NET alias
Dot Notation
29. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Operator
long - .NET alias
Strong Typing
Array
30. Introduces a new class. Marked by curly brackets { }
Boolean - Size
Class Statement
Program
float - .NET alias
31. Integrated Development Environment
IDE
Private Access Modifier
Inheritance
String (or string)
32. Container for one or more Visual Studio Projects.
Intermediate Language (IL)
Visual Studio Solution
Assembly
Boolean - Size
33. Access is limited to the current Assembly
Internal Access Modifier
Equality Operator
Protected Access Modifier
Encapsulation
34. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Namespace
Method
Parameter aka Argument
Namespace
35. 32 bit integer data
int - Size
Boolean - Size
Abstract Class Modifier
Static Class
36. 32 bit - unsigned integer data
CLR
Unary Operator
Variable (C# requirements)
uint - Size
37. System.Int16
Assembly
Method
Properties
short - .NET alias
38. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Internal Access Modifier
Partial Method Modifier
JITer
Abstract Class Modifier
39. A Class that cannot be Inherited
Sealed Class
Float (or float) - Size
long - Size
Assignment Operator
40. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Protected Access Modifier
Abstraction
Conditional Operator
String (or string)
41. 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.
Boolean Operator
Intermediate Language (IL)
Partial Method Modifier
Syntax
42. 8 bit - signed byte (-128 - 127)
Relational Operator
Identifiers
Static Class
sbyte - Size
43. System.UInt16
ushort - .NET alias
Expression
Constant
bool - Size
44. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Object
Visual Studio Solution
Class Statement
45. When a sub class passes down all the behaviours of the original parent class
Protected Internal Access Modifier
Inheritance
Assembly
decimal - .NET alias
46. System.UInt64
Namespace
double - .NET alias
ulong - .NET alias
bool - Size
47. An instance of a class that exists at run-time and is typically referenced via a variable name.
Operator
Object
Intermediate Language (IL)
Variable (C# requirements)
48. 64 bit - unsigned integer data
short - Size
ulong - Size
JIT
Statement
49. Series of instructions which tell a computer what to do.
Primitive
Operator
Program
Variable
50. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Encapsulation
Precedence
Inheritance
float - .NET alias