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. 64 bit double precision floating point data
long - .NET alias
Boolean - Size
Double (or double) - Size
ulong - Size
2. 8 bit - unsigned byte (0 - 255)
byte - Size
Constant
Statement
Operator
3. (&& or || or & or |)
Textbox
Conditional Operator
csc.exe
Window.xaml.cs
4. Introduces a new class. Marked by curly brackets { }
Conditional Operator
Intermediate Language (IL)
Class Statement
Int32 - Size
5. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Statement
Value Type
Precedence
returnType methodName (parameterList)
6. System.UInt32
double - .NET alias
Object
JIT
uint - .NET alias
7. Contains the class definitions that allow access to the functionality provided by .NET.
Keyword
Textbox
Decimal (or decimal) - Size
Framework Class Library (FCL)
8. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Static Class
Namespace
Expression
9. The lowest level or fundamental data types needed for representing data.
Protected Internal Access Modifier
Primitive Type
ulong - .NET alias
ushort - .NET alias
10. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
sbyte - .NET alias
Framework Class Library (FCL)
Stack
Static Class
11. An instance of a class that exists at run-time and is typically referenced via a variable name.
Textbox
Reference Type
Statement
Object
12. Used to display text that end user does not need to edit.
Label
Dot Notation
Just-in-time (JIT
Parameter aka Argument
13. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Keyword
Protected Internal Access Modifier
Variable
Inheritance
14. A symbol that specifies an operation to be performed on one or more variables.
Operator
Parameter aka Argument
Static Class
Primitive Type
15. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Partial Class Modifier
Abstraction
byte - .NET alias
Derived Class
16. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Value Type
double - .NET alias
ulong - Size
17. Variables defined by a class
Field
Namespace
Assembly
Encapsulation
18. The "Type" name of data that is stored on the Heap
Abstract Class Modifier
Reference Type
Operator
Syntax
19. System.Int64
Derived Class
byte - .NET alias
Private Access Modifier
long - .NET alias
20. Symbols which transform and combine expressions
Statement
uint - Size
Operator
using
21. 16 bit - signed integer data (-32768 to 32767)
Label
Namespace
short - Size
Program
22. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
r
Primitive
Primitive Type
Just-in-time (JIT
23. 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.
Variable
Operator
Static Class
Console Application
24. A Class that cannot be instantiated.
Array
Static Class
Assembly
Relational Operator
25. System.Double
Public Keyword
Common Language Runtime (CLR)
double - .NET alias
Primitive Type
26. Allow access to types that exist in outside assemblies.
Operator
Protected Access Modifier
References (Visual Studio Solution
IDE
27. The process of hiding and restricting access to the implementation details of a data structure.
Window.xaml.cs
Keyword
Encapsulation
Primitive Type
28. (< or > or <= or >=)
ushort - .NET alias
Relational Operator
Field
Identifiers
29. Restricts access to a Member to the current Class.
Primitive
float - .NET alias
Private Access Modifier
Strong Typing
30. Framework Class Library
Identifiers
int - .NET alias
Common Language Runtime (CLR)
FCL
31. 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.
Double (or double) - Size
Stack
Syntax
Inheritance
32. Something that has a different number of parameters to it's predecessor
Properties
Overloaded Method
Abstraction
Comments
33. Must have a data type
Framework Class Library (FCL)
Equality Operator
Protected Access Modifier
Variable (C# requirements)
34. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Comments
Array
IDE
Reference Type
35. 8 bit - signed byte (-128 - 127)
sbyte - Size
bool - Size
Precedence
Float (or float) - Size
36. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Constructor
ushort - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
37. Windows Presentation Foundation
decimal - .NET alias
Properties
W.P.F
returnType methodName (parameterList)
38. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Parameter aka Argument
using
W.P.F
Properties
39. When a sub class passes down all the behaviours of the original parent class
Partial Class Modifier
Sealed Class
Inheritance
long - .NET alias
40. System.UInt16
Comments
Framework Class Library (FCL)
ushort - .NET alias
Visual Studio Solution
41. System.Int32
Console Application
int - .NET alias
W.P.F
CLR
42. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Protected Access Modifier
Primitive Type
Assembly
Comments
43. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
char - Size
uint - .NET alias
Abstract Method Modifier
Precedence
44. 32 bit single precision floating point data
JITer
returnType methodName (parameterList)
Static Class
Float (or float) - Size
45. Access is limited to the current Assembly
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Assembly
Internal Access Modifier
Protected Internal Access Modifier
46. 32 bit - unsigned integer data
Window.xaml.cs
Sealed Class
Inheritance
uint - Size
47. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Class aka Type
Equality Operator
Expression
Assembly
48. 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
Double (or double) - Size
r
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
49. The "Type" name of data that is stored on the Stack
Framework Class Library (FCL)
Object
Strong Typing
Value Type
50. The member type of a Class that performs an action.
Operator
float - .NET alias
Method
Operator