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. The lowest level or fundamental data types needed for representing data.
byte - .NET alias
Primitive Type
Relational Operator
long - .NET alias
2. A Class that can only have Static Members
Static Class
Inheritance
Console Application
Just-in-time (JIT
3. (&& or || or & or |)
Namespace
Static Class
Field
Conditional Operator
4. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Sealed Class
short - .NET alias
Static Class
Primitive
5. Command which runs repeatedly while (some) condition is true.
Encapsulation
While Statement
Equality Operator
Reference Type
6. 8 bit - signed byte (-128 - 127)
Abstract Method Modifier
sbyte - Size
Inheritance
Internal Access Modifier
7. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Assembly
int - .NET alias
byte - Size
8. 32 bit integer data
int - Size
Keyword
decimal - .NET alias
byte - Size
9. 16 bit - signed integer data (-32768 to 32767)
sbyte - .NET alias
Protected Internal Access Modifier
Operator
short - Size
10. Access is limited to the current Assembly and Derived Types
Encapsulation
Protected Internal Access Modifier
Sealed Class
Derived Class
11. 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
Heap
Virtual Method Modifier
Dot Notation
FCL
12. 8 bit - unsigned byte (0 - 255)
byte - Size
Static Class
Value Type
Float (or float) - Size
13. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
References (Visual Studio Solution
Program
Base Class
14. Introduces a new class. Marked by curly brackets { }
Class aka Type
char - .NET alias
Class Statement
float - .NET alias
15. The .NET run-time environment that enables code to be compiled and executed.
Derived Class
Common Language Runtime (CLR)
Abstract Class Modifier
Variable (C# requirements)
16. true or false
IDE
Just-in-time (JIT
bool - Size
int - Size
17. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Intermediate Language (IL)
Properties
short - Size
Strong Typing
18. 16 bit- unsigned word (U+0000 to U+ffff)
Base Class
DateTime
char - Size
long - .NET alias
19. System.SByte
Derived Class
byte - .NET alias
W.P.F
sbyte - .NET alias
20. (= or += or -= or = or /=)
Assignment Operator
Decimal (or decimal) - Size
Abstract Method Modifier
Data structures
21. Container for one or more Visual Studio Projects.
Private Access Modifier
Internal Access Modifier
Inheritance
Visual Studio Solution
22. System.UInt16
ushort - .NET alias
Abstract Method Modifier
Unary Operator
Method
23. System.Char
char - .NET alias
uint - .NET alias
JITer
Properties
24. System.Double
Internal Access Modifier
Double (or double) - Size
double - .NET alias
Overloaded Method
25. 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.
Operator
Syntax
Strong Typing
Textbox
26. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Strong Typing
Protected Internal Access Modifier
Intermediate Language (IL)
27. 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)
Field
Constant
Boolean Operator
JITer
28. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
Virtual Method Modifier
Identifiers
bool - Size
Constructor
29. Allows the definition of a Class to span multiple files (within the same Project)
char - .NET alias
IDE
Reference Type
Partial Class Modifier
30. 64 bit - unsigned integer data
Variable
ulong - Size
Label
short - .NET alias
31. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Static Member
Heap
Strong Typing
32. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Heap
Precedence
float - .NET alias
33. 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
Object
Int32 - Size
Boolean - Size
Encapsulation
34. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Sealed Class
ushort - Size
Inheritance
35. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Variable
Identifiers
Assembly
Object
36. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Dot Notation
Strong Typing
bool - Size
Static Class
37. Syntax of a C# Method
Namespace
byte - Size
returnType methodName (parameterList)
short - .NET alias
38. When a sub class passes down all the behaviours of the original parent class
IDE
Inheritance
Comments
Derived Class
39. 32 bit - unsigned integer data
uint - Size
Int32 - Size
Variable (C# requirements)
bool - Size
40. System.Decimal
Public Keyword
decimal - .NET alias
Assembly
Statement
41. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Statement
sbyte - .NET alias
Static Member
JITer
42. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Data structures
Keyword
float - .NET alias
43. Most common kind of reference type. They define objects. They must have at least one method and one field.
Stack
Class aka Type
Double (or double) - Size
using
44. An instance of a class that exists at run-time and is typically referenced via a variable name.
Dot Notation
returnType methodName (parameterList)
Object
Boolean Operator
45. Represents date and time data with a 100 ns resolution
DateTime
FCL
Constructor
Object
46. (== or !=)
Field
Equality Operator
Virtual Method Modifier
ulong - .NET alias
47. 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.
Object
Method
Partial Method Modifier
Abstract Class Modifier
48. 32 bit integer data
ulong - .NET alias
Int32 - Size
Public Keyword
Just-in-time (JIT
49. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
String (or string)
Expression
Variable
50. 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
Textbox
decimal - .NET alias
r