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. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Incrementing / Decrementing Variables
Parameter aka Argument
Assembly
Expression
2. System.Double
ulong - Size
sbyte - .NET alias
double - .NET alias
Heap
3. 32 bit - unsigned integer data
Identifiers
uint - Size
Conditional Operator
Relational Operator
4. Microsoft's generic software framework for application development.
NET
using
Strong Typing
char - Size
5. Only requires one operand usually a count+1 or a count++ or a count--
Partial Method Modifier
Inheritance
JITer
Unary Operator
6. Groups classes together so that they have a unique identifier
Partial Class Modifier
Namespace
short - Size
Strong Typing
7. A Member that cannot be accessed/invoked through an Object Instance.
Double (or double) - Size
Intermediate Language (IL)
Static Member
Variable
8. 32 bit integer data
using
int - Size
Conditional Operator
FCL
9. 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.
Inheritance
Syntax
int - .NET alias
Stack
10. Code which signifies a carriage return. Symbolises a new line in a text box.
String (or string)
r
Inheritance
Visual Studio Solution
11. System.Char
Object
IDE
Stack
char - .NET alias
12. Syntax of a C# Method
Decimal (or decimal) - Size
DateTime
Parameter aka Argument
returnType methodName (parameterList)
13. A Class that cannot be instantiated.
Expression
W.P.F
Static Class
Dot Notation
14. Allow access to types that exist in outside assemblies.
Boolean Operator
Framework Class Library (FCL)
References (Visual Studio Solution
Double (or double) - Size
15. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Equality Operator
Data structures
Class Statement
long - .NET alias
16. 16 bit - unsigned integer data (0 to 65535)
sbyte - Size
Assignment Operator
ushort - Size
Operator
17. 64 bit - unsigned integer data
Keyword
ulong - Size
sbyte - .NET alias
Framework Class Library (FCL)
18. 32 bit single precision floating point data
Float (or float) - Size
NET
Common Language Runtime (CLR)
If Statement
19. The .NET run-time environment that enables code to be compiled and executed.
sbyte - .NET alias
CLR
Console Application
Common Language Runtime (CLR)
20. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
long - Size
Abstraction
Inheritance
Textbox
21. Access is limited to the current Assembly and Derived Types
Equality Operator
Partial Method Modifier
Protected Internal Access Modifier
Static Class
22. System.Int32
References (Visual Studio Solution
NET
Console Application
int - .NET alias
23. Restricts access to a Member to the current Class and any Derived Class.
ushort - Size
Field
Protected Access Modifier
Partial Class Modifier
24. (= or += or -= or = or /=)
uint - Size
Parameter aka Argument
Internal Access Modifier
Assignment Operator
25. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Equality Operator
Abstract Class Modifier
Reference Type
short - Size
26. The "Type" name of data that is stored on the Stack
Reference Type
int - Size
Value Type
Float (or float) - Size
27. Represents date and time data with a 100 ns resolution
double - .NET alias
DateTime
ulong - Size
Inheritance
28. true or false
Boolean - Size
Base Class
Derived Class
Encapsulation
29. Command which runs repeatedly while (some) condition is true.
Float (or float) - Size
long - .NET alias
While Statement
String (or string)
30. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Assignment Operator
Array
JITer
Virtual Method Modifier
31. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Public Keyword
Overloaded Method
Protected Access Modifier
Primitive
32. 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
Dot Notation
Incrementing / Decrementing Variables
Static Member
33. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
W.P.F
r
Encapsulation
34. The lowest level or fundamental data types needed for representing data.
String (or string)
long - Size
Conditional Operator
Primitive Type
35. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Encapsulation
Window.xaml.cs
Operator
36. 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.
JIT
Partial Method Modifier
Sealed Class
Label
37. Variables defined by a class
Variable
Method
Field
Abstract Class Modifier
38. A Class from which other classes can inherit characteristics.
Primitive
Base Class
Textbox
Operator
39. A Class that cannot be Inherited
Syntax
Sealed Class
byte - .NET alias
Constant
40. 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.
Method
ushort - .NET alias
Encapsulation
Protected Internal Access Modifier
41. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
csc.exe
double - .NET alias
Variable
42. (&& or || or & or |)
ulong - Size
Conditional Operator
Variable (C# requirements)
Method
43. System.Int64
long - .NET alias
Data structures
Intermediate Language (IL)
Int64 - Size
44. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Statement
Stack
Overloaded Method
Variable (C# requirements)
45. System.SByte
Operator
sbyte - .NET alias
Int32 - Size
Variable
46. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
bool - Size
Console Application
C#
FCL
47. 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)
short - Size
Boolean Operator
r
Polymorphism
48. A type of statement that produces a value that might be tested or assigned to a variable.
Abstract Class Modifier
Base Class
Framework Class Library (FCL)
Expression
49. 64 bit double precision floating point data
Double (or double) - Size
Properties
Private Access Modifier
Intermediate Language (IL)
50. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Inheritance
Static Class
Intermediate Language (IL)
ushort - .NET alias