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 symbol that specifies an operation to be performed on one or more variables.
Identifiers
Field
bool - Size
Operator
2. A Class that cannot be instantiated.
uint - Size
Strong Typing
Static Class
IDE
3. 64 bit integer data
Assembly
long - Size
Abstract Class Modifier
Object
4. Microsoft's generic software framework for application development.
Double (or double) - Size
NET
Equality Operator
Properties
5. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Parameter aka Argument
Assembly
Protected Internal Access Modifier
Expression
6. Restricts access to a Member to the current Class.
If Statement
byte - .NET alias
Private Access Modifier
ulong - Size
7. 32 bit - unsigned integer data
uint - Size
Static Class
returnType methodName (parameterList)
W.P.F
8. 32 bit integer data
int - Size
C#
short - Size
Statement
9. Most common kind of reference type. They define objects. They must have at least one method and one field.
ulong - Size
Parameter aka Argument
Int64 - Size
Class aka Type
10. Access is limited to the current Assembly
Primitive
Internal Access Modifier
Intermediate Language (IL)
Statement
11. Only requires one operand usually a count+1 or a count++ or a count--
csc.exe
Unary Operator
float - .NET alias
uint - Size
12. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Float (or float) - Size
Identifiers
char - Size
13. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Unary Operator
If Statement
Inheritance
Primitive Type
14. Groups classes together so that they have a unique identifier
ulong - Size
Equality Operator
DateTime
Namespace
15. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Constructor
Primitive
Framework Class Library (FCL)
Int64 - Size
16. System.Int64
long - .NET alias
Polymorphism
Console Application
int - Size
17. Introduces a new class. Marked by curly brackets { }
Partial Class Modifier
Class Statement
Incrementing / Decrementing Variables
W.P.F
18. System.Char
short - .NET alias
Public Keyword
char - .NET alias
double - .NET alias
19. System.UInt32
uint - .NET alias
Operator
Partial Class Modifier
Object
20. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Internal Access Modifier
NET
Abstraction
21. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Assignment Operator
Static Member
Statement
Inheritance
22. Extra information within a method
long - Size
Program
Constant
Parameter aka Argument
23. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Variable
Equality Operator
short - .NET alias
24. Field whose value can never change. Declared with 'const' keyword
Variable
Static Class
char - .NET alias
Constant
25. 16 bit- unsigned word (U+0000 to U+ffff)
Method
char - Size
DateTime
While Statement
26. Restricts access to a Member to the current Class and any Derived Class.
Strong Typing
Protected Access Modifier
Derived Class
sbyte - Size
27. System.Decimal
sbyte - Size
Inheritance
decimal - .NET alias
using
28. System.UInt64
Encapsulation
DateTime
ulong - .NET alias
FCL
29. System.Int32
Dot Notation
int - .NET alias
Partial Class Modifier
Namespace
30. 128 bit fixed precision (financial)
Console Application
ushort - Size
Properties
Decimal (or decimal) - Size
31. The .NET run-time environment that enables code to be compiled and executed.
Data structures
Common Language Runtime (CLR)
Partial Method Modifier
Reference Type
32. System.UInt16
short - .NET alias
csc.exe
Constant
ushort - .NET alias
33. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Static Class
Operator
Parameter aka Argument
34. Allow access to types that exist in outside assemblies.
IDE
Common Language Runtime (CLR)
Public Keyword
References (Visual Studio Solution
35. (= or += or -= or = or /=)
Variable (C# requirements)
Assignment Operator
ulong - .NET alias
sbyte - .NET alias
36. A Class that inherits characteristics from another Class.
Assembly
Public Keyword
Variable
Derived Class
37. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
byte - .NET alias
Public Keyword
Protected Internal Access Modifier
38. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Assignment Operator
Namespace
Incrementing / Decrementing Variables
Operator
39. Just-in-time compilation
Int32 - Size
Data structures
JIT
NET
40. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Int64 - Size
Incrementing / Decrementing Variables
Data structures
Constructor
41. A type of statement that produces a value that might be tested or assigned to a variable.
Static Class
Method
Expression
Field
42. When a sub class passes down all the behaviours of the original parent class
Textbox
int - .NET alias
Double (or double) - Size
Inheritance
43. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Namespace
short - Size
Namespace
44. 64 bit double precision floating point data
uint - .NET alias
DateTime
Double (or double) - Size
Operator
45. The member type of a Class that performs an action.
Precedence
csc.exe
Method
Statement
46. Syntax of a C# Method
IDE
Properties
returnType methodName (parameterList)
Incrementing / Decrementing Variables
47. Compilation of classes. In C# Usually ends in .dll or .exe
Int32 - Size
uint - .NET alias
Precedence
Assembly
48. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
uint - Size
Relational Operator
Visual Studio Solution
49. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Class aka Type
Class Statement
Unary Operator
50. 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.
Label
Syntax
bool - Size
String (or string)