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. 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.
Incrementing / Decrementing Variables
char - Size
Field
Variable
2. Restricts access to a Member to the current Class and any Derived Class.
Base Class
csc.exe
Protected Access Modifier
Framework Class Library (FCL)
3. 16 bit - signed integer data (-32768 to 32767)
Stack
short - Size
Unary Operator
Properties
4. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Window.xaml.cs
Boolean - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
5. 32 bit single precision floating point data
Float (or float) - Size
Primitive
ushort - .NET alias
sbyte - Size
6. Only requires one operand usually a count+1 or a count++ or a count--
If Statement
long - Size
Inheritance
Unary Operator
7. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Framework Class Library (FCL)
Virtual Method Modifier
Namespace
If Statement
8. Code which signifies a carriage return. Symbolises a new line in a text box.
Double (or double) - Size
Assignment Operator
Expression
r
9. System.Char
Internal Access Modifier
short - Size
Inheritance
char - .NET alias
10. Keyword which exposes members to other classes OR Identifier which makes program elements public
Conditional Operator
Partial Method Modifier
Relational Operator
Public Keyword
11. Extra information within a method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
Private Access Modifier
Relational Operator
12. 32 bit - unsigned integer data
Reference Type
uint - Size
using
Expression
13. 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.
Statement
Program
Partial Method Modifier
Base Class
14. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Double (or double) - Size
Polymorphism
Assignment Operator
Float (or float) - Size
15. System.SByte
r
sbyte - .NET alias
Statement
Statement
16. A Class that can only have Static Members
char - .NET alias
Static Class
JITer
Derived Class
17. Compilation of classes. In C# Usually ends in .dll or .exe
Int64 - Size
Assembly
Conditional Operator
Field
18. 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.
References (Visual Studio Solution
Identifiers
Value Type
Internal Access Modifier
19. The process of compiling IL source into CPU-native code for execution.
Console Application
byte - .NET alias
Just-in-time (JIT
uint - .NET alias
20. 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'.
sbyte - .NET alias
Inheritance
Boolean Operator
Textbox
21. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Namespace
Private Access Modifier
Dot Notation
22. 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
Properties
Parameter aka Argument
Abstraction
Dot Notation
23. The "Type" name of data that is stored on the Stack
DateTime
Stack
Unary Operator
Value Type
24. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Float (or float) - Size
Label
Reference Type
25. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
decimal - .NET alias
long - .NET alias
Identifiers
26. Mathematical (+ or - or / or %)
Console Application
Primitive Type
Operator
Array
27. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
If Statement
Abstraction
Stack
28. 64 bit double precision floating point data
Double (or double) - Size
Equality Operator
short - Size
Parameter aka Argument
29. (&& or || or & or |)
Partial Method Modifier
int - Size
Conditional Operator
CLR
30. 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
Console Application
Abstraction
FCL
Heap
31. (== or !=)
Equality Operator
Decimal (or decimal) - Size
Method
Stack
32. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
FCL
String (or string)
Assembly
Class
33. 32 bit integer data
Class aka Type
int - Size
Abstract Class Modifier
Static Class
34. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Statement
NET
Stack
bool - Size
35. 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
Object
Identifiers
Abstract Method Modifier
JIT
36. A Class that cannot be Inherited
Sealed Class
Just-in-time (JIT
Method
C#
37. Indicates that the Method can be overridden.
JITer
Parameter aka Argument
Framework Class Library (FCL)
Virtual Method Modifier
38. Text as Unicode characters
String (or string)
char - Size
long - .NET alias
Intermediate Language (IL)
39. 64 bit - unsigned integer data
ulong - Size
ulong - .NET alias
NET
Parameter aka Argument
40. Symbols which transform and combine expressions
Relational Operator
Operator
Variable (C# requirements)
Syntax
41. The process of hiding and restricting access to the implementation details of a data structure.
Namespace
Properties
Encapsulation
Internal Access Modifier
42. Integrated Development Environment
Static Class
IDE
Method
Value Type
43. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Boolean - Size
Object
Primitive
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
44. System.UInt32
Private Access Modifier
uint - .NET alias
Heap
Precedence
45. Variables defined by a class
Framework Class Library (FCL)
decimal - .NET alias
Field
char - .NET alias
46. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Reference Type
Abstraction
int - Size
Keyword
47. Sits behind GUI (Graphical User Interface) and provides event listeners
Abstract Method Modifier
Expression
double - .NET alias
Window.xaml.cs
48. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Constant
Strong Typing
Polymorphism
Unary Operator
49. 64 bit integer data
IDE
long - Size
Framework Class Library (FCL)
Variable
50. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Just-in-time (JIT
Int32 - Size
Inheritance
Double (or double) - Size