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. Series of instructions which tell a computer what to do.
Program
Value Type
Boolean Operator
CLR
2. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Syntax
Variable (C# requirements)
Comments
CLR
3. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Unary Operator
Variable
Framework Class Library (FCL)
4. 8 bit - unsigned byte (0 - 255)
Static Class
double - .NET alias
Window.xaml.cs
byte - Size
5. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
References (Visual Studio Solution
Int32 - Size
JITer
Public Keyword
6. Must have a data type
Data structures
Int64 - Size
Variable
Variable (C# requirements)
7. 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
Visual Studio Solution
Reference Type
Heap
Expression
8. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Assembly
Method
Stack
Syntax
9. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Float (or float) - Size
Console Application
using
10. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Boolean Operator
Array
JITer
11. 32 bit integer data
Data structures
Window.xaml.cs
int - Size
Boolean - Size
12. (< or > or <= or >=)
C#
String (or string)
Field
Relational Operator
13. 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
Dot Notation
Comments
float - .NET alias
String (or string)
14. A method that is called whenever an Object is created. The method uses the same name as the Class.
String (or string)
Syntax
Constructor
Array
15. Extra information within a method
Parameter aka Argument
W.P.F
double - .NET alias
Array
16. Introduces a new class. Marked by curly brackets { }
While Statement
Object
Class Statement
Boolean - Size
17. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Inheritance
Int32 - Size
char - .NET alias
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)
Static Class
Constant
Console Application
Boolean Operator
19. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Variable
Statement
Inheritance
Primitive Type
20. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
long - .NET alias
Just-in-time (JIT
Partial Method Modifier
Precedence
21. Used to display text that end user does not need to edit.
Primitive Type
Label
Class aka Type
IDE
22. System.Double
Incrementing / Decrementing Variables
double - .NET alias
Inheritance
Properties
23. A type of statement that produces a value that might be tested or assigned to a variable.
Encapsulation
Program
References (Visual Studio Solution
Expression
24. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
double - .NET alias
Properties
Class aka Type
Variable
25. The member type of a Class that performs an action.
Encapsulation
Namespace
Method
Assembly
26. true or false
bool - Size
Heap
Statement
char - .NET alias
27. System.Int32
Method
Encapsulation
int - .NET alias
Textbox
28. A symbol that specifies an operation to be performed on one or more variables.
Assignment Operator
char - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
29. 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.
Encapsulation
W.P.F
Namespace
Syntax
30. 16 bit- unsigned word (U+0000 to U+ffff)
Visual Studio Solution
char - .NET alias
Inheritance
char - Size
31. Access is limited to the current Assembly
Internal Access Modifier
Double (or double) - Size
byte - .NET alias
Partial Method Modifier
32. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Boolean - Size
Array
returnType methodName (parameterList)
33. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Int64 - Size
Identifiers
Intermediate Language (IL)
34. Restricts access to a Member to the current Class.
Abstract Method Modifier
Console Application
Private Access Modifier
int - .NET alias
35. System.Int16
Inheritance
short - .NET alias
Internal Access Modifier
Reference Type
36. Framework Class Library
Label
FCL
Visual Studio Solution
using
37. Syntax of a C# Method
sbyte - .NET alias
Label
returnType methodName (parameterList)
References (Visual Studio Solution
38. System.Decimal
Static Class
decimal - .NET alias
Label
sbyte - .NET alias
39. A Member that cannot be accessed/invoked through an Object Instance.
sbyte - Size
Variable
Static Member
Method
40. System.UInt16
ushort - .NET alias
Protected Internal Access Modifier
FCL
Just-in-time (JIT
41. System.SByte
Sealed Class
Namespace
Object
sbyte - .NET alias
42. count = count+1 or count++ or count__. Both count variables are Unary Operators
Polymorphism
Field
Decimal (or decimal) - Size
Incrementing / Decrementing Variables
43. The "Type" name of data that is stored on the Stack
Value Type
Variable (C# requirements)
Inheritance
csc.exe
44. System.UInt32
While Statement
Unary Operator
uint - .NET alias
sbyte - .NET alias
45. Access is limited to the current Assembly and Derived Types
Partial Method Modifier
Polymorphism
Protected Internal Access Modifier
DateTime
46. Command Language Runtime
Class
Partial Method Modifier
CLR
Int32 - Size
47. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Variable
Int64 - Size
Identifiers
48. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Relational Operator
Class Statement
Int32 - Size
49. 64 bit integer data
Partial Class Modifier
Value Type
long - Size
Relational Operator
50. System.UInt64
Operator
Precedence
ulong - .NET alias
Assembly
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests