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. Groups classes together so that they have a unique identifier
Variable
Namespace
Stack
Derived Class
2. System.Int64
Virtual Method Modifier
Assembly
long - .NET alias
Boolean - Size
3. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Just-in-time (JIT
Abstract Class Modifier
IDE
Identifiers
4. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
C#
CLR
Method
5. A Class that inherits characteristics from another Class.
ushort - .NET alias
Derived Class
Internal Access Modifier
Protected Internal Access Modifier
6. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Textbox
CLR
Static Class
csc.exe
7. 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.
Boolean - Size
Syntax
long - .NET alias
Expression
8. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Public Keyword
csc.exe
Namespace
9. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Method
Visual Studio Solution
Polymorphism
Unary Operator
10. Integrated Development Environment
Data structures
Private Access Modifier
using
IDE
11. System.Char
Window.xaml.cs
char - .NET alias
Static Class
Overloaded Method
12. Command Language Runtime
Constructor
float - .NET alias
Method
CLR
13. The "Type" name of data that is stored on the Stack
Int64 - Size
Console Application
Value Type
Inheritance
14. 64 bit integer data
W.P.F
char - Size
uint - Size
Int64 - Size
15. 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'.
Stack
Heap
C#
Textbox
16. 8 bit - signed byte (-128 - 127)
r
IDE
sbyte - Size
Equality Operator
17. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Encapsulation
Int32 - Size
Statement
18. 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.
Primitive
uint - .NET alias
Abstraction
Abstract Method Modifier
19. Container for one or more Visual Studio Projects.
Visual Studio Solution
Data structures
Primitive
Protected Internal Access Modifier
20. 64 bit double precision floating point data
CLR
Constructor
Method
Double (or double) - Size
21. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Protected Access Modifier
Strong Typing
Variable
Textbox
22. A Class from which other classes can inherit characteristics.
Boolean - Size
Primitive
Base Class
Operator
23. A Class that cannot be instantiated.
If Statement
Data structures
Static Class
Operator
24. System.SByte
Method
Boolean - Size
sbyte - .NET alias
Overloaded Method
25. 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)
Boolean Operator
Static Class
float - .NET alias
Private Access Modifier
26. 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.
long - .NET alias
Statement
Variable
Field
27. Most common kind of reference type. They define objects. They must have at least one method and one field.
C#
Console Application
Assembly
Class aka Type
28. 64 bit - unsigned integer data
ulong - Size
Expression
Method
Textbox
29. Access is limited to the current Assembly
IDE
Incrementing / Decrementing Variables
Internal Access Modifier
Float (or float) - Size
30. A type of statement that produces a value that might be tested or assigned to a variable.
Window.xaml.cs
Static Class
Expression
Partial Method Modifier
31. Field whose value can never change. Declared with 'const' keyword
Label
Encapsulation
Statement
Constant
32. The .NET run-time environment that enables code to be compiled and executed.
ulong - Size
Variable (C# requirements)
Common Language Runtime (CLR)
Sealed Class
33. (== or !=)
Equality Operator
Encapsulation
returnType methodName (parameterList)
ushort - Size
34. 64 bit integer data
Primitive Type
using
long - Size
Encapsulation
35. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Stack
Static Member
Statement
36. count = count+1 or count++ or count__. Both count variables are Unary Operators
csc.exe
Sealed Class
Variable
Incrementing / Decrementing Variables
37. Extra information within a method
Statement
Parameter aka Argument
Equality Operator
Comments
38. A method that is called whenever an Object is created. The method uses the same name as the Class.
long - Size
Derived Class
Constructor
char - Size
39. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Object
Public Keyword
Variable
Console Application
40. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Expression
Partial Class Modifier
Protected Internal Access Modifier
Inheritance
41. System.Byte
byte - .NET alias
Inheritance
uint - .NET alias
Abstract Method Modifier
42. System.Int16
Static Member
short - Size
short - .NET alias
Value Type
43. System.UInt16
Abstract Method Modifier
ushort - .NET alias
byte - Size
Namespace
44. 32 bit integer data
Operator
NET
Int32 - Size
Conditional Operator
45. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Data structures
Assembly
Statement
Expression
46. Used to display text that end user does not need to edit.
Assignment Operator
Label
Array
ushort - Size
47. Command which runs repeatedly while (some) condition is true.
While Statement
Encapsulation
Primitive
bool - Size
48. The "Type" name of data that is stored on the Heap
Variable (C# requirements)
Dot Notation
Equality Operator
Reference Type
49. 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.
ulong - .NET alias
Inheritance
ulong - Size
Partial Method Modifier
50. Introduces a new class. Marked by curly brackets { }
Class Statement
Virtual Method Modifier
bool - Size
Data structures