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. Text as Unicode characters
Just-in-time (JIT
String (or string)
Operator
Constant
2. 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)
Constant
Boolean Operator
Assembly
Static Member
3. 8 bit - unsigned byte (0 - 255)
Operator
Reference Type
using
byte - Size
4. Introduces a new class. Marked by curly brackets { }
Common Language Runtime (CLR)
Class Statement
Expression
Operator
5. Must have a data type
Int32 - Size
Variable (C# requirements)
Partial Class Modifier
Operator
6. Variables defined by a class
Overloaded Method
Statement
Program
Field
7. 64 bit integer data
Just-in-time (JIT
Dot Notation
long - Size
Equality Operator
8. Framework Class Library
Relational Operator
FCL
Variable
Heap
9. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Virtual Method Modifier
Static Class
Inheritance
Data structures
10. System.Int32
Incrementing / Decrementing Variables
Inheritance
int - .NET alias
Int64 - Size
11. 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.
While Statement
Operator
Abstract Method Modifier
Strong Typing
12. A Class that cannot be Inherited
Incrementing / Decrementing Variables
uint - Size
Sealed Class
Static Class
13. Integrated Development Environment
IDE
Virtual Method Modifier
ushort - .NET alias
W.P.F
14. 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
Boolean Operator
long - .NET alias
Dot Notation
Encapsulation
15. 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
uint - .NET alias
Program
JIT
16. (< or > or <= or >=)
Relational Operator
Identifiers
W.P.F
Polymorphism
17. Groups classes together so that they have a unique identifier
Derived Class
float - .NET alias
Namespace
Encapsulation
18. Command which runs repeatedly while (some) condition is true.
short - Size
FCL
Textbox
While Statement
19. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
uint - Size
ulong - .NET alias
Private Access Modifier
20. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Primitive Type
byte - Size
Polymorphism
Decimal (or decimal) - Size
21. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
using
short - .NET alias
Inheritance
Decimal (or decimal) - Size
22. 16 bit- unsigned word (U+0000 to U+ffff)
Object
IDE
char - Size
Stack
23. (== or !=)
String (or string)
Equality Operator
Inheritance
ulong - Size
24. System.UInt32
Textbox
uint - .NET alias
Operator
Operator
25. Container for one or more Visual Studio Projects.
Method
JIT
FCL
Visual Studio Solution
26. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Method
JITer
Field
Static Member
27. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Object
uint - Size
JITer
28. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
C#
JITer
Dot Notation
29. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Just-in-time (JIT
Method
Strong Typing
Console Application
30. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
char - Size
csc.exe
Class
Primitive
31. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Inheritance
Double (or double) - Size
Intermediate Language (IL)
Properties
32. 16 bit - unsigned integer data (0 to 65535)
long - Size
ulong - .NET alias
ushort - Size
Variable
33. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Data structures
float - .NET alias
Unary Operator
Assembly
34. The "Type" name of data that is stored on the Heap
Method
Variable (C# requirements)
Inheritance
Reference Type
35. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
short - Size
Encapsulation
Int32 - Size
36. System.Decimal
Parameter aka Argument
decimal - .NET alias
Visual Studio Solution
Inheritance
37. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Visual Studio Solution
Abstraction
Common Language Runtime (CLR)
38. System.Char
uint - .NET alias
Int32 - Size
char - .NET alias
Textbox
39. (= or += or -= or = or /=)
Boolean Operator
Statement
Assignment Operator
char - Size
40. A Class that can only have Static Members
Static Class
Field
FCL
Just-in-time (JIT
41. (&& or || or & or |)
Parameter aka Argument
Conditional Operator
Unary Operator
Framework Class Library (FCL)
42. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Common Language Runtime (CLR)
Precedence
Strong Typing
JITer
43. 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.
C#
Partial Method Modifier
Float (or float) - Size
Variable
44. 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
byte - .NET alias
Object
short - Size
Base Class
45. Names reserved by the compiler that coders are not allowed to use as identifiers.
Boolean Operator
Keyword
Abstract Class Modifier
Partial Class Modifier
46. The .NET run-time environment that enables code to be compiled and executed.
Conditional Operator
bool - Size
Just-in-time (JIT
Common Language Runtime (CLR)
47. Represents date and time data with a 100 ns resolution
DateTime
Derived Class
short - Size
Framework Class Library (FCL)
48. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Namespace
sbyte - .NET alias
Static Class
49. System.Int16
Common Language Runtime (CLR)
short - .NET alias
Polymorphism
Strong Typing
50. System.UInt64
Strong Typing
Precedence
ulong - .NET alias
Operator