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 combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Object
Statement
double - .NET alias
Namespace
2. When a sub class passes down all the behaviours of the original parent class
Virtual Method Modifier
char - Size
Inheritance
Class aka Type
3. Groups classes together so that they have a unique identifier
Namespace
csc.exe
Statement
short - .NET alias
4. Used to display text that end user does not need to edit.
Operator
Label
Unary Operator
bool - Size
5. Series of instructions which tell a computer what to do.
Inheritance
Program
Operator
Encapsulation
6. System.Double
uint - Size
double - .NET alias
Static Class
Class aka Type
7. Something that has a different number of parameters to it's predecessor
char - .NET alias
Overloaded Method
using
Static Class
8. 64 bit integer data
long - Size
Conditional Operator
uint - Size
short - Size
9. A Class that cannot be instantiated.
Array
Field
Encapsulation
Static Class
10. System.SByte
Partial Method Modifier
Statement
sbyte - .NET alias
Visual Studio Solution
11. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Relational Operator
Abstraction
Inheritance
Data structures
12. Container for one or more Visual Studio Projects.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
Visual Studio Solution
Variable
13. A symbol that specifies an operation to be performed on one or more variables.
Operator
sbyte - .NET alias
Data structures
uint - .NET alias
14. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Class
ushort - Size
Stack
15. Most common kind of reference type. They define objects. They must have at least one method and one field.
Abstract Method Modifier
Class aka Type
Dot Notation
Incrementing / Decrementing Variables
16. 128 bit fixed precision (financial)
Assembly
Console Application
Framework Class Library (FCL)
Decimal (or decimal) - Size
17. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Label
Statement
Conditional Operator
18. System.UInt64
ulong - .NET alias
Int32 - Size
Variable (C# requirements)
Relational Operator
19. 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
Int64 - Size
Object
Double (or double) - Size
Expression
20. Code which implements GUI (graphical User Interface).
Textbox
Console Application
Heap
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
21. System.Byte
Label
char - .NET alias
byte - .NET alias
Syntax
22. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Textbox
Statement
Equality Operator
References (Visual Studio Solution
23. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Encapsulation
uint - Size
Static Class
24. true or false
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstraction
Static Class
Boolean - Size
25. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Textbox
Namespace
Visual Studio Solution
Inheritance
26. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Float (or float) - Size
Console Application
Class aka Type
27. 64 bit integer data
Int64 - Size
Program
Strong Typing
r
28. System.Single
Method
Intermediate Language (IL)
int - .NET alias
float - .NET alias
29. A Class that inherits characteristics from another Class.
Derived Class
Inheritance
bool - Size
Protected Access Modifier
30. 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
Namespace
Dot Notation
Namespace
Assembly
31. A type of statement that produces a value that might be tested or assigned to a variable.
Static Class
r
Expression
Overloaded Method
32. Represents the encapsulation of data and behaviors into a single unit.
Operator
Class
int - Size
Relational Operator
33. 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.
Partial Method Modifier
byte - Size
Primitive
Int64 - Size
34. A Class that can only have Static Members
Static Class
Expression
Field
Expression
35. The "Type" name of data that is stored on the Heap
sbyte - Size
long - .NET alias
NET
Reference Type
36. A Class that cannot be Inherited
JITer
Sealed Class
Abstract Method Modifier
Constructor
37. 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.
Array
Syntax
Protected Internal Access Modifier
Decimal (or decimal) - Size
38. Restricts access to a Member to the current Class.
Private Access Modifier
Program
Incrementing / Decrementing Variables
Partial Method Modifier
39. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Keyword
Expression
short - Size
40. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Protected Access Modifier
Class Statement
JIT
Strong Typing
41. count = count+1 or count++ or count__. Both count variables are Unary Operators
Keyword
Incrementing / Decrementing Variables
Base Class
Partial Method Modifier
42. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Partial Method Modifier
If Statement
Constructor
Static Member
43. Variables defined by a class
DateTime
Field
Operator
sbyte - Size
44. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Abstract Class Modifier
Parameter aka Argument
Properties
Variable (C# requirements)
45. Indicates that the Method can be overridden.
Protected Internal Access Modifier
Virtual Method Modifier
Strong Typing
JITer
46. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
sbyte - Size
Relational Operator
Intermediate Language (IL)
JITer
47. Just-in-time compilation
Statement
ushort - Size
JIT
Visual Studio Solution
48. System.Decimal
Class Statement
Console Application
csc.exe
decimal - .NET alias
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Incrementing / Decrementing Variables
Overloaded Method
bool - Size
50. Restricts access to a Member to the current Class and any Derived Class.
Operator
IDE
Protected Access Modifier
JIT