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. Field whose value can never change. Declared with 'const' keyword
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
FCL
Constant
ulong - Size
2. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Class
Sealed Class
Program
Data structures
3. Introduces a new class. Marked by curly brackets { }
Identifiers
char - Size
Class Statement
Encapsulation
4. The lowest level or fundamental data types needed for representing data.
Method
Int64 - Size
Primitive Type
Data structures
5. 128 bit fixed precision (financial)
sbyte - Size
Expression
Decimal (or decimal) - Size
ushort - .NET alias
6. Syntax of a C# Method
Encapsulation
Value Type
returnType methodName (parameterList)
Inheritance
7. Compilation of classes. In C# Usually ends in .dll or .exe
Sealed Class
Assembly
NET
float - .NET alias
8. Text as Unicode characters
Array
sbyte - Size
String (or string)
byte - .NET alias
9. System.Single
float - .NET alias
Abstract Class Modifier
Keyword
Assembly
10. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
short - .NET alias
JIT
Operator
11. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Intermediate Language (IL)
using
Overloaded Method
12. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Inheritance
Method
Syntax
Identifiers
13. (< or > or <= or >=)
Array
Relational Operator
returnType methodName (parameterList)
Expression
14. 32 bit - unsigned integer data
Protected Internal Access Modifier
uint - Size
Unary Operator
Constant
15. A Class that inherits characteristics from another Class.
References (Visual Studio Solution
Label
Polymorphism
Derived Class
16. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
JIT
Precedence
Syntax
Private Access Modifier
17. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Framework Class Library (FCL)
Array
Derived Class
Primitive Type
18. Microsoft's generic software framework for application development.
Method
Statement
NET
Protected Access Modifier
19. 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
Dot Notation
Public Keyword
Inheritance
NET
20. Container for one or more Visual Studio Projects.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Visual Studio Solution
short - Size
Stack
21. Used to display text that end user does not need to edit.
Label
Encapsulation
r
sbyte - .NET alias
22. System.Double
Expression
Reference Type
double - .NET alias
Visual Studio Solution
23. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Operator
bool - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
24. 16 bit - unsigned integer data (0 to 65535)
Overloaded Method
Expression
ushort - Size
Partial Method Modifier
25. Restricts access to a Member to the current Class.
Private Access Modifier
Unary Operator
long - Size
Class Statement
26. 64 bit - unsigned integer data
W.P.F
Parameter aka Argument
bool - Size
ulong - Size
27. 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'.
char - Size
Textbox
While Statement
Assignment Operator
28. Groups classes together so that they have a unique identifier
Virtual Method Modifier
Partial Method Modifier
Namespace
IDE
29. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
ushort - Size
Double (or double) - Size
Private Access Modifier
30. Something that has a different number of parameters to it's predecessor
ulong - Size
Comments
Overloaded Method
Data structures
31. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Conditional Operator
Method
Abstract Class Modifier
32. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Abstract Method Modifier
Strong Typing
DateTime
C#
33. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Protected Access Modifier
csc.exe
Relational Operator
34. 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
Heap
Identifiers
Label
csc.exe
35. System.Byte
byte - .NET alias
Boolean Operator
JIT
Heap
36. System.UInt32
uint - .NET alias
Variable
Partial Method Modifier
Boolean Operator
37. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Variable (C# requirements)
Array
Abstraction
38. 32 bit integer data
Inheritance
Array
int - Size
Encapsulation
39. (= or += or -= or = or /=)
Assignment Operator
Variable
Polymorphism
returnType methodName (parameterList)
40. 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.
Statement
Variable
long - Size
While Statement
41. When a sub class passes down all the behaviours of the original parent class
Namespace
Operator
uint - .NET alias
Inheritance
42. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Decimal (or decimal) - Size
Conditional Operator
Syntax
Abstract Class Modifier
43. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
CLR
Abstraction
Assembly
Variable
44. 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.
Abstract Method Modifier
Reference Type
Partial Class Modifier
Class aka Type
45. The .NET run-time environment that enables code to be compiled and executed.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Sealed Class
Class Statement
Common Language Runtime (CLR)
46. Represents the encapsulation of data and behaviors into a single unit.
Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
Encapsulation
47. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
int - .NET alias
Stack
Comments
returnType methodName (parameterList)
48. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Static Class
References (Visual Studio Solution
Dot Notation
Expression
49. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Public Keyword
Inheritance
JIT
Constructor
50. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Assembly
C#
Reference Type
ushort - Size