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. 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
Array
char - .NET alias
Statement
Object
2. System.Int16
r
IDE
Stack
short - .NET alias
3. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Inheritance
Namespace
r
Variable
4. Indicates that the Method can be overridden.
Virtual Method Modifier
Value Type
Constructor
Assembly
5. Sits behind GUI (Graphical User Interface) and provides event listeners
short - Size
Window.xaml.cs
Intermediate Language (IL)
Primitive
6. 8 bit - signed byte (-128 - 127)
sbyte - .NET alias
sbyte - Size
Abstract Class Modifier
Properties
7. 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.
Relational Operator
Internal Access Modifier
Constant
Identifiers
8. Must have a data type
Private Access Modifier
Variable (C# requirements)
Field
Encapsulation
9. 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.
Variable
Reference Type
Assignment Operator
String (or string)
10. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Textbox
Unary Operator
byte - Size
Namespace
11. (< or > or <= or >=)
Method
Relational Operator
JIT
Abstraction
12. Restricts access to a Member to the current Class and any Derived Class.
CLR
Base Class
Protected Access Modifier
returnType methodName (parameterList)
13. Microsoft's generic software framework for application development.
Constant
NET
Protected Access Modifier
Polymorphism
14. (= or += or -= or = or /=)
char - Size
Assignment Operator
Incrementing / Decrementing Variables
bool - Size
15. Represents the encapsulation of data and behaviors into a single unit.
Value Type
int - .NET alias
Class
Common Language Runtime (CLR)
16. An instance of a class that exists at run-time and is typically referenced via a variable name.
String (or string)
Partial Class Modifier
Boolean - Size
Object
17. 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.
DateTime
Properties
Encapsulation
Public Keyword
18. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
short - Size
Unary Operator
csc.exe
Stack
19. Container for one or more Visual Studio Projects.
Expression
Keyword
Visual Studio Solution
Window.xaml.cs
20. 8 bit - unsigned byte (0 - 255)
byte - Size
Textbox
int - .NET alias
Expression
21. Integrated Development Environment
Relational Operator
IDE
short - .NET alias
Boolean Operator
22. Code which implements GUI (graphical User Interface).
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Boolean - Size
Object
23. Extra information within a method
Parameter aka Argument
C#
Object
CLR
24. Restricts access to a Member to the current Class.
Private Access Modifier
Visual Studio Solution
Operator
Comments
25. Allows the definition of a Class to span multiple files (within the same Project)
Operator
Inheritance
String (or string)
Partial Class Modifier
26. When a sub class passes down all the behaviours of the original parent class
Polymorphism
Stack
Inheritance
Equality Operator
27. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Framework Class Library (FCL)
Variable (C# requirements)
28. true or false
C#
bool - Size
char - Size
ulong - .NET alias
29. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
String (or string)
Abstraction
Data structures
Label
30. A symbol that specifies an operation to be performed on one or more variables.
Data structures
Unary Operator
Boolean - Size
Operator
31. 32 bit single precision floating point data
Properties
Float (or float) - Size
Abstract Class Modifier
Common Language Runtime (CLR)
32. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Data structures
Syntax
Assembly
Expression
33. Field whose value can never change. Declared with 'const' keyword
byte - .NET alias
Operator
Constant
Dot Notation
34. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
csc.exe
Stack
Method
35. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
bool - Size
Int32 - Size
long - .NET alias
36. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Partial Class Modifier
ushort - Size
Namespace
37. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
decimal - .NET alias
Assembly
char - .NET alias
38. Command Language Runtime
Textbox
CLR
Method
Abstraction
39. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Operator
Precedence
long - Size
40. System.Char
Array
Console Application
char - .NET alias
Class Statement
41. A Member that cannot be accessed/invoked through an Object Instance.
References (Visual Studio Solution
uint - Size
Static Member
float - .NET alias
42. true or false
Virtual Method Modifier
Method
Just-in-time (JIT
Boolean - Size
43. 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.
Unary Operator
Object
ushort - .NET alias
Abstract Method Modifier
44. The "Type" name of data that is stored on the Heap
Label
Float (or float) - Size
char - .NET alias
Reference Type
45. Syntax of a C# Method
Partial Method Modifier
Assembly
returnType methodName (parameterList)
Intermediate Language (IL)
46. Used to display text that end user does not need to edit.
byte - Size
Label
Variable (C# requirements)
Object
47. 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
uint - .NET alias
Class aka Type
48. System.UInt64
Decimal (or decimal) - Size
Keyword
ulong - .NET alias
Namespace
49. Names reserved by the compiler that coders are not allowed to use as identifiers.
byte - .NET alias
Keyword
sbyte - Size
Identifiers
50. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Inheritance
Assembly
ushort - Size