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. Integrated Development Environment
Console Application
IDE
While Statement
Visual Studio Solution
2. 16 bit - signed integer data (-32768 to 32767)
String (or string)
Primitive Type
short - Size
char - .NET alias
3. Container for one or more Visual Studio Projects.
Visual Studio Solution
Base Class
Array
Equality Operator
4. 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.
int - Size
Static Member
While Statement
Partial Method Modifier
5. The member type of a Class that performs an action.
JIT
Method
Derived Class
char - Size
6. System.UInt32
Statement
While Statement
uint - .NET alias
Syntax
7. 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
Constructor
If Statement
Object
IDE
8. System.Double
char - Size
Inheritance
double - .NET alias
csc.exe
9. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Strong Typing
Value Type
int - .NET alias
Data structures
10. Compilation of classes. In C# Usually ends in .dll or .exe
Field
Constructor
Assembly
Float (or float) - Size
11. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
ulong - Size
Variable (C# requirements)
Namespace
Expression
12. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Expression
Boolean Operator
Program
using
13. Microsoft's generic software framework for application development.
char - Size
ushort - Size
Visual Studio Solution
NET
14. 32 bit integer data
Int32 - Size
Primitive
short - Size
Static Member
15. A Class that cannot be Inherited
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class
int - .NET alias
Sealed Class
16. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Heap
Console Application
Inheritance
Method
17. 64 bit - unsigned integer data
CLR
ulong - Size
short - Size
Parameter aka Argument
18. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Incrementing / Decrementing Variables
Strong Typing
Equality Operator
CLR
19. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
float - .NET alias
Polymorphism
Keyword
Class Statement
20. Mathematical (+ or - or / or %)
Operator
int - .NET alias
Inheritance
Variable (C# requirements)
21. (< or > or <= or >=)
Relational Operator
Protected Access Modifier
References (Visual Studio Solution
Object
22. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Class Statement
Precedence
ushort - .NET alias
Static Class
23. System.Int64
Protected Access Modifier
Sealed Class
Internal Access Modifier
long - .NET alias
24. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Identifiers
float - .NET alias
Variable
bool - Size
25. 32 bit integer data
Expression
int - Size
double - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
String (or string)
sbyte - .NET alias
Identifiers
27. Something that has a different number of parameters to it's predecessor
Operator
Base Class
Overloaded Method
Class Statement
28. 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.
Assembly
Variable
Method
Public Keyword
29. true or false
Boolean - Size
sbyte - Size
Unary Operator
Program
30. Names reserved by the compiler that coders are not allowed to use as identifiers.
Assembly
Expression
Keyword
Abstract Class Modifier
31. Text as Unicode characters
Abstraction
String (or string)
ushort - .NET alias
int - Size
32. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Inheritance
If Statement
Value Type
Intermediate Language (IL)
33. The "Type" name of data that is stored on the Stack
Primitive Type
Value Type
short - Size
C#
34. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Variable
Int64 - Size
Console Application
Method
35. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
double - .NET alias
CLR
Assignment Operator
Abstract Class Modifier
36. System.Char
Conditional Operator
Incrementing / Decrementing Variables
While Statement
char - .NET alias
37. System.Int32
If Statement
Data structures
Value Type
int - .NET alias
38. A Class from which other classes can inherit characteristics.
Strong Typing
Base Class
Inheritance
W.P.F
39. Code which signifies a carriage return. Symbolises a new line in a text box.
r
FCL
Primitive
Boolean Operator
40. Command Language Runtime
Polymorphism
Constructor
CLR
Double (or double) - Size
41. Framework Class Library
CLR
Primitive
Boolean Operator
FCL
42. Series of instructions which tell a computer what to do.
Encapsulation
Window.xaml.cs
ulong - Size
Program
43. (== or !=)
Derived Class
Float (or float) - Size
Visual Studio Solution
Equality Operator
44. (&& or || or & or |)
Conditional Operator
sbyte - Size
If Statement
Label
45. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
If Statement
Statement
Variable
CLR
46. 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
Inheritance
Dot Notation
Overloaded Method
using
47. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Syntax
Parameter aka Argument
Identifiers
48. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
Boolean - Size
Encapsulation
Class
Class Statement
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
C#
Assembly
Field
Label
50. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
char - .NET alias
using
While Statement
bool - Size