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. A Class that cannot be instantiated.
Static Class
Partial Class Modifier
short - Size
Strong Typing
2. System.Int32
int - .NET alias
Equality Operator
Namespace
r
3. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Strong Typing
DateTime
ushort - Size
csc.exe
4. Used to display text that end user does not need to edit.
Expression
int - .NET alias
Label
Expression
5. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
NET
Method
long - .NET alias
6. 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
Expression
Constructor
Field
7. 64 bit - unsigned integer data
ulong - Size
Method
ushort - .NET alias
Framework Class Library (FCL)
8. 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
Int64 - Size
short - .NET alias
Dot Notation
Inheritance
9. System.UInt64
NET
Program
Field
ulong - .NET alias
10. 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.
Partial Method Modifier
Abstract Method Modifier
Base Class
Primitive
11. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
sbyte - Size
Encapsulation
Partial Method Modifier
12. 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)
Partial Method Modifier
Public Keyword
13. Framework Class Library
Object
decimal - .NET alias
FCL
Identifiers
14. System.Decimal
Equality Operator
Boolean Operator
decimal - .NET alias
double - .NET alias
15. Indicates that the Method can be overridden.
int - .NET alias
Virtual Method Modifier
Abstract Method Modifier
Common Language Runtime (CLR)
16. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
char - .NET alias
Incrementing / Decrementing Variables
Stack
Operator
17. true or false
Array
Abstract Method Modifier
bool - Size
Base Class
18. 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.
Constructor
Syntax
Operator
Boolean Operator
19. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Statement
If Statement
Abstract Class Modifier
ulong - .NET alias
20. A Class that inherits characteristics from another Class.
Derived Class
Incrementing / Decrementing Variables
Heap
Framework Class Library (FCL)
21. Container for one or more Visual Studio Projects.
Field
Visual Studio Solution
Expression
CLR
22. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
ushort - .NET alias
short - Size
Precedence
Properties
23. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Method
Precedence
Protected Internal Access Modifier
24. 16 bit- unsigned word (U+0000 to U+ffff)
Array
String (or string)
char - Size
Constant
25. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Static Class
String (or string)
JITer
Assignment Operator
26. 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'.
returnType methodName (parameterList)
Method
Just-in-time (JIT
Textbox
27. 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.
Assignment Operator
csc.exe
Encapsulation
Int64 - Size
28. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Just-in-time (JIT
Int32 - Size
r
Statement
29. 64 bit integer data
JITer
Program
long - Size
Window.xaml.cs
30. Access is limited to the current Assembly and Derived Types
uint - Size
Protected Internal Access Modifier
decimal - .NET alias
Identifiers
31. The lowest level or fundamental data types needed for representing data.
Primitive Type
uint - Size
Protected Access Modifier
Variable
32. Restricts access to a Member to the current Class and any Derived Class.
bool - Size
Protected Access Modifier
Primitive
short - .NET alias
33. A Class that can only have Static Members
Internal Access Modifier
Visual Studio Solution
Static Class
ushort - .NET alias
34. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Incrementing / Decrementing Variables
Decimal (or decimal) - Size
byte - Size
Statement
35. count = count+1 or count++ or count__. Both count variables are Unary Operators
long - .NET alias
Stack
String (or string)
Incrementing / Decrementing Variables
36. (= or += or -= or = or /=)
Assignment Operator
long - .NET alias
float - .NET alias
short - Size
37. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Sealed Class
Syntax
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
38. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Comments
returnType methodName (parameterList)
long - Size
39. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
double - .NET alias
long - .NET alias
Sealed Class
Data structures
40. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
csc.exe
ushort - .NET alias
byte - .NET alias
41. 16 bit - unsigned integer data (0 to 65535)
NET
Int32 - Size
String (or string)
ushort - Size
42. 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
Private Access Modifier
Class
Protected Internal Access Modifier
43. Restricts access to a Member to the current Class.
Boolean - Size
Derived Class
IDE
Private Access Modifier
44. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
byte - .NET alias
Partial Class Modifier
Field
Inheritance
45. 16 bit - signed integer data (-32768 to 32767)
Framework Class Library (FCL)
ulong - .NET alias
Statement
short - Size
46. An instance of a class that exists at run-time and is typically referenced via a variable name.
r
Object
Inheritance
sbyte - .NET alias
47. Access is limited to the current Assembly
Dot Notation
Internal Access Modifier
Abstraction
ulong - .NET alias
48. Text as Unicode characters
String (or string)
Program
Equality Operator
Variable
49. Contains the class definitions that allow access to the functionality provided by .NET.
Primitive
Derived Class
Method
Framework Class Library (FCL)
50. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Unary Operator
Variable
Virtual Method Modifier
C#