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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Variable
Encapsulation
Constant
2. Groups classes together so that they have a unique identifier
Namespace
Expression
Intermediate Language (IL)
uint - Size
3. Introduces a new class. Marked by curly brackets { }
Window.xaml.cs
Class Statement
Int32 - Size
Incrementing / Decrementing Variables
4. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
CLR
While Statement
Int64 - Size
If Statement
5. Something that has a different number of parameters to it's predecessor
Abstraction
Overloaded Method
Boolean Operator
byte - .NET alias
6. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Class Statement
Method
Assembly
Constructor
7. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Assembly
Expression
byte - .NET alias
Visual Studio Solution
8. Mathematical (+ or - or / or %)
Operator
Unary Operator
Label
Primitive
9. 64 bit - unsigned integer data
ulong - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
decimal - .NET alias
Reference Type
10. Indicates that the Method can be overridden.
IDE
CLR
Statement
Virtual Method Modifier
11. 32 bit integer data
FCL
Int32 - Size
Protected Internal Access Modifier
Unary Operator
12. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Public Keyword
uint - Size
Statement
Double (or double) - Size
13. Integrated Development Environment
Constant
Heap
IDE
sbyte - Size
14. 64 bit integer data
Expression
ulong - .NET alias
Int64 - Size
Value Type
15. 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.
Overloaded Method
Boolean - Size
Constructor
Partial Method Modifier
16. Text as Unicode characters
int - Size
Encapsulation
short - Size
String (or string)
17. 16 bit- unsigned word (U+0000 to U+ffff)
Assignment Operator
float - .NET alias
char - Size
Class aka Type
18. A Class that inherits characteristics from another Class.
Label
csc.exe
Derived Class
Encapsulation
19. 64 bit integer data
Assembly
long - .NET alias
Namespace
long - Size
20. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Assignment Operator
Heap
Abstraction
Inheritance
21. Compilation of classes. In C# Usually ends in .dll or .exe
Variable (C# requirements)
DateTime
Static Member
Assembly
22. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Internal Access Modifier
CLR
Array
Inheritance
23. true or false
String (or string)
returnType methodName (parameterList)
Public Keyword
Boolean - Size
24. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
uint - .NET alias
Heap
Operator
Namespace
25. Access is limited to the current Assembly
Encapsulation
returnType methodName (parameterList)
Internal Access Modifier
bool - Size
26. 128 bit fixed precision (financial)
Framework Class Library (FCL)
Dot Notation
Decimal (or decimal) - Size
Method
27. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
ulong - .NET alias
Identifiers
Partial Method Modifier
Statement
28. System.Single
int - .NET alias
float - .NET alias
Unary Operator
FCL
29. 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
Static Member
uint - Size
Variable (C# requirements)
30. A Class that cannot be instantiated.
Equality Operator
Class aka Type
Inheritance
Static Class
31. 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'.
Protected Internal Access Modifier
Textbox
char - .NET alias
Base Class
32. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
sbyte - Size
using
References (Visual Studio Solution
Window.xaml.cs
33. Series of instructions which tell a computer what to do.
long - .NET alias
Common Language Runtime (CLR)
Program
Virtual Method Modifier
34. Used to display text that end user does not need to edit.
Derived Class
char - .NET alias
While Statement
Label
35. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Variable (C# requirements)
Method
Unary Operator
Data structures
36. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
If Statement
Statement
Identifiers
Class
37. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Primitive
byte - .NET alias
Array
Polymorphism
38. Keyword which exposes members to other classes OR Identifier which makes program elements public
ushort - .NET alias
Static Class
Public Keyword
Boolean Operator
39. Just-in-time compilation
Visual Studio Solution
JIT
int - .NET alias
Base Class
40. Field whose value can never change. Declared with 'const' keyword
Constant
Derived Class
Namespace
Decimal (or decimal) - Size
41. 64 bit double precision floating point data
byte - .NET alias
Encapsulation
Abstract Class Modifier
Double (or double) - Size
42. 16 bit - unsigned integer data (0 to 65535)
Common Language Runtime (CLR)
ushort - Size
int - Size
Class
43. true or false
Virtual Method Modifier
Class
Variable (C# requirements)
bool - Size
44. 32 bit integer data
References (Visual Studio Solution
Object
int - Size
Method
45. The "Type" name of data that is stored on the Stack
JIT
ulong - .NET alias
Value Type
Reference Type
46. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Derived Class
Static Class
short - .NET alias
Properties
47. System.Byte
Identifiers
ushort - .NET alias
byte - .NET alias
Reference Type
48. Variables defined by a class
Method
Field
byte - .NET alias
ulong - .NET alias
49. System.Int64
Common Language Runtime (CLR)
long - .NET alias
Variable (C# requirements)
FCL
50. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
uint - .NET alias
Object
While Statement
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