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. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
char - Size
Label
Sealed Class
2. System.UInt16
Constructor
Inheritance
Textbox
ushort - .NET alias
3. Represents the encapsulation of data and behaviors into a single unit.
returnType methodName (parameterList)
Virtual Method Modifier
byte - .NET alias
Class
4. 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.
Just-in-time (JIT
uint - .NET alias
Encapsulation
While Statement
5. 64 bit - unsigned integer data
int - Size
ulong - Size
Expression
Visual Studio Solution
6. Series of instructions which tell a computer what to do.
Program
While Statement
Inheritance
Just-in-time (JIT
7. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Constructor
IDE
Int32 - Size
Abstraction
8. A Class that can only have Static Members
Sealed Class
Static Class
Class aka Type
Polymorphism
9. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
C#
Unary Operator
Primitive
10. 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
JIT
int - .NET alias
Object
11. 32 bit - unsigned integer data
uint - Size
sbyte - .NET alias
FCL
Data structures
12. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Static Member
Primitive Type
Expression
13. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Comments
Sealed Class
Operator
14. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
bool - Size
char - Size
Namespace
Static Class
15. System.UInt32
uint - .NET alias
Inheritance
Stack
Inheritance
16. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
returnType methodName (parameterList)
Console Application
sbyte - .NET alias
Inheritance
17. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Reference Type
Int32 - Size
Conditional Operator
Properties
18. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
CLR
Assembly
Method
19. Allow access to types that exist in outside assemblies.
Operator
Statement
References (Visual Studio Solution
Variable
20. System.Int16
JIT
Variable
Boolean - Size
short - .NET alias
21. Groups classes together so that they have a unique identifier
Namespace
Protected Access Modifier
sbyte - .NET alias
Assembly
22. 16 bit - unsigned integer data (0 to 65535)
Decimal (or decimal) - Size
ushort - Size
long - Size
Encapsulation
23. count = count+1 or count++ or count__. Both count variables are Unary Operators
Variable
Internal Access Modifier
Common Language Runtime (CLR)
Incrementing / Decrementing Variables
24. A Class from which other classes can inherit characteristics.
Base Class
Private Access Modifier
Precedence
sbyte - Size
25. 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
Constructor
Abstract Class Modifier
Protected Internal Access Modifier
26. Command Language Runtime
CLR
Partial Class Modifier
Expression
Visual Studio Solution
27. 16 bit- unsigned word (U+0000 to U+ffff)
Syntax
Virtual Method Modifier
Incrementing / Decrementing Variables
char - Size
28. Must have a data type
Variable (C# requirements)
Constructor
Inheritance
Framework Class Library (FCL)
29. Only requires one operand usually a count+1 or a count++ or a count--
Keyword
IDE
returnType methodName (parameterList)
Unary Operator
30. Most common kind of reference type. They define objects. They must have at least one method and one field.
String (or string)
Dot Notation
Static Member
Class aka Type
31. When a sub class passes down all the behaviours of the original parent class
Assignment Operator
Inheritance
Assembly
bool - Size
32. Field whose value can never change. Declared with 'const' keyword
Program
Framework Class Library (FCL)
Constant
String (or string)
33. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Static Member
short - .NET alias
FCL
34. Used to display text that end user does not need to edit.
Base Class
Label
returnType methodName (parameterList)
Derived Class
35. 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.
Textbox
short - .NET alias
Partial Method Modifier
Array
36. System.SByte
Int64 - Size
sbyte - .NET alias
Primitive
Dot Notation
37. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Syntax
Conditional Operator
If Statement
38. 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)
Just-in-time (JIT
Boolean Operator
Abstract Class Modifier
Precedence
39. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Abstraction
Value Type
W.P.F
40. A Class that cannot be instantiated.
Expression
Static Class
Constant
Assembly
41. Integrated Development Environment
Protected Access Modifier
Assignment Operator
IDE
Textbox
42. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
byte - Size
Properties
Statement
int - Size
43. Introduces a new class. Marked by curly brackets { }
ushort - Size
Statement
Class aka Type
Class Statement
44. Just-in-time compilation
csc.exe
JIT
Method
Encapsulation
45. System.Byte
ulong - Size
using
byte - .NET alias
Int32 - Size
46. 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.
String (or string)
Variable
Static Member
Syntax
47. Symbols which transform and combine expressions
IDE
JIT
Identifiers
Operator
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.
Decimal (or decimal) - Size
Abstract Class Modifier
Namespace
Identifiers
49. The process of hiding and restricting access to the implementation details of a data structure.
Assembly
uint - Size
Stack
Encapsulation
50. Allows the definition of a Class to span multiple files (within the same Project)
Class aka Type
Namespace
Partial Class Modifier
csc.exe