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. 32 bit - unsigned integer data
using
Strong Typing
uint - Size
Variable (C# requirements)
2. System.UInt64
Internal Access Modifier
Intermediate Language (IL)
ulong - .NET alias
NET
3. 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.
Parameter aka Argument
Partial Method Modifier
Keyword
Virtual Method Modifier
4. Code which implements GUI (graphical User Interface).
Intermediate Language (IL)
Precedence
Float (or float) - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
5. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Variable (C# requirements)
Stack
short - .NET alias
Textbox
6. Allow access to types that exist in outside assemblies.
csc.exe
using
References (Visual Studio Solution
ushort - .NET alias
7. true or false
Boolean - Size
Conditional Operator
int - .NET alias
Partial Method Modifier
8. Used to display text that end user does not need to edit.
W.P.F
Precedence
Inheritance
Label
9. System.Double
double - .NET alias
Equality Operator
ushort - .NET alias
Protected Internal Access Modifier
10. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
long - .NET alias
Variable
Abstract Class Modifier
11. 32 bit integer data
using
int - Size
Operator
short - Size
12. System.Int64
ulong - .NET alias
NET
long - .NET alias
uint - Size
13. A Class from which other classes can inherit characteristics.
Inheritance
using
Sealed Class
Base Class
14. 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
JIT
sbyte - Size
Static Member
15. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Partial Class Modifier
Data structures
Stack
Boolean Operator
16. System.UInt16
Assembly
Field
Heap
ushort - .NET alias
17. Variables defined by a class
Field
int - .NET alias
If Statement
Reference Type
18. (== or !=)
Equality Operator
Array
short - Size
Derived Class
19. The member type of a Class that performs an action.
If Statement
Method
Polymorphism
Identifiers
20. A representation of an area in the computer memory in which a value of a particular data type can be stored.
DateTime
JIT
Primitive Type
Variable
21. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
JIT
If Statement
Inheritance
byte - .NET alias
22. System.UInt32
Stack
byte - .NET alias
r
uint - .NET alias
23. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Static Class
Abstraction
float - .NET alias
Internal Access Modifier
24. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
char - Size
JITer
Int64 - Size
Keyword
25. System.Single
float - .NET alias
short - Size
Encapsulation
Abstract Method Modifier
26. Syntax of a C# Method
Inheritance
Object
returnType methodName (parameterList)
long - Size
27. Series of instructions which tell a computer what to do.
Expression
Public Keyword
Program
Operator
28. Command which runs repeatedly while (some) condition is true.
Unary Operator
Properties
While Statement
Field
29. count = count+1 or count++ or count__. Both count variables are Unary Operators
Int32 - Size
Operator
Heap
Incrementing / Decrementing Variables
30. A Class that cannot be Inherited
Public Keyword
Sealed Class
NET
Static Class
31. 8 bit - unsigned byte (0 - 255)
byte - Size
Variable
decimal - .NET alias
Assignment Operator
32. Restricts access to a Member to the current Class and any Derived Class.
Expression
Protected Access Modifier
Virtual Method Modifier
Just-in-time (JIT
33. 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)
References (Visual Studio Solution
char - Size
Expression
34. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
decimal - .NET alias
Namespace
Assembly
Static Class
35. 64 bit - unsigned integer data
ulong - Size
Boolean Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Comments
36. 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
Incrementing / Decrementing Variables
byte - .NET alias
float - .NET alias
37. Windows Presentation Foundation
uint - Size
W.P.F
Array
While Statement
38. A Class that can only have Static Members
Static Class
Array
Inheritance
uint - Size
39. Just-in-time compilation
char - Size
Abstract Class Modifier
JIT
Operator
40. The process of compiling IL source into CPU-native code for execution.
Namespace
C#
Just-in-time (JIT
Constructor
41. The "Type" name of data that is stored on the Stack
Int32 - Size
sbyte - Size
CLR
Value Type
42. Microsoft's generic software framework for application development.
Statement
NET
bool - Size
int - Size
43. Keyword which exposes members to other classes OR Identifier which makes program elements public
Keyword
long - .NET alias
Public Keyword
DateTime
44. Container for one or more Visual Studio Projects.
Boolean Operator
Dot Notation
Variable (C# requirements)
Visual Studio Solution
45. Framework Class Library
Overloaded Method
ushort - .NET alias
FCL
While Statement
46. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Operator
Inheritance
Statement
Syntax
47. 128 bit fixed precision (financial)
byte - .NET alias
csc.exe
Private Access Modifier
Decimal (or decimal) - Size
48. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Class aka Type
JITer
Static Member
49. 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
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Assignment Operator
Class Statement
50. Most common kind of reference type. They define objects. They must have at least one method and one field.
Abstract Class Modifier
Keyword
Class aka Type
Syntax