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. Command Language Runtime
Primitive
Static Class
Field
CLR
2. A symbol that specifies an operation to be performed on one or more variables.
While Statement
Operator
Console Application
Sealed Class
3. (< or > or <= or >=)
Int32 - Size
CLR
Just-in-time (JIT
Relational Operator
4. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Value Type
Console Application
Constructor
String (or string)
5. 32 bit single precision floating point data
Float (or float) - Size
Framework Class Library (FCL)
References (Visual Studio Solution
Primitive Type
6. Extra information within a method
Protected Internal Access Modifier
Abstract Method Modifier
Parameter aka Argument
FCL
7. Text as Unicode characters
Class Statement
Unary Operator
Relational Operator
String (or string)
8. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Double (or double) - Size
short - .NET alias
int - .NET alias
9. (&& or || or & or |)
Conditional Operator
ulong - Size
Array
short - .NET alias
10. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Base Class
While Statement
Internal Access Modifier
11. Represents date and time data with a 100 ns resolution
decimal - .NET alias
DateTime
Virtual Method Modifier
Assembly
12. Contains the class definitions that allow access to the functionality provided by .NET.
Static Class
JITer
Class
Framework Class Library (FCL)
13. System.SByte
Protected Internal Access Modifier
Strong Typing
decimal - .NET alias
sbyte - .NET alias
14. 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.
byte - .NET alias
Operator
Syntax
short - .NET alias
15. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Virtual Method Modifier
float - .NET alias
Precedence
Assembly
16. count = count+1 or count++ or count__. Both count variables are Unary Operators
Private Access Modifier
Unary Operator
Incrementing / Decrementing Variables
Method
17. 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.
Syntax
JIT
Class
Encapsulation
18. 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)
Value Type
Boolean Operator
String (or string)
Constant
19. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Label
If Statement
Syntax
20. 32 bit integer data
returnType methodName (parameterList)
Data structures
Encapsulation
Int32 - Size
21. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Visual Studio Solution
Data structures
Assembly
Boolean Operator
22. 64 bit integer data
Primitive Type
Inheritance
long - Size
Object
23. Field whose value can never change. Declared with 'const' keyword
Stack
short - Size
Conditional Operator
Constant
24. Container for one or more Visual Studio Projects.
Abstract Method Modifier
Visual Studio Solution
Private Access Modifier
byte - Size
25. Code which implements GUI (graphical User Interface).
Inheritance
Visual Studio Solution
Framework Class Library (FCL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. Mathematical (+ or - or / or %)
Operator
Abstraction
Namespace
Console Application
27. (= or += or -= or = or /=)
Double (or double) - Size
W.P.F
Assignment Operator
Properties
28. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Derived Class
Static Class
r
29. The process of hiding and restricting access to the implementation details of a data structure.
Framework Class Library (FCL)
Encapsulation
bool - Size
r
30. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Unary Operator
Visual Studio Solution
Label
31. A Class that inherits characteristics from another Class.
Static Class
C#
int - .NET alias
Derived Class
32. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Protected Internal Access Modifier
Program
Equality Operator
C#
33. Command which runs repeatedly while (some) condition is true.
While Statement
Just-in-time (JIT
double - .NET alias
uint - Size
34. Only requires one operand usually a count+1 or a count++ or a count--
sbyte - Size
uint - Size
Unary Operator
References (Visual Studio Solution
35. 32 bit integer data
Polymorphism
int - Size
Class Statement
Constructor
36. 64 bit - unsigned integer data
Textbox
ulong - Size
uint - Size
decimal - .NET alias
37. The "Type" name of data that is stored on the Heap
Relational Operator
JITer
Method
Reference Type
38. 16 bit - signed integer data (-32768 to 32767)
Statement
IDE
short - Size
While Statement
39. 8 bit - unsigned byte (0 - 255)
Reference Type
Value Type
Stack
byte - Size
40. 8 bit - signed byte (-128 - 127)
sbyte - Size
short - .NET alias
int - .NET alias
char - Size
41. System.Int32
int - .NET alias
Operator
sbyte - Size
References (Visual Studio Solution
42. 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
Class Statement
Inheritance
Method
43. The lowest level or fundamental data types needed for representing data.
Field
float - .NET alias
Primitive Type
ushort - .NET alias
44. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
sbyte - .NET alias
sbyte - Size
Namespace
Framework Class Library (FCL)
45. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Static Class
Expression
JITer
Sealed Class
46. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Constructor
Polymorphism
short - Size
CLR
47. System.UInt16
JITer
Static Class
ushort - .NET alias
Textbox
48. Must have a data type
Stack
Variable (C# requirements)
W.P.F
NET
49. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Public Keyword
Encapsulation
Inheritance
Array
50. System.Double
Console Application
Base Class
Public Keyword
double - .NET alias