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. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Object
Class Statement
FCL
2. Integrated Development Environment
int - Size
Unary Operator
Method
IDE
3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Precedence
Overloaded Method
String (or string)
Assembly
4. Microsoft's generic software framework for application development.
Encapsulation
NET
Assignment Operator
Virtual Method Modifier
5. Text as Unicode characters
Variable (C# requirements)
ushort - .NET alias
Common Language Runtime (CLR)
String (or string)
6. A Class that cannot be instantiated.
csc.exe
Internal Access Modifier
Static Class
W.P.F
7. 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.
double - .NET alias
Syntax
decimal - .NET alias
Relational Operator
8. 32 bit integer data
Int32 - Size
Heap
Static Class
returnType methodName (parameterList)
9. 64 bit integer data
Stack
Boolean Operator
Decimal (or decimal) - Size
Int64 - Size
10. The process of hiding and restricting access to the implementation details of a data structure.
sbyte - .NET alias
Method
Encapsulation
Assignment Operator
11. The lowest level or fundamental data types needed for representing data.
double - .NET alias
Static Member
ushort - .NET alias
Primitive Type
12. Represents the encapsulation of data and behaviors into a single unit.
Abstraction
Class
Incrementing / Decrementing Variables
using
13. Code which implements GUI (graphical User Interface).
Int64 - Size
Equality Operator
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
14. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Textbox
Unary Operator
Strong Typing
int - Size
15. A Class that inherits characteristics from another Class.
Precedence
Intermediate Language (IL)
Derived Class
Int32 - Size
16. Framework Class Library
FCL
Int64 - Size
DateTime
Static Class
17. (< or > or <= or >=)
uint - .NET alias
Relational Operator
Label
Encapsulation
18. 32 bit integer data
W.P.F
int - Size
Partial Class Modifier
Polymorphism
19. Command Language Runtime
Constructor
Primitive
IDE
CLR
20. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
Primitive Type
Just-in-time (JIT
Protected Access Modifier
Abstract Method Modifier
21. Most common kind of reference type. They define objects. They must have at least one method and one field.
Dot Notation
Class aka Type
String (or string)
Abstract Class Modifier
22. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Overloaded Method
Assignment Operator
Data structures
Polymorphism
23. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Inheritance
Constructor
Common Language Runtime (CLR)
24. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Identifiers
Boolean Operator
int - .NET alias
25. 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
Variable
long - Size
FCL
26. Command which runs repeatedly while (some) condition is true.
Incrementing / Decrementing Variables
Assignment Operator
While Statement
long - .NET alias
27. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Float (or float) - Size
Encapsulation
Keyword
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.).
Namespace
Int32 - Size
Virtual Method Modifier
Heap
29. System.UInt64
Stack
csc.exe
ulong - .NET alias
long - .NET alias
30. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
References (Visual Studio Solution
W.P.F
csc.exe
Statement
31. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Incrementing / Decrementing Variables
Console Application
Precedence
32. Variables defined by a class
Program
Statement
Field
using
33. System.Int16
Inheritance
Float (or float) - Size
double - .NET alias
short - .NET alias
34. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
float - .NET alias
Static Class
NET
35. true or false
long - Size
Console Application
bool - Size
short - Size
36. Access is limited to the current Assembly
Internal Access Modifier
W.P.F
Sealed Class
Program
37. An instance of a class that exists at run-time and is typically referenced via a variable name.
If Statement
Internal Access Modifier
Object
Equality Operator
38. Introduces a new class. Marked by curly brackets { }
Class Statement
ushort - Size
sbyte - Size
Private Access Modifier
39. 8 bit - unsigned byte (0 - 255)
returnType methodName (parameterList)
byte - Size
Assembly
Label
40. Keyword which exposes members to other classes OR Identifier which makes program elements public
int - .NET alias
byte - Size
Public Keyword
C#
41. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Precedence
Relational Operator
Method
int - Size
42. A type of statement that produces a value that might be tested or assigned to a variable.
Partial Class Modifier
Expression
Window.xaml.cs
double - .NET alias
43. (&& or || or & or |)
Boolean Operator
Expression
Conditional Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
44. The "Type" name of data that is stored on the Heap
r
Intermediate Language (IL)
Method
Reference Type
45. Indicates that the Method can be overridden.
Properties
Textbox
Virtual Method Modifier
Class Statement
46. 64 bit - unsigned integer data
Abstract Method Modifier
char - Size
ulong - Size
r
47. Mathematical (+ or - or / or %)
Object
Inheritance
Operator
Reference Type
48. true or false
Dot Notation
Operator
Boolean - Size
DateTime
49. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Expression
Partial Method Modifier
Field
50. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Unary Operator
Assembly
Inheritance
Class Statement