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. Restricts access to a Member to the current Class.
Primitive Type
Intermediate Language (IL)
int - Size
Private Access Modifier
2. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
While Statement
Operator
Statement
Field
3. Symbols which transform and combine expressions
Expression
Operator
Object
Textbox
4. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Inheritance
Comments
Properties
Float (or float) - Size
5. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Window.xaml.cs
Properties
Object
6. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Encapsulation
Expression
Base Class
7. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Console Application
Decimal (or decimal) - Size
Expression
Static Class
8. A type of statement that produces a value that might be tested or assigned to a variable.
Inheritance
byte - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Expression
9. count = count+1 or count++ or count__. Both count variables are Unary Operators
returnType methodName (parameterList)
Dot Notation
Incrementing / Decrementing Variables
Encapsulation
10. System.Byte
byte - .NET alias
Float (or float) - Size
Polymorphism
C#
11. 64 bit double precision floating point data
Double (or double) - Size
Variable
Class aka Type
Namespace
12. System.UInt32
Operator
uint - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
13. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Window.xaml.cs
Sealed Class
Precedence
Relational Operator
14. Only requires one operand usually a count+1 or a count++ or a count--
Inheritance
Unary Operator
Assembly
double - .NET alias
15. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Abstract Method Modifier
int - Size
Label
16. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Statement
Class aka Type
DateTime
17. An instance of a class that exists at run-time and is typically referenced via a variable name.
Operator
Object
Just-in-time (JIT
Float (or float) - Size
18. Mathematical (+ or - or / or %)
Syntax
References (Visual Studio Solution
Method
Operator
19. Allow access to types that exist in outside assemblies.
Framework Class Library (FCL)
Program
Assembly
References (Visual Studio Solution
20. System.UInt64
Expression
Equality Operator
ulong - .NET alias
C#
21. true or false
Boolean - Size
ushort - .NET alias
Protected Internal Access Modifier
int - .NET alias
22. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Variable (C# requirements)
Boolean - Size
Relational Operator
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.
Statement
Visual Studio Solution
Comments
Abstraction
24. 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
Operator
Reference Type
Assembly
Dot Notation
25. A Member that cannot be accessed/invoked through an Object Instance.
C#
Static Member
Console Application
int - Size
26. Integrated Development Environment
Constant
IDE
Program
Framework Class Library (FCL)
27. 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'.
returnType methodName (parameterList)
Protected Internal Access Modifier
Textbox
Encapsulation
28. Command which runs repeatedly while (some) condition is true.
Console Application
r
While Statement
Decimal (or decimal) - Size
29. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Console Application
Assembly
Parameter aka Argument
Namespace
30. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Keyword
Overloaded Method
Primitive
float - .NET alias
31. A Class that cannot be instantiated.
uint - Size
Static Class
ushort - .NET alias
byte - Size
32. A Class that inherits characteristics from another Class.
If Statement
Derived Class
Textbox
CLR
33. A symbol that specifies an operation to be performed on one or more variables.
Operator
float - .NET alias
JITer
Incrementing / Decrementing Variables
34. System.Char
Field
Console Application
Int64 - Size
char - .NET alias
35. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Protected Access Modifier
Framework Class Library (FCL)
Operator
36. A Class that can only have Static Members
Unary Operator
int - .NET alias
Parameter aka Argument
Static Class
37. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Int64 - Size
char - Size
float - .NET alias
38. Indicates that the Method can be overridden.
byte - Size
Virtual Method Modifier
ushort - .NET alias
Constructor
39. 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
Inheritance
Object
r
Encapsulation
40. 32 bit single precision floating point data
uint - Size
Intermediate Language (IL)
Assembly
Float (or float) - Size
41. Extra information within a method
Encapsulation
Boolean - Size
Parameter aka Argument
Method
42. Field whose value can never change. Declared with 'const' keyword
JITer
Constant
bool - Size
Assignment Operator
43. Code which signifies a carriage return. Symbolises a new line in a text box.
r
CLR
ushort - .NET alias
Operator
44. (&& or || or & or |)
Conditional Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
Syntax
45. Groups classes together so that they have a unique identifier
Heap
Abstraction
Inheritance
Namespace
46. Access is limited to the current Assembly and Derived Types
Namespace
Label
Parameter aka Argument
Protected Internal Access Modifier
47. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Intermediate Language (IL)
Properties
Inheritance
Stack
48. 32 bit integer data
Static Class
uint - Size
sbyte - .NET alias
Int32 - Size
49. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Abstract Method Modifier
Keyword
Value Type
50. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Boolean - Size
Class Statement
uint - .NET alias
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