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. Indicates that the Method can be overridden.
Program
Virtual Method Modifier
C#
using
2. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Protected Internal Access Modifier
Label
Double (or double) - Size
Statement
3. (< or > or <= or >=)
W.P.F
Properties
Relational Operator
ushort - .NET alias
4. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Stack
Parameter aka Argument
Strong Typing
5. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Array
uint - .NET alias
Parameter aka Argument
6. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Incrementing / Decrementing Variables
Encapsulation
Statement
7. Extra information within a method
Parameter aka Argument
Statement
Method
String (or string)
8. true or false
Comments
Boolean - Size
csc.exe
Internal Access Modifier
9. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
uint - Size
Label
Operator
10. 16 bit - signed integer data (-32768 to 32767)
short - Size
Public Keyword
Static Class
ushort - Size
11. 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.
Operator
Overloaded Method
Variable
DateTime
12. Microsoft's generic software framework for application development.
Assembly
NET
Object
Double (or double) - Size
13. The .NET run-time environment that enables code to be compiled and executed.
Visual Studio Solution
While Statement
Common Language Runtime (CLR)
Statement
14. 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
Just-in-time (JIT
Object
Relational Operator
Primitive
15. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Static Member
Incrementing / Decrementing Variables
Value Type
Precedence
16. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
int - Size
C#
Array
Properties
17. System.Single
uint - .NET alias
char - Size
float - .NET alias
Variable
18. System.Int64
Precedence
long - .NET alias
Syntax
float - .NET alias
19. System.Int32
Boolean Operator
int - .NET alias
byte - .NET alias
Overloaded Method
20. System.Byte
byte - .NET alias
Polymorphism
Namespace
Stack
21. Groups classes together so that they have a unique identifier
Dot Notation
Namespace
returnType methodName (parameterList)
FCL
22. (&& or || or & or |)
W.P.F
char - .NET alias
Inheritance
Conditional Operator
23. 64 bit integer data
Expression
Dot Notation
sbyte - .NET alias
long - Size
24. Code which implements GUI (graphical User Interface).
Unary Operator
Class aka Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Inheritance
25. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
bool - Size
Method
Polymorphism
Primitive
26. Framework Class Library
Visual Studio Solution
FCL
Program
uint - Size
27. 32 bit integer data
Int32 - Size
Internal Access Modifier
Intermediate Language (IL)
long - Size
28. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
bool - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Namespace
Variable (C# requirements)
29. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Primitive
Precedence
Operator
Stack
30. Contains the class definitions that allow access to the functionality provided by .NET.
returnType methodName (parameterList)
Framework Class Library (FCL)
decimal - .NET alias
NET
31. A Class that cannot be instantiated.
char - Size
JIT
Protected Access Modifier
Static Class
32. Text as Unicode characters
If Statement
Properties
String (or string)
Boolean Operator
33. 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.
Syntax
Method
JIT
Expression
34. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Polymorphism
Static Class
Constant
Statement
35. Variables defined by a class
Boolean - Size
Assembly
Field
Derived Class
36. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
References (Visual Studio Solution
Syntax
Identifiers
37. Sits behind GUI (Graphical User Interface) and provides event listeners
double - .NET alias
Expression
Field
Window.xaml.cs
38. Most common kind of reference type. They define objects. They must have at least one method and one field.
long - .NET alias
Class aka Type
Syntax
Variable
39. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Label
short - Size
Namespace
If Statement
40. System.UInt32
uint - .NET alias
short - .NET alias
Data structures
int - .NET alias
41. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstraction
Abstract Class Modifier
Conditional Operator
Class aka Type
42. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Operator
Static Class
Static Member
43. System.Int16
Precedence
Variable
short - .NET alias
byte - Size
44. Introduces a new class. Marked by curly brackets { }
Class Statement
Constructor
JITer
Class
45. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Stack
Expression
Inheritance
Intermediate Language (IL)
46. The process of compiling IL source into CPU-native code for execution.
Variable (C# requirements)
Just-in-time (JIT
Class
Equality Operator
47. Integrated Development Environment
IDE
float - .NET alias
If Statement
References (Visual Studio Solution
48. Used to display text that end user does not need to edit.
Keyword
ushort - .NET alias
float - .NET alias
Label
49. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
NET
Static Class
Abstraction
long - .NET alias
50. Allow access to types that exist in outside assemblies.
char - .NET alias
Operator
References (Visual Studio Solution
byte - .NET alias