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. true or false
Inheritance
Boolean - Size
Window.xaml.cs
Float (or float) - Size
2. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
sbyte - .NET alias
int - .NET alias
Operator
JITer
3. System.Char
Partial Method Modifier
char - .NET alias
Just-in-time (JIT
Variable
4. (== or !=)
CLR
C#
Encapsulation
Equality Operator
5. 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
ushort - .NET alias
double - .NET alias
Dot Notation
Static Class
6. Field whose value can never change. Declared with 'const' keyword
Operator
Object
Variable (C# requirements)
Constant
7. 16 bit - unsigned integer data (0 to 65535)
Expression
ushort - Size
Abstraction
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
8. Allows the definition of a Class to span multiple files (within the same Project)
Inheritance
Partial Class Modifier
Namespace
Conditional Operator
9. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
IDE
Data structures
short - .NET alias
Class
10. System.Single
float - .NET alias
Encapsulation
DateTime
Identifiers
11. A Class that inherits characteristics from another Class.
Statement
int - Size
Derived Class
CLR
12. 32 bit single precision floating point data
int - .NET alias
Class
Int32 - Size
Float (or float) - Size
13. 64 bit integer data
Protected Access Modifier
long - Size
Primitive Type
Assembly
14. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Incrementing / Decrementing Variables
Class aka Type
short - .NET alias
15. (< or > or <= or >=)
int - Size
Relational Operator
Overloaded Method
returnType methodName (parameterList)
16. Something that has a different number of parameters to it's predecessor
byte - .NET alias
Inheritance
References (Visual Studio Solution
Overloaded Method
17. Mathematical (+ or - or / or %)
Inheritance
Operator
Namespace
Assembly
18. 64 bit double precision floating point data
Variable
Properties
Int64 - Size
Double (or double) - Size
19. A Class that cannot be instantiated.
Constant
Variable
csc.exe
Static Class
20. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
csc.exe
Encapsulation
Intermediate Language (IL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
21. 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.
Inheritance
Syntax
Just-in-time (JIT
Unary Operator
22. 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)
Method
Boolean Operator
returnType methodName (parameterList)
int - .NET alias
23. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Static Member
W.P.F
Method
Int64 - Size
24. Extra information within a method
Parameter aka Argument
While Statement
Static Class
byte - .NET alias
25. 16 bit - signed integer data (-32768 to 32767)
short - Size
Protected Access Modifier
Common Language Runtime (CLR)
Identifiers
26. Represents date and time data with a 100 ns resolution
DateTime
Sealed Class
Equality Operator
Assignment Operator
27. A symbol that specifies an operation to be performed on one or more variables.
Operator
Float (or float) - Size
Program
Intermediate Language (IL)
28. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
Assembly
Constant
W.P.F
Variable
29. Compilation of classes. In C# Usually ends in .dll or .exe
int - Size
Variable
Variable
Assembly
30. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Textbox
Encapsulation
JITer
Polymorphism
31. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Encapsulation
Method
Variable
Virtual Method Modifier
32. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
short - .NET alias
using
If Statement
Internal Access Modifier
33. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
returnType methodName (parameterList)
If Statement
Object
NET
34. A Class that can only have Static Members
Derived Class
Abstraction
Static Class
Value Type
35. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Static Member
Inheritance
Console Application
Statement
36. System.UInt32
Int64 - Size
csc.exe
Primitive
uint - .NET alias
37. 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
Partial Class Modifier
Data structures
Static Class
38. A type of statement that produces a value that might be tested or assigned to a variable.
Abstract Method Modifier
Variable
Expression
FCL
39. Windows Presentation Foundation
Boolean Operator
Sealed Class
Conditional Operator
W.P.F
40. The lowest level or fundamental data types needed for representing data.
Primitive Type
Program
Data structures
ushort - .NET alias
41. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Float (or float) - Size
Expression
Class aka Type
Value Type
42. Series of instructions which tell a computer what to do.
Program
Visual Studio Solution
Class Statement
char - Size
43. System.Int64
Common Language Runtime (CLR)
Textbox
long - .NET alias
Label
44. Command Language Runtime
Equality Operator
Assembly
CLR
Boolean - Size
45. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Sealed Class
Namespace
Object
Label
46. Microsoft's generic software framework for application development.
Identifiers
NET
Method
Framework Class Library (FCL)
47. The "Type" name of data that is stored on the Stack
Operator
Data structures
Value Type
Common Language Runtime (CLR)
48. 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.
Primitive
NET
Boolean - Size
Abstract Method Modifier
49. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Variable (C# requirements)
Encapsulation
Properties
Unary Operator
50. System.SByte
Conditional Operator
sbyte - .NET alias
char - .NET alias
Inheritance