SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
char - Size
Inheritance
Assignment Operator
2. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Derived Class
Properties
Method
Int32 - Size
3. 8 bit - signed byte (-128 - 127)
CLR
sbyte - Size
r
DateTime
4. System.Single
uint - Size
float - .NET alias
returnType methodName (parameterList)
Inheritance
5. A type of statement that produces a value that might be tested or assigned to a variable.
While Statement
Strong Typing
Expression
If Statement
6. System.Byte
Object
Static Member
byte - .NET alias
Decimal (or decimal) - Size
7. 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
Constant
Partial Class Modifier
Private Access Modifier
Dot Notation
8. Framework Class Library
FCL
Program
Class Statement
Abstraction
9. Syntax of a C# Method
Protected Internal Access Modifier
Class
returnType methodName (parameterList)
ulong - .NET alias
10. A Class that inherits characteristics from another Class.
W.P.F
Derived Class
byte - Size
JIT
11. (&& or || or & or |)
C#
float - .NET alias
double - .NET alias
Conditional Operator
12. 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)
Boolean Operator
int - Size
uint - Size
Label
13. Code which implements GUI (graphical User Interface).
int - Size
Array
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
14. The "Type" name of data that is stored on the Stack
String (or string)
Static Member
Value Type
r
15. 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.
bool - Size
Base Class
Partial Method Modifier
Stack
16. Used to display text that end user does not need to edit.
Label
Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Public Keyword
17. 32 bit single precision floating point data
Static Class
Float (or float) - Size
Program
Virtual Method Modifier
18. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Label
Properties
Namespace
19. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Protected Internal Access Modifier
Console Application
Inheritance
r
20. 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.
FCL
Public Keyword
Identifiers
Object
21. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Internal Access Modifier
float - .NET alias
Polymorphism
Inheritance
22. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
uint - Size
Static Class
Expression
Object
23. Sits behind GUI (Graphical User Interface) and provides event listeners
Incrementing / Decrementing Variables
sbyte - .NET alias
Unary Operator
Window.xaml.cs
24. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
C#
Assembly
Textbox
Constant
25. The lowest level or fundamental data types needed for representing data.
byte - .NET alias
Primitive Type
Partial Method Modifier
Label
26. Integrated Development Environment
IDE
Virtual Method Modifier
int - Size
Array
27. Windows Presentation Foundation
using
JITer
Variable
W.P.F
28. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Identifiers
Class
Abstract Method Modifier
29. count = count+1 or count++ or count__. Both count variables are Unary Operators
Operator
Statement
Partial Class Modifier
Incrementing / Decrementing Variables
30. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Window.xaml.cs
Precedence
Boolean Operator
Constructor
31. 8 bit - unsigned byte (0 - 255)
Primitive
byte - Size
byte - .NET alias
Assembly
32. 64 bit - unsigned integer data
Private Access Modifier
Encapsulation
Reference Type
ulong - Size
33. 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.
Class Statement
int - .NET alias
Abstract Method Modifier
Double (or double) - Size
34. Groups classes together so that they have a unique identifier
Namespace
uint - Size
Encapsulation
Float (or float) - Size
35. 16 bit - signed integer data (-32768 to 32767)
short - Size
Assignment Operator
Unary Operator
Abstract Method Modifier
36. System.Char
Derived Class
char - .NET alias
byte - .NET alias
Static Class
37. 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
Public Keyword
long - .NET alias
Namespace
38. Command which runs repeatedly while (some) condition is true.
Operator
ulong - .NET alias
While Statement
Class aka Type
39. 64 bit integer data
Data structures
Expression
Int64 - Size
using
40. Indicates that the Method can be overridden.
Method
Program
Virtual Method Modifier
Protected Access Modifier
41. 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.
Syntax
FCL
ulong - Size
Class
42. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Boolean Operator
Constructor
Int32 - Size
Stack
43. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
long - Size
Int64 - Size
Properties
44. System.UInt32
uint - .NET alias
Syntax
Array
Inheritance
45. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Float (or float) - Size
Base Class
Boolean Operator
46. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Data structures
Abstract Class Modifier
Protected Access Modifier
47. A Member that cannot be accessed/invoked through an Object Instance.
Variable
Static Member
byte - .NET alias
Virtual Method Modifier
48. An instance of a class that exists at run-time and is typically referenced via a variable name.
char - Size
Decimal (or decimal) - Size
Data structures
Object
49. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Data structures
Primitive
Comments
50. Microsoft's generic software framework for application development.
long - Size
using
NET
Expression