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. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Common Language Runtime (CLR)
While Statement
Assembly
2. Syntax of a C# Method
Protected Access Modifier
Variable (C# requirements)
Variable
returnType methodName (parameterList)
3. System.SByte
Reference Type
Window.xaml.cs
Internal Access Modifier
sbyte - .NET alias
4. 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.
Precedence
Conditional Operator
sbyte - .NET alias
Syntax
5. A Member that cannot be accessed/invoked through an Object Instance.
Public Keyword
short - Size
Static Member
float - .NET alias
6. Code which signifies a carriage return. Symbolises a new line in a text box.
Double (or double) - Size
References (Visual Studio Solution
r
Parameter aka Argument
7. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Protected Internal Access Modifier
decimal - .NET alias
Console Application
Program
8. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Identifiers
Strong Typing
Relational Operator
float - .NET alias
9. Compilation of classes. In C# Usually ends in .dll or .exe
r
Dot Notation
Conditional Operator
Assembly
10. A Class from which other classes can inherit characteristics.
Parameter aka Argument
Relational Operator
Base Class
Abstract Class Modifier
11. The lowest level or fundamental data types needed for representing data.
Primitive Type
ushort - .NET alias
Reference Type
Protected Internal Access Modifier
12. A method that is called whenever an Object is created. The method uses the same name as the Class.
ushort - Size
Field
Framework Class Library (FCL)
Constructor
13. A Class that inherits characteristics from another Class.
Common Language Runtime (CLR)
Class Statement
NET
Derived Class
14. Introduces a new class. Marked by curly brackets { }
Class Statement
ulong - .NET alias
Window.xaml.cs
Public Keyword
15. true or false
Inheritance
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
short - Size
Boolean - Size
16. Restricts access to a Member to the current Class.
Static Member
Sealed Class
NET
Private Access Modifier
17. Variables defined by a class
Array
References (Visual Studio Solution
Field
Inheritance
18. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Stack
long - .NET alias
Data structures
Comments
19. Something that has a different number of parameters to it's predecessor
C#
Class Statement
Overloaded Method
Dot Notation
20. 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
Precedence
csc.exe
Dot Notation
Relational Operator
21. 64 bit integer data
Label
Int64 - Size
using
uint - .NET alias
22. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
long - Size
Window.xaml.cs
short - .NET alias
23. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
JIT
NET
csc.exe
24. (&& or || or & or |)
Operator
Conditional Operator
Partial Class Modifier
Parameter aka Argument
25. A Class that cannot be Inherited
Sealed Class
NET
If Statement
short - Size
26. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Assembly
Heap
Namespace
27. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
char - Size
Operator
sbyte - .NET alias
Statement
28. (< or > or <= or >=)
Statement
Common Language Runtime (CLR)
short - Size
Relational Operator
29. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Class aka Type
Protected Internal Access Modifier
Strong Typing
Expression
30. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Variable
Protected Internal Access Modifier
Constructor
31. 64 bit - unsigned integer data
CLR
char - .NET alias
Static Member
ulong - Size
32. Must have a data type
short - .NET alias
Variable (C# requirements)
Class aka Type
Intermediate Language (IL)
33. Extra information within a method
Static Member
Parameter aka Argument
Method
Assignment Operator
34. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Strong Typing
short - Size
Framework Class Library (FCL)
Namespace
35. Command which runs repeatedly while (some) condition is true.
Encapsulation
While Statement
char - .NET alias
byte - .NET alias
36. Only requires one operand usually a count+1 or a count++ or a count--
Properties
Object
Visual Studio Solution
Unary Operator
37. 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.
Data structures
Static Class
Encapsulation
Program
38. System.UInt16
ushort - .NET alias
int - .NET alias
Field
Inheritance
39. 64 bit integer data
Constant
long - Size
Overloaded Method
ulong - Size
40. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
double - .NET alias
Operator
Boolean - Size
41. 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
Abstract Method Modifier
Unary Operator
r
42. Access is limited to the current Assembly and Derived Types
Namespace
References (Visual Studio Solution
using
Protected Internal Access Modifier
43. The member type of a Class that performs an action.
Method
Operator
Window.xaml.cs
Abstract Class Modifier
44. 32 bit integer data
IDE
Boolean - Size
Namespace
Int32 - Size
45. Code which implements GUI (graphical User Interface).
Object
Data structures
int - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
46. A type of statement that produces a value that might be tested or assigned to a variable.
Inheritance
sbyte - Size
While Statement
Expression
47. Most common kind of reference type. They define objects. They must have at least one method and one field.
double - .NET alias
Class aka Type
Operator
Operator
48. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Decimal (or decimal) - Size
Method
JIT
Abstraction
49. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
bool - Size
Assembly
Stack
Properties
50. Integrated Development Environment
IDE
DateTime
sbyte - .NET alias
Inheritance