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 integer data
Label
Assembly
Variable (C# requirements)
Int32 - Size
2. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Abstract Method Modifier
Variable (C# requirements)
Method
Private Access Modifier
3. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Boolean - Size
JIT
4. System.Double
Int32 - Size
Assembly
double - .NET alias
String (or string)
5. Syntax of a C# Method
Console Application
C#
FCL
returnType methodName (parameterList)
6. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Unary Operator
Object
Statement
Label
7. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
Abstract Method Modifier
Abstract Class Modifier
Static Member
Expression
8. A Class from which other classes can inherit characteristics.
Boolean Operator
String (or string)
Base Class
Relational Operator
9. System.SByte
Assembly
Namespace
sbyte - .NET alias
Inheritance
10. System.Int32
int - .NET alias
Console Application
decimal - .NET alias
Intermediate Language (IL)
11. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
ulong - Size
short - .NET alias
Primitive Type
Expression
12. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Encapsulation
Method
Properties
13. An instance of a class that exists at run-time and is typically referenced via a variable name.
Class Statement
byte - Size
Object
Value Type
14. 64 bit - unsigned integer data
Constructor
ulong - Size
While Statement
Variable (C# requirements)
15. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Protected Internal Access Modifier
Operator
Properties
Boolean Operator
16. 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
Equality Operator
byte - .NET alias
Variable
17. System.UInt32
float - .NET alias
uint - .NET alias
Array
While Statement
18. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
Variable
Unary Operator
byte - .NET alias
float - .NET alias
19. A Class that can only have Static Members
DateTime
Virtual Method Modifier
Array
Static Class
20. The .NET run-time environment that enables code to be compiled and executed.
Protected Internal Access Modifier
Common Language Runtime (CLR)
Float (or float) - Size
Equality Operator
21. System.Byte
Unary Operator
Base Class
Assembly
byte - .NET alias
22. (== or !=)
char - .NET alias
Equality Operator
Object
Properties
23. Used to display text that end user does not need to edit.
Textbox
int - Size
Label
Class Statement
24. Code which signifies a carriage return. Symbolises a new line in a text box.
String (or string)
Statement
float - .NET alias
r
25. 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
long - .NET alias
Constant
returnType methodName (parameterList)
26. Container for one or more Visual Studio Projects.
short - Size
Value Type
Visual Studio Solution
References (Visual Studio Solution
27. The process of compiling IL source into CPU-native code for execution.
CLR
Relational Operator
Just-in-time (JIT
Double (or double) - Size
28. (= or += or -= or = or /=)
Stack
Statement
Constructor
Assignment Operator
29. A symbol that specifies an operation to be performed on one or more variables.
Array
Abstract Class Modifier
Operator
Heap
30. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Operator
Inheritance
IDE
31. A Class that cannot be instantiated.
Expression
Operator
Boolean Operator
Static Class
32. 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
Class aka Type
Assembly
Dot Notation
Polymorphism
33. Restricts access to a Member to the current Class.
Visual Studio Solution
Private Access Modifier
Class aka Type
Derived Class
34. 64 bit double precision floating point data
Assignment Operator
Relational Operator
Double (or double) - Size
CLR
35. 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'.
Object
Keyword
JITer
Textbox
36. Symbols which transform and combine expressions
Boolean Operator
Constant
Relational Operator
Operator
37. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Heap
Relational Operator
Precedence
Sealed Class
38. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Object
using
Expression
39. 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)
ushort - Size
Equality Operator
Program
Boolean Operator
40. When a sub class passes down all the behaviours of the original parent class
C#
Console Application
Inheritance
If Statement
41. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Incrementing / Decrementing Variables
sbyte - Size
Visual Studio Solution
42. Variables defined by a class
NET
uint - .NET alias
Properties
Field
43. 64 bit integer data
using
long - Size
short - .NET alias
Variable
44. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
uint - .NET alias
Decimal (or decimal) - Size
Reference Type
Data structures
45. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
String (or string)
Method
int - Size
Strong Typing
46. Must have a data type
Incrementing / Decrementing Variables
Field
Variable (C# requirements)
Class aka Type
47. Keyword which exposes members to other classes OR Identifier which makes program elements public
Field
Window.xaml.cs
Common Language Runtime (CLR)
Public Keyword
48. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Identifiers
Primitive
Overloaded Method
Incrementing / Decrementing Variables
49. Access is limited to the current Assembly
Statement
Variable
Internal Access Modifier
decimal - .NET alias
50. The lowest level or fundamental data types needed for representing data.
long - Size
Comments
Primitive
Primitive Type
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