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. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Syntax
byte - .NET alias
Console Application
long - Size
2. A Class that inherits characteristics from another Class.
Object
Array
sbyte - .NET alias
Derived Class
3. true or false
Operator
bool - Size
Unary Operator
Encapsulation
4. System.Decimal
Operator
decimal - .NET alias
Overloaded Method
Constructor
5. System.UInt64
Textbox
sbyte - Size
DateTime
ulong - .NET alias
6. Something that has a different number of parameters to it's predecessor
ushort - .NET alias
Overloaded Method
long - .NET alias
Class
7. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
If Statement
References (Visual Studio Solution
long - Size
8. (&& or || or & or |)
String (or string)
int - Size
Expression
Conditional Operator
9. Introduces a new class. Marked by curly brackets { }
long - Size
float - .NET alias
Boolean Operator
Class Statement
10. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
using
Int32 - Size
returnType methodName (parameterList)
11. Most common kind of reference type. They define objects. They must have at least one method and one field.
Value Type
Class aka Type
bool - Size
Label
12. Contains the class definitions that allow access to the functionality provided by .NET.
Float (or float) - Size
Operator
Framework Class Library (FCL)
Statement
13. 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
Partial Class Modifier
Namespace
Field
14. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class aka Type
float - .NET alias
ushort - .NET alias
15. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Incrementing / Decrementing Variables
Expression
Variable
Variable (C# requirements)
16. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Identifiers
C#
If Statement
Object
17. 8 bit - signed byte (-128 - 127)
sbyte - Size
Virtual Method Modifier
Intermediate Language (IL)
Operator
18. System.Int32
ushort - Size
int - .NET alias
Program
Static Member
19. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
While Statement
Inheritance
Method
Abstract Method Modifier
20. 32 bit integer data
Expression
Static Class
Reference Type
Int32 - Size
21. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
char - Size
Primitive
returnType methodName (parameterList)
int - Size
22. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Heap
FCL
Assembly
Int32 - Size
23. 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)
Common Language Runtime (CLR)
Strong Typing
Sealed Class
Boolean Operator
24. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Program
Data structures
Inheritance
byte - .NET alias
25. Microsoft's generic software framework for application development.
Strong Typing
Public Keyword
NET
Keyword
26. 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
Heap
Boolean Operator
csc.exe
Overloaded Method
27. System.Int64
long - Size
long - .NET alias
Inheritance
Protected Internal Access Modifier
28. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Variable
Expression
Console Application
Intermediate Language (IL)
29. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Boolean - Size
Double (or double) - Size
Protected Internal Access Modifier
Comments
30. Symbols which transform and combine expressions
Static Member
Intermediate Language (IL)
Operator
char - .NET alias
31. Used to display text that end user does not need to edit.
Program
Comments
Static Member
Label
32. (< or > or <= or >=)
Textbox
Relational Operator
Data structures
Program
33. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Constant
Partial Method Modifier
Console Application
csc.exe
34. Command Language Runtime
Protected Access Modifier
bool - Size
CLR
Conditional Operator
35. System.Char
Statement
char - Size
Abstract Class Modifier
char - .NET alias
36. The process of compiling IL source into CPU-native code for execution.
Framework Class Library (FCL)
ulong - Size
Just-in-time (JIT
byte - Size
37. The member type of a Class that performs an action.
Object
Encapsulation
Method
Class Statement
38. 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
short - .NET alias
Static Class
If Statement
39. Syntax of a C# Method
Public Keyword
Decimal (or decimal) - Size
returnType methodName (parameterList)
Variable
40. A Class that cannot be Inherited
Label
Sealed Class
Textbox
Properties
41. 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.
Primitive Type
Inheritance
W.P.F
Syntax
42. A Class that can only have Static Members
Inheritance
Polymorphism
Static Class
double - .NET alias
43. 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.
Relational Operator
Partial Method Modifier
uint - .NET alias
Encapsulation
44. System.Double
Decimal (or decimal) - Size
Float (or float) - Size
double - .NET alias
Program
45. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Method
JITer
Heap
Static Class
46. System.UInt32
uint - .NET alias
Framework Class Library (FCL)
Stack
sbyte - .NET alias
47. An instance of a class that exists at run-time and is typically referenced via a variable name.
C#
Program
Object
Textbox
48. Compilation of classes. In C# Usually ends in .dll or .exe
bool - Size
W.P.F
Variable (C# requirements)
Assembly
49. When a sub class passes down all the behaviours of the original parent class
Conditional Operator
Inheritance
IDE
Method
50. Restricts access to a Member to the current Class.
Conditional Operator
Private Access Modifier
Common Language Runtime (CLR)
Constant
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