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. 16 bit - signed integer data (-32768 to 32767)
Overloaded Method
short - Size
Data structures
Visual Studio Solution
2. The .NET run-time environment that enables code to be compiled and executed.
int - Size
Identifiers
Common Language Runtime (CLR)
int - .NET alias
3. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
byte - Size
Primitive
Inheritance
short - Size
4. Access is limited to the current Assembly and Derived Types
Namespace
Syntax
Stack
Protected Internal Access Modifier
5. System.Char
Primitive Type
char - .NET alias
Operator
Base Class
6. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Derived Class
Double (or double) - Size
Int64 - Size
7. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Method
using
csc.exe
Object
8. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Partial Method Modifier
Primitive Type
CLR
9. Windows Presentation Foundation
W.P.F
Constant
Derived Class
Protected Access Modifier
10. Integrated Development Environment
ushort - .NET alias
String (or string)
IDE
Overloaded Method
11. Syntax of a C# Method
FCL
returnType methodName (parameterList)
long - Size
byte - Size
12. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
char - Size
uint - .NET alias
Program
Inheritance
13. System.Byte
Properties
Statement
Variable
byte - .NET alias
14. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Namespace
IDE
ushort - Size
15. Most common kind of reference type. They define objects. They must have at least one method and one field.
r
Framework Class Library (FCL)
Sealed Class
Class aka Type
16. 8 bit - unsigned byte (0 - 255)
byte - Size
Properties
W.P.F
sbyte - .NET alias
17. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Method
Intermediate Language (IL)
Keyword
Statement
18. Mathematical (+ or - or / or %)
int - Size
Operator
Protected Access Modifier
NET
19. Contains the class definitions that allow access to the functionality provided by .NET.
Heap
Framework Class Library (FCL)
If Statement
decimal - .NET alias
20. Restricts access to a Member to the current Class and any Derived Class.
Parameter aka Argument
Protected Access Modifier
Encapsulation
sbyte - Size
21. 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.
Virtual Method Modifier
CLR
Encapsulation
If Statement
22. 8 bit - signed byte (-128 - 127)
sbyte - Size
Data structures
Double (or double) - Size
Object
23. Represents the encapsulation of data and behaviors into a single unit.
DateTime
Assignment Operator
ushort - Size
Class
24. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Label
Variable
using
Syntax
25. Text as Unicode characters
Data structures
FCL
String (or string)
Strong Typing
26. 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)
Abstraction
Boolean Operator
Common Language Runtime (CLR)
Decimal (or decimal) - Size
27. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Program
Data structures
decimal - .NET alias
Method
28. System.UInt64
Protected Access Modifier
decimal - .NET alias
int - Size
ulong - .NET alias
29. Represents date and time data with a 100 ns resolution
Textbox
Assembly
Stack
DateTime
30. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Encapsulation
using
long - Size
31. Sits behind GUI (Graphical User Interface) and provides event listeners
Sealed Class
Window.xaml.cs
short - .NET alias
char - Size
32. System.SByte
Namespace
Static Class
String (or string)
sbyte - .NET alias
33. Command which runs repeatedly while (some) condition is true.
While Statement
Comments
Internal Access Modifier
Dot Notation
34. When a sub class passes down all the behaviours of the original parent class
Comments
Inheritance
Textbox
Keyword
35. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Int64 - Size
Inheritance
Properties
Reference Type
36. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Field
long - .NET alias
Visual Studio Solution
Statement
37. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Namespace
Unary Operator
Reference Type
38. 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
Stack
Object
While Statement
ushort - Size
39. Microsoft's generic software framework for application development.
Int32 - Size
Constant
NET
Variable (C# requirements)
40. 64 bit double precision floating point data
Encapsulation
Double (or double) - Size
char - .NET alias
Public Keyword
41. A symbol that specifies an operation to be performed on one or more variables.
Incrementing / Decrementing Variables
Class aka Type
W.P.F
Operator
42. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Class
Unary Operator
Field
43. 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.
returnType methodName (parameterList)
Expression
Precedence
Identifiers
44. Series of instructions which tell a computer what to do.
Static Class
Visual Studio Solution
Polymorphism
Program
45. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory
Keyword
Primitive
Object
Heap
46. System.Decimal
Strong Typing
decimal - .NET alias
Primitive Type
Parameter aka Argument
47. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Framework Class Library (FCL)
Comments
Assembly
int - .NET alias
48. A Class that inherits characteristics from another Class.
Abstract Class Modifier
returnType methodName (parameterList)
Class Statement
Derived Class
49. Something that has a different number of parameters to it's predecessor
Textbox
Comments
Overloaded Method
Variable
50. (&& or || or & or |)
NET
Conditional Operator
Equality Operator
using