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. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Constant
long - .NET alias
Field
C#
2. Used to display text that end user does not need to edit.
Label
While Statement
decimal - .NET alias
sbyte - Size
3. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Inheritance
Statement
Object
4. Restricts access to a Member to the current Class.
Private Access Modifier
Variable
Constructor
W.P.F
5. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Data structures
byte - Size
Array
NET
6. Introduces a new class. Marked by curly brackets { }
Heap
Reference Type
Class Statement
Virtual Method Modifier
7. 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)
Polymorphism
Unary Operator
char - .NET alias
Boolean Operator
8. Syntax of a C# Method
Encapsulation
Inheritance
Sealed Class
returnType methodName (parameterList)
9. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
sbyte - Size
Static Class
Abstract Class Modifier
Encapsulation
10. Variables defined by a class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Variable
Operator
Field
11. 32 bit - unsigned integer data
Partial Class Modifier
decimal - .NET alias
uint - Size
Window.xaml.cs
12. Microsoft's generic software framework for application development.
double - .NET alias
NET
Primitive Type
Data structures
13. Mathematical (+ or - or / or %)
If Statement
double - .NET alias
Primitive Type
Operator
14. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
uint - .NET alias
Public Keyword
ushort - Size
15. 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
Variable
char - .NET alias
Visual Studio Solution
16. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Constructor
Equality Operator
Abstraction
17. Code which implements GUI (graphical User Interface).
Operator
NET
using
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
18. 32 bit integer data
Static Class
ulong - .NET alias
Derived Class
Int32 - Size
19. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Namespace
Primitive Type
Assembly
JITer
20. The "Type" name of data that is stored on the Heap
Boolean - Size
char - .NET alias
Identifiers
Reference Type
21. System.Int64
ushort - .NET alias
Primitive Type
Value Type
long - .NET alias
22. Integrated Development Environment
W.P.F
int - .NET alias
Common Language Runtime (CLR)
IDE
23. (= or += or -= or = or /=)
Assignment Operator
Namespace
Abstract Class Modifier
char - Size
24. Access is limited to the current Assembly
Partial Method Modifier
Constructor
long - .NET alias
Internal Access Modifier
25. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Identifiers
Syntax
Properties
26. Container for one or more Visual Studio Projects.
Visual Studio Solution
Window.xaml.cs
int - .NET alias
Primitive
27. 16 bit - signed integer data (-32768 to 32767)
Abstract Method Modifier
short - Size
C#
bool - Size
28. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Partial Class Modifier
Method
Constant
Precedence
29. Extra information within a method
Keyword
Heap
Parameter aka Argument
Assignment Operator
30. 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
uint - Size
Heap
uint - .NET alias
Operator
31. Restricts access to a Member to the current Class and any Derived Class.
References (Visual Studio Solution
JIT
Protected Access Modifier
Precedence
32. The "Type" name of data that is stored on the Stack
Value Type
Partial Class Modifier
Abstract Class Modifier
Properties
33. Must have a data type
Program
float - .NET alias
Variable (C# requirements)
Statement
34. The lowest level or fundamental data types needed for representing data.
Reference Type
Assembly
Primitive Type
byte - Size
35. Series of instructions which tell a computer what to do.
Assembly
Array
Program
Keyword
36. A Class that cannot be Inherited
Object
Abstract Method Modifier
Sealed Class
Precedence
37. System.Int32
Primitive Type
Framework Class Library (FCL)
int - .NET alias
Identifiers
38. 64 bit - unsigned integer data
ulong - Size
String (or string)
Static Member
Namespace
39. System.Char
csc.exe
char - .NET alias
Incrementing / Decrementing Variables
Abstract Class Modifier
40. A type of statement that produces a value that might be tested or assigned to a variable.
sbyte - Size
Expression
Common Language Runtime (CLR)
Assignment Operator
41. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Console Application
Polymorphism
decimal - .NET alias
DateTime
42. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
r
Method
Assembly
43. 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.
Encapsulation
int - .NET alias
Comments
Constructor
44. 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.
Strong Typing
Window.xaml.cs
Framework Class Library (FCL)
Syntax
45. The member type of a Class that performs an action.
Protected Internal Access Modifier
Method
Common Language Runtime (CLR)
Stack
46. true or false
Visual Studio Solution
bool - Size
Common Language Runtime (CLR)
Abstraction
47. 16 bit- unsigned word (U+0000 to U+ffff)
Window.xaml.cs
Conditional Operator
char - Size
NET
48. System.Byte
Class aka Type
byte - .NET alias
Boolean - Size
Method
49. The process of hiding and restricting access to the implementation details of a data structure.
Statement
short - Size
r
Encapsulation
50. Framework Class Library
C#
Private Access Modifier
Program
FCL