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. 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
csc.exe
Field
Boolean Operator
2. A Class from which other classes can inherit characteristics.
Object
Label
Array
Base Class
3. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
short - Size
Method
Inheritance
Object
4. 64 bit integer data
long - Size
Properties
ushort - .NET alias
Console Application
5. Sits behind GUI (Graphical User Interface) and provides event listeners
Parameter aka Argument
Variable
Private Access Modifier
Window.xaml.cs
6. 64 bit double precision floating point data
Double (or double) - Size
Statement
Field
String (or string)
7. System.Char
Variable
char - .NET alias
Primitive Type
Boolean - Size
8. Text as Unicode characters
String (or string)
Dot Notation
Identifiers
Encapsulation
9. 16 bit - signed integer data (-32768 to 32767)
Statement
Protected Access Modifier
short - Size
Incrementing / Decrementing Variables
10. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
csc.exe
Private Access Modifier
Variable
11. System.UInt32
Label
Object
uint - .NET alias
ushort - .NET alias
12. 64 bit integer data
Static Member
Virtual Method Modifier
r
Int64 - Size
13. System.Single
Variable (C# requirements)
Keyword
If Statement
float - .NET alias
14. The process of hiding and restricting access to the implementation details of a data structure.
sbyte - Size
Encapsulation
ushort - .NET alias
char - .NET alias
15. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
int - Size
csc.exe
W.P.F
Partial Method Modifier
16. 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
Field
Array
Object
Properties
17. 32 bit - unsigned integer data
Constant
uint - Size
Stack
Boolean Operator
18. A Class that can only have Static Members
Static Class
Visual Studio Solution
byte - .NET alias
Just-in-time (JIT
19. System.SByte
Int32 - Size
sbyte - .NET alias
Assembly
If Statement
20. Represents date and time data with a 100 ns resolution
byte - .NET alias
Conditional Operator
DateTime
Data structures
21. A symbol that specifies an operation to be performed on one or more variables.
CLR
Operator
Primitive
byte - .NET alias
22. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
char - Size
Variable
Virtual Method Modifier
23. 32 bit integer data
Heap
Public Keyword
float - .NET alias
Int32 - Size
24. Framework Class Library
Field
Inheritance
FCL
Conditional Operator
25. 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.
Identifiers
Operator
Protected Access Modifier
Variable
26. Just-in-time compilation
Private Access Modifier
Boolean Operator
CLR
JIT
27. Used to display text that end user does not need to edit.
Object
returnType methodName (parameterList)
Unary Operator
Label
28. Syntax of a C# Method
returnType methodName (parameterList)
Constant
using
JIT
29. A method that is called whenever an Object is created. The method uses the same name as the Class.
Operator
Constructor
Intermediate Language (IL)
Stack
30. 64 bit - unsigned integer data
ulong - Size
Int64 - Size
Relational Operator
Keyword
31. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
ulong - Size
Double (or double) - Size
Console Application
Inheritance
32. The process of compiling IL source into CPU-native code for execution.
Static Class
Variable
Just-in-time (JIT
JIT
33. (&& or || or & or |)
NET
Static Class
r
Conditional Operator
34. Access is limited to the current Assembly
Stack
Internal Access Modifier
Value Type
String (or string)
35. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Unary Operator
Comments
Sealed Class
36. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Just-in-time (JIT
Object
Overloaded Method
37. 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.
Equality Operator
ulong - Size
Data structures
Abstract Method Modifier
38. 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.
Operator
Encapsulation
Overloaded Method
Float (or float) - Size
39. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Encapsulation
using
Conditional Operator
short - .NET alias
40. A Member that cannot be accessed/invoked through an Object Instance.
Framework Class Library (FCL)
Static Member
Variable
Unary Operator
41. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Variable (C# requirements)
Internal Access Modifier
Class
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
String (or string)
Object
Boolean Operator
Namespace
43. Compilation of classes. In C# Usually ends in .dll or .exe
Keyword
Data structures
Int64 - Size
Assembly
44. System.Int64
FCL
uint - .NET alias
Reference Type
long - .NET alias
45. System.UInt16
Window.xaml.cs
using
ushort - .NET alias
Protected Access Modifier
46. true or false
Boolean - Size
Operator
Label
Assembly
47. Code which implements GUI (graphical User Interface).
long - .NET alias
bool - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Primitive
48. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Incrementing / Decrementing Variables
char - Size
Expression
49. A type of statement that produces a value that might be tested or assigned to a variable.
Private Access Modifier
Field
JIT
Expression
50. A Class that inherits characteristics from another Class.
Heap
sbyte - .NET alias
Derived Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)