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 Member that cannot be accessed/invoked through an Object Instance.
Static Member
Variable
Dot Notation
FCL
2. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Window.xaml.cs
Array
If Statement
String (or string)
3. Something that has a different number of parameters to it's predecessor
Incrementing / Decrementing Variables
String (or string)
Keyword
Overloaded Method
4. The process of compiling IL source into CPU-native code for execution.
Window.xaml.cs
Unary Operator
Intermediate Language (IL)
Just-in-time (JIT
5. Groups classes together so that they have a unique identifier
Namespace
Unary Operator
ushort - .NET alias
returnType methodName (parameterList)
6. 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)
long - .NET alias
Boolean Operator
Class Statement
Program
7. Allow access to types that exist in outside assemblies.
Namespace
References (Visual Studio Solution
Reference Type
Precedence
8. Text as Unicode characters
Equality Operator
Public Keyword
Properties
String (or string)
9. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Precedence
sbyte - Size
Boolean - Size
10. 64 bit integer data
Partial Class Modifier
Int64 - Size
Object
Public Keyword
11. Command Language Runtime
Intermediate Language (IL)
Object
Partial Class Modifier
CLR
12. Access is limited to the current Assembly
Constructor
Internal Access Modifier
long - Size
Primitive
13. 64 bit integer data
ulong - .NET alias
long - Size
Class Statement
uint - .NET alias
14. A Class that cannot be Inherited
Unary Operator
Sealed Class
Identifiers
References (Visual Studio Solution
15. Field whose value can never change. Declared with 'const' keyword
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstraction
Program
Constant
16. Represents date and time data with a 100 ns resolution
Statement
DateTime
Assembly
Operator
17. 32 bit single precision floating point data
Float (or float) - Size
Incrementing / Decrementing Variables
Framework Class Library (FCL)
FCL
18. A Class that inherits characteristics from another Class.
Derived Class
Dot Notation
Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
19. System.Char
char - .NET alias
Method
Expression
Protected Access Modifier
20. Most common kind of reference type. They define objects. They must have at least one method and one field.
Assembly
Assembly
Inheritance
Class aka Type
21. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Label
Abstract Class Modifier
Inheritance
References (Visual Studio Solution
22. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Operator
Just-in-time (JIT
Console Application
Incrementing / Decrementing Variables
23. The member type of a Class that performs an action.
Comments
Operator
Data structures
Method
24. (= or += or -= or = or /=)
Operator
Assignment Operator
Framework Class Library (FCL)
Variable (C# requirements)
25. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
char - Size
Operator
Incrementing / Decrementing Variables
Strong Typing
26. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Constant
Partial Method Modifier
Label
Properties
27. Names reserved by the compiler that coders are not allowed to use as identifiers.
Expression
Keyword
Polymorphism
FCL
28. 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.
JIT
Syntax
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
References (Visual Studio Solution
29. Code which implements GUI (graphical User Interface).
Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
decimal - .NET alias
char - Size
30. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Parameter aka Argument
char - Size
FCL
Precedence
31. Contains the class definitions that allow access to the functionality provided by .NET.
uint - .NET alias
Framework Class Library (FCL)
Constant
Internal Access Modifier
32. System.Single
Comments
Static Member
double - .NET alias
float - .NET alias
33. Keyword which exposes members to other classes OR Identifier which makes program elements public
Framework Class Library (FCL)
Abstract Method Modifier
While Statement
Public Keyword
34. System.Int16
Intermediate Language (IL)
short - .NET alias
Heap
Inheritance
35. An instance of a class that exists at run-time and is typically referenced via a variable name.
Operator
Primitive Type
Statement
Object
36. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Window.xaml.cs
Expression
Incrementing / Decrementing Variables
Namespace
37. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Sealed Class
Comments
Partial Class Modifier
returnType methodName (parameterList)
38. 8 bit - unsigned byte (0 - 255)
byte - Size
ushort - Size
Private Access Modifier
Method
39. Microsoft's generic software framework for application development.
Comments
NET
Object
Statement
40. Used to display text that end user does not need to edit.
Static Member
Label
W.P.F
Dot Notation
41. Series of instructions which tell a computer what to do.
ulong - Size
Program
Label
Conditional Operator
42. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Float (or float) - Size
Polymorphism
FCL
ushort - Size
43. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Operator
Inheritance
Conditional Operator
Identifiers
44. 64 bit - unsigned integer data
uint - Size
Virtual Method Modifier
ulong - Size
Constant
45. Symbols which transform and combine expressions
Class Statement
Operator
Expression
Abstract Class Modifier
46. 32 bit integer data
ushort - Size
Label
char - Size
Int32 - Size
47. 16 bit - signed integer data (-32768 to 32767)
Boolean - Size
DateTime
Unary Operator
short - Size
48. Restricts access to a Member to the current Class.
Private Access Modifier
Syntax
Textbox
Class aka Type
49. 64 bit double precision floating point data
double - .NET alias
Double (or double) - Size
Console Application
Polymorphism
50. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Identifiers
Operator
float - .NET alias