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. 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.
Abstract Method Modifier
Class
Value Type
Int32 - Size
2. Introduces a new class. Marked by curly brackets { }
Boolean - Size
Conditional Operator
Class Statement
returnType methodName (parameterList)
3. Represents the encapsulation of data and behaviors into a single unit.
DateTime
Class
Assignment Operator
Primitive Type
4. The member type of a Class that performs an action.
Variable (C# requirements)
Assembly
Operator
Method
5. System.Decimal
Polymorphism
sbyte - Size
decimal - .NET alias
char - .NET alias
6. Series of instructions which tell a computer what to do.
Derived Class
Method
Internal Access Modifier
Program
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
Class aka Type
Object
Console Application
ulong - Size
8. A method that is called whenever an Object is created. The method uses the same name as the Class.
Value Type
char - Size
ushort - Size
Constructor
9. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Incrementing / Decrementing Variables
Virtual Method Modifier
Derived Class
10. 32 bit integer data
int - Size
bool - Size
Class aka Type
Object
11. Allow access to types that exist in outside assemblies.
While Statement
References (Visual Studio Solution
Keyword
Constructor
12. Syntax of a C# Method
returnType methodName (parameterList)
Statement
ushort - .NET alias
int - Size
13. (== or !=)
Conditional Operator
Int64 - Size
Textbox
Equality Operator
14. System.UInt16
short - Size
sbyte - .NET alias
ushort - .NET alias
Variable
15. Symbols which transform and combine expressions
Textbox
While Statement
Operator
Overloaded Method
16. 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.
Protected Internal Access Modifier
long - .NET alias
Variable
Inheritance
17. A symbol that specifies an operation to be performed on one or more variables.
Identifiers
Operator
Common Language Runtime (CLR)
Primitive Type
18. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Assignment Operator
JITer
Static Member
Array
19. A Member that cannot be accessed/invoked through an Object Instance.
Protected Access Modifier
Static Member
Encapsulation
Static Class
20. 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.
Partial Method Modifier
Encapsulation
Boolean Operator
Inheritance
21. A Class that can only have Static Members
Static Class
ushort - Size
Inheritance
int - Size
22. Groups classes together so that they have a unique identifier
Protected Access Modifier
Constructor
Encapsulation
Namespace
23. 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.
Variable (C# requirements)
JITer
ushort - Size
Syntax
24. Command which runs repeatedly while (some) condition is true.
byte - Size
Abstract Class Modifier
While Statement
Derived Class
25. 32 bit - unsigned integer data
Abstract Method Modifier
uint - Size
Primitive
Common Language Runtime (CLR)
26. System.Byte
byte - .NET alias
Static Class
Overloaded Method
Protected Internal Access Modifier
27. Something that has a different number of parameters to it's predecessor
FCL
Object
Overloaded Method
Operator
28. System.Single
W.P.F
float - .NET alias
Parameter aka Argument
Polymorphism
29. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
ushort - Size
Stack
Equality Operator
Variable
30. Must have a data type
Assembly
Variable
ushort - .NET alias
Variable (C# requirements)
31. true or false
Unary Operator
bool - Size
DateTime
Assembly
32. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
JIT
Common Language Runtime (CLR)
Data structures
Unary Operator
33. Names reserved by the compiler that coders are not allowed to use as identifiers.
byte - .NET alias
sbyte - .NET alias
Operator
Keyword
34. Variables defined by a class
Identifiers
Constructor
Array
Field
35. System.Int16
short - .NET alias
Static Class
double - .NET alias
Intermediate Language (IL)
36. When a sub class passes down all the behaviours of the original parent class
Data structures
IDE
Inheritance
Assembly
37. Restricts access to a Member to the current Class and any Derived Class.
Abstract Class Modifier
Sealed Class
Partial Method Modifier
Protected Access Modifier
38. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
JITer
Inheritance
Overloaded Method
Primitive
39. A type of statement that produces a value that might be tested or assigned to a variable.
long - Size
Expression
Precedence
Static Member
40. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstract Method Modifier
Abstraction
FCL
Partial Method Modifier
41. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
W.P.F
Comments
byte - .NET alias
int - .NET alias
42. Just-in-time compilation
NET
JIT
Overloaded Method
IDE
43. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
DateTime
Class Statement
If Statement
Expression
44. 64 bit double precision floating point data
Field
Double (or double) - Size
Protected Internal Access Modifier
float - .NET alias
45. A Class that cannot be Inherited
decimal - .NET alias
Sealed Class
long - .NET alias
Syntax
46. Integrated Development Environment
char - .NET alias
Visual Studio Solution
IDE
Inheritance
47. 128 bit fixed precision (financial)
Variable
Double (or double) - Size
Decimal (or decimal) - Size
Dot Notation
48. Most common kind of reference type. They define objects. They must have at least one method and one field.
Data structures
Inheritance
Boolean - Size
Class aka Type
49. Keyword which exposes members to other classes OR Identifier which makes program elements public
Data structures
Program
Public Keyword
Equality Operator
50. A Class that inherits characteristics from another Class.
String (or string)
Inheritance
Decimal (or decimal) - Size
Derived Class