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. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Static Class
short - .NET alias
Strong Typing
Label
2. Names reserved by the compiler that coders are not allowed to use as identifiers.
Boolean Operator
byte - Size
Keyword
Identifiers
3. (== or !=)
Variable (C# requirements)
Properties
Equality Operator
uint - Size
4. 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'.
ulong - .NET alias
Class Statement
Array
Textbox
5. A representation of an area in the computer memory in which a value of a particular data type can be stored.
ushort - .NET alias
Variable
Visual Studio Solution
Boolean - Size
6. Introduces a new class. Marked by curly brackets { }
Class Statement
If Statement
Just-in-time (JIT
Relational Operator
7. 64 bit double precision floating point data
Expression
Abstraction
Double (or double) - Size
Sealed Class
8. A Class that cannot be instantiated.
short - .NET alias
Object
Operator
Static Class
9. Syntax of a C# Method
Primitive Type
Keyword
Stack
returnType methodName (parameterList)
10. System.UInt32
Namespace
Assembly
uint - .NET alias
Field
11. Variables defined by a class
double - .NET alias
Statement
Field
bool - Size
12. Represents the encapsulation of data and behaviors into a single unit.
Statement
uint - .NET alias
Assembly
Class
13. System.Int16
byte - .NET alias
short - .NET alias
Partial Method Modifier
Assembly
14. The lowest level or fundamental data types needed for representing data.
Sealed Class
Primitive Type
Class Statement
Program
15. System.Int64
Static Class
long - .NET alias
Class
Public Keyword
16. 64 bit integer data
Assembly
returnType methodName (parameterList)
long - Size
Heap
17. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Expression
ushort - .NET alias
Derived Class
If Statement
18. A Member that cannot be accessed/invoked through an Object Instance.
Value Type
Common Language Runtime (CLR)
IDE
Static Member
19. The "Type" name of data that is stored on the Heap
Reference Type
bool - Size
csc.exe
ulong - Size
20. Most common kind of reference type. They define objects. They must have at least one method and one field.
Private Access Modifier
Class aka Type
decimal - .NET alias
Just-in-time (JIT
21. Field whose value can never change. Declared with 'const' keyword
Properties
short - Size
Namespace
Constant
22. A Class that inherits characteristics from another Class.
float - .NET alias
Syntax
Primitive Type
Derived Class
23. Only requires one operand usually a count+1 or a count++ or a count--
Boolean - Size
short - Size
Unary Operator
Primitive
24. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
String (or string)
bool - Size
Data structures
25. Used to display text that end user does not need to edit.
Operator
Strong Typing
Label
IDE
26. 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.
Intermediate Language (IL)
Constructor
Encapsulation
Static Member
27. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Polymorphism
DateTime
Properties
Encapsulation
28. The member type of a Class that performs an action.
Field
int - Size
Method
Sealed Class
29. A symbol that specifies an operation to be performed on one or more variables.
Inheritance
byte - Size
Operator
Statement
30. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Relational Operator
ushort - .NET alias
Inheritance
Primitive
31. 8 bit - unsigned byte (0 - 255)
Namespace
byte - Size
uint - .NET alias
Primitive Type
32. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Encapsulation
References (Visual Studio Solution
using
char - Size
33. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Namespace
short - .NET alias
char - Size
34. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Properties
Class
Identifiers
35. System.Single
float - .NET alias
Encapsulation
Public Keyword
W.P.F
36. System.Byte
Program
Encapsulation
Stack
byte - .NET alias
37. Something that has a different number of parameters to it's predecessor
Heap
Console Application
Overloaded Method
C#
38. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Window.xaml.cs
Assignment Operator
Stack
csc.exe
39. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Class
Encapsulation
Value Type
Precedence
40. 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.
Equality Operator
Identifiers
Dot Notation
Static Class
41. 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
Unary Operator
Object
W.P.F
Class Statement
42. System.UInt64
Conditional Operator
csc.exe
ulong - .NET alias
Class
43. Windows Presentation Foundation
W.P.F
NET
Strong Typing
Value Type
44. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
float - .NET alias
decimal - .NET alias
Protected Access Modifier
45. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Overloaded Method
Polymorphism
r
Operator
46. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Field
Inheritance
Window.xaml.cs
47. 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.
Namespace
Syntax
Constant
Textbox
48. System.Decimal
decimal - .NET alias
Derived Class
Method
Base Class
49. Microsoft's generic software framework for application development.
Inheritance
short - Size
Namespace
NET
50. Framework Class Library
FCL
Precedence
Incrementing / Decrementing Variables
C# mark Up Language X.A.M.L(Extensible Application Markup Language)