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. System.Int32
Class aka Type
int - .NET alias
Internal Access Modifier
Data structures
2. 32 bit integer data
int - Size
IDE
double - .NET alias
Class aka Type
3. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Common Language Runtime (CLR)
int - .NET alias
Unary Operator
Expression
4. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
using
W.P.F
Intermediate Language (IL)
Partial Method Modifier
5. System.Char
FCL
Label
Precedence
char - .NET alias
6. 64 bit integer data
ushort - .NET alias
Visual Studio Solution
long - Size
Encapsulation
7. Most common kind of reference type. They define objects. They must have at least one method and one field.
long - .NET alias
Class aka Type
long - Size
Array
8. Contains the class definitions that allow access to the functionality provided by .NET.
Constant
Int32 - Size
Reference Type
Framework Class Library (FCL)
9. Syntax of a C# Method
decimal - .NET alias
returnType methodName (parameterList)
Object
Object
10. System.Double
Static Class
double - .NET alias
Parameter aka Argument
Comments
11. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Protected Internal Access Modifier
byte - Size
using
Boolean Operator
12. Restricts access to a Member to the current Class.
Assignment Operator
long - Size
Private Access Modifier
Namespace
13. 64 bit double precision floating point data
Abstract Method Modifier
Array
Double (or double) - Size
Polymorphism
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.
Syntax
Data structures
Assignment Operator
short - .NET alias
15. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Virtual Method Modifier
Strong Typing
char - .NET alias
16. System.Byte
decimal - .NET alias
byte - .NET alias
Float (or float) - Size
Polymorphism
17. Must have a data type
Variable (C# requirements)
Abstraction
Static Class
Inheritance
18. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Abstract Method Modifier
Inheritance
Double (or double) - Size
19. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Data structures
Protected Access Modifier
Inheritance
ushort - .NET alias
20. The .NET run-time environment that enables code to be compiled and executed.
Namespace
float - .NET alias
Common Language Runtime (CLR)
Inheritance
21. The "Type" name of data that is stored on the Stack
Value Type
sbyte - Size
Namespace
Reference Type
22. Code which implements GUI (graphical User Interface).
W.P.F
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Dot Notation
sbyte - Size
23. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
C#
Abstract Class Modifier
Precedence
returnType methodName (parameterList)
24. (< or > or <= or >=)
If Statement
Relational Operator
Private Access Modifier
returnType methodName (parameterList)
25. count = count+1 or count++ or count__. Both count variables are Unary Operators
Properties
Incrementing / Decrementing Variables
Operator
Conditional Operator
26. Series of instructions which tell a computer what to do.
byte - Size
IDE
Program
Parameter aka Argument
27. Access is limited to the current Assembly
Primitive
Object
Visual Studio Solution
Internal Access Modifier
28. A Class that can only have Static Members
Syntax
Static Class
Label
Private Access Modifier
29. Just-in-time compilation
JIT
Decimal (or decimal) - Size
Method
If Statement
30. 32 bit single precision floating point data
int - Size
Relational Operator
char - Size
Float (or float) - Size
31. Microsoft's generic software framework for application development.
float - .NET alias
NET
Decimal (or decimal) - Size
Encapsulation
32. 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.
Primitive
Float (or float) - Size
Identifiers
Base Class
33. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constant
char - .NET alias
Constructor
Visual Studio Solution
34. Windows Presentation Foundation
Abstraction
Boolean - Size
W.P.F
References (Visual Studio Solution
35. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Window.xaml.cs
bool - Size
FCL
JITer
36. (== or !=)
Operator
JIT
Reference Type
Equality Operator
37. Represents date and time data with a 100 ns resolution
bool - Size
DateTime
Operator
sbyte - .NET alias
38. Variables defined by a class
Assembly
r
Field
Assignment Operator
39. A Class that inherits characteristics from another Class.
Derived Class
Parameter aka Argument
Static Class
Operator
40. Command Language Runtime
Variable (C# requirements)
Abstraction
CLR
DateTime
41. true or false
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
int - .NET alias
Boolean - Size
Framework Class Library (FCL)
42. System.Int16
Method
Int64 - Size
Properties
short - .NET alias
43. true or false
bool - Size
Class aka Type
Operator
Int32 - Size
44. Names reserved by the compiler that coders are not allowed to use as identifiers.
JIT
Keyword
sbyte - .NET alias
Operator
45. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Just-in-time (JIT
Statement
returnType methodName (parameterList)
46. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Heap
Common Language Runtime (CLR)
Boolean Operator
47. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
decimal - .NET alias
Assembly
Variable
Stack
48. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
float - .NET alias
uint - .NET alias
Properties
Constructor
49. 64 bit integer data
Int64 - Size
Relational Operator
Inheritance
Encapsulation
50. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
ulong - Size
Array
Data structures
Inheritance