CS411MidTermMCQsWithReferenceSolvedByArslan PDF
CS411MidTermMCQsWithReferenceSolvedByArslan PDF
o Information
o Entity
o Object
o Event PG#7
o Reaction PG#8
o Class
o Object
o Action
o # and *//*
o // and /**/ PG#14
o # and /*
o // and *//*
4. Which statement is True about “else” clause?
o An else clause always applies to the one after next preceding if statement in the statement block.
o An else clause always applies to the immediately preceding if statement in the statement block.
Click Here For More Detail
o An else clause can or cannot applies to the immediately preceding if statement in the statement block.
o An else clause never applies to the immediately preceding if statement in the statement block.
o An error PG#35
o Acceptable
o A warning
o An exception
6. You can handle multiple exception types with multiple _________ clauses.
o Throw
o Finally
o Catch Click here for more Detail
o Try
o Classes
o Variables
o Functions
o Meta data PG#41
Assemblies are self-describing because they have metadata.
8. The communicate with unmanaged COM,_________ attribute is used.
o [Obsolete]
o [Assembly]
o [STAThread] PG#42
o [Obsolete Attribute]
STAThread is a common attribute you will see later. It stands for Single Threaded Apartment model which is used for
communicating with unmanaged COM.
9. ___________ Method is used to move the file from one directory to another.
o Move PG#56
o Export
o Import
o None of the given options
o Avalon
o XNA
o GDI
o WPF
XNA Game Studio is an integrated development environment designed to make it easier to develop games for
Microsoft Window.
11. The keyword “CDATA” tells the XAML that the code written in this section ___________.
o Is comment
o Does not follow the normal XAML rules
o Is structured code
o Has global scope
12. ___________ are special dependency properties that can be attached to arbitrary objects.
o Three
o Ten
o Five PG#81
o Eight
Label’s default padding=5.
14. If element is invisible and does not participate in layout, then which property is used?
o Visible
o Collapsed PG#92
o Hidden
o None of the given options
o 1 PG#94
o 0
o 3
o 2
o 2
o 1 PG # 94
o 0
o 3
17. The default constructor initializes the integers with ___________ value.
o Empty
o NULL
o Zero (0)
o One (1)
o Event Consumer
o Event Producer
o Event Stream PG # 11
o Event Channel
19. We are checking that whether an element is eligible for focus or not, which property will help us in this testing?
o Focus
o IsFocus
o IsFocusable
o Focusable Click Here For More Detail
Focusable Gets or sets a value that indicates whether the element can receive focus. This is a dependency property.
(Inherited from UIElement).
20. Which of the following operations are completed before next operation can be started?
o Anonymous
o Virtual
o Synchronous PG#8
o Asynchronous
Synchronous operations are completed before the next operation can be started.
Asynchronous operations can be started and we can do something else before they are completed.
o 0 to 55
o 0 to 128
o 0 to 127
o -128 to 127 Click Here For More Detail
The sbyte keyword indicates an integral type that stores values according to the size and range shown in the following
table.
23. The ________ statement iterates over each element in an "enumerable" object.
o If statement
o Loops
o Try-Catch block
o Finally block
25. XML document is readable by _____________.
o No one
o Machine and Human both PG#48
o Human only
o Machine only
XML or eXtensible Markup Language is widely used for exchanging data. Its readable for both humans and machines.
Its a stricter version of HTML. Its made of tags, attributes, and values.
o Line by line
o Word by word
o In chunks
o None of the given options Click Here For More Detail
27. For which of the following, WPF does not provide any type converter?
o FontWeight
o Color
o Point
o None of the given options PG#64
WPF provides type converters for many common data types: Brush, Color, FontWeight, Point, and so on.
o desiredSize
o Max PG#81
o ActualWidth
o ActualHeight
Read only properties desiredSize, RenderSize, ActualHeight, ActualWidth.
29. If we execute the following code, then identify the correct option from the given below.
<Canvas>
<Button Canvas.ZIndex = “10” Background = “Red”>B1</Button>
<Button Canvas.ZIndex = “9” Background = “Blue”>B2</></Button>
</Canvas>
o Referential identity
o Referential comparison semantics
o Referential identity and Referential comparison semantics PG#14
o None of the given options
The common type system of C# has value types and reference types. Instances of value types do not have referential
identity nor referential comparison semantics.
31. Consider a class which is “Non-Static” and it has one variable which is also non-static, when we declare four (4)
instances /objects of the non-static class, then there will be ___________ copy/copies of the variable in memory.
o No
o Four
o One
o Two
32. There is/are _____________ type/s of parameters that can be used on attribute.
o Four (4)
o Three (3)
o One (1)
o Two (2) PG#43
Attribute parameters can be either positional parameters or named parameters.
o System.Collections.Generic
o System.Reflection
o System.Text
o System.IO
34. The corresponding type converter class provided by WPF for brush is __________.
o BrushConverter PG#64
o CastBrush
o BrushCast
o None of the given options
WPF provides type converters for many common data types: Brush, Color, FontWeight, Point, and so on. Classes
deriving from TypeConverter (BrushConverter, ColorConverter, and so on)
35. One of the key goals of WPF and XAML is the separation of ____________________.
WPF support separation of back end and front end.... That means the separation of design from the implementation.
Implementation means the back end while designing is front end
36. One of the key goals of WPF and XAML is the separation of ____________________.
o System array
o Factory method PG#69
o Sequential heap
o XAML compiler
Getting instances via factory methods
39. There are few properties to position an element on “canvas”. If we want to assign a value of “10” to its “Left”
property then which option will be used?
o LeftCanvas
o Canvas.Left PG#88
o Left.Canvas
o None of the given options
40. Which statement is True about interfaces?
o An interface can contain only methods, properties, events, and indexers. PG#35
o [Obsolete] PG#42
o {Obsolete}
o (Obsolete)
o *Obsolete
43. _________ allows to keep the user interface description and implementation separate.
o GDI
o WPF PG#61
o Avalon
o Altia
o One
o Two
o Three PG#81
o Four
45. Which of the following is not a feature of "C#"?
o Keyboard, lower
o Mouse, lower
o Keyboard, higher
o Within
o After
o Above
o Outside
o Propdp PG#75
o Property extension
o Dpprop
o Dependency property
o Functions
o Values
o Variables
o Classes PG#22
o Reaction PG#8
o Class
o Object
o Action
52. We have two buttons "b1" and "b2". If we want to place "b1" on "b2" then value of
"ZIndex" of "b1" should be ______ the value of "ZIndex" of "b2".
o Less than
o Greater than
o Equal to
o No need to give value of ZIndex of b1 PG#99
53. Events can be ______________.
o Specialized
o All of the given options PG#12
o Composed
o Generalized
54. When WPF 3.5 was released ___________.
o 2005
o 2006
o 2008
o 2009
55. The corresponding type converter class for “Brush” class will be _________.
o BrushConverter PG#64
o CastBrush
o BrushCast
o None of the given options
56. Which "transform" property can help us to flip the element from its center?
o ScaleY
o None of given options
o ScaleX
o RenderTransformOrigin PG#83
57. CLI stands for ________________________________.
58. The elements in a/an _________ are always stored in a contiguous block of memory.
o Tree
o Array Click Here For More Reference
o Variable
o Struct
59. If we want that "Stretch" property of child element takes the available "height or
width of parent" and shape of child element doesn’t change, then we should write
“Stretch = ________”.
o 1
o Fill PG#109
o UniformToFill
o Uniform
60. The only __________ .Net language has an intrinsic understanding of dependency Properties.
o Vb.net
o C#
o J#
o Xaml PG#74
61. The ______, ________ and ________of applications that use events, either directly or indirectly is called event-
based programming.
62. The Design, Coding and operation of applications that use events, either directly or indirectly is
called_____________.
The design, coding and operation of applications that use events, either directly or indirectly is called event-based
programming or applications based on event-driven architecture.
63. Unlike type converters, however, markup extensions are invoked from XAML with ___________.
o Bridge assemblies
o Wrapper code
o Two
o Three
o Multiple
65. During the program execution, program can be stopped with the help of _________.
o Attributes
o Compiler
o Exception Handling
o Breakpoints PG#48
66. Types not defined in any namespace are said reside in the ___________ namespace.
o Local
o Static
o Virtual
o Reference
o Pointer
o Integer Argument
68. At the time an event is fired, the _____________ methods will be invoked.
o Public
o Static
o Unregistered
69. Which of the following does NOT include in event processing operations?
o Deleting Events
o Reading Events
o Transforming Events
Event processing is computing that performs operations on events. Common event processing operations include
reading, creating, transforming, and deleting events.
o Reliability
o Stability
o Inconsistency PG#41
o Consistency
71. The result of Exception can bring __________ in the program by not releasing resources or doing some other
type of cleanup.
o Inconsistent State
o Duplicate State
Exception can leave your program in an inconsistent state by not releasing resources or doing some other type of
cleanup.
The initial name was “Cool”, which stood for “C-like Object Oriented
73. Graphical user interfaces and the event-driven model is not applied on which of the following?
o Web Application
o Mobile Application
o Desktop Application
Graphical user interfaces and the event-driven model as applied to desktop, web, and mobile applications.
74. The easiest way to declare an event is to put the event keyword in front of a ________ member.
o Interface
o Class
o Struct
o Request
o Response
o Coupling
o Decoupling PG#13
o Attribute
o Anonymous PG#47
o None of given
o Non-Anonymous
o Event Producer
o Event Channel
o Event Generator
EVENT CONSUMER: An event consumer is an entity at the edge of an event pro- cessing system that receives
events from the system.
78. An event is a list of___________.
o constants
o variable
o pointers
o Delegates PG#39
o Function
o Event PG#7
o Information
o Transaction
o Object
o Event PG#7
o Result
o Message
o A "catch" block always executes whether or not an exception is thrown and whether or not the "try" block
runs to completion.
o A "finally" block executes only, when an exception is thrown and when the "try" block runs to completion.
o A "finally" block may or may not executes whether or not an exception is thrown and whether or not the
"try" block runs to completion.
o A "finally" block always executes whether or not an exception is thrown and whether or not the "try"
block runs to completion. click here for more detail
82. Clean room design is also called__________.
o Copyright
Clean room design is useful as a defense against copyright and trade secret infringement because it Relies on
independent invention.
84. Which of the following is an entity that introduces event into the system?
o Event Channel
o Event Stream
o Event Consumer
EVENT PRODUCER: An event producer is an entity at the edge of an event process- ing system that introduces
events into the system.
85. Anonymous methods ____________ the code size.
o Double
o Expand
o Reduce PG#47
o Extend
87. The System.Console is a ___________ which enables us to do Console Input and Output.
o Structure
o Namespace
o Library
o Observed Events
o Deducted Events
Probabilistic events may or may not relate to an actual occurrence e.g. a fraud detection event on a banking transaction.
89. Which of the following events may or may not relate to an actual occurrence?
o Actual Events
o Real Events
o Expected Events
Probabilistic events may or may not relate to an actual occurrence e.g. a fraud detection event on a banking transaction.
o Probabilistic PG#7
o Event properties
o Layer
o Properties
Probabilistic events may or may not relate to an actual occurrence e.g. a fraud detection event on a banking transaction.
o XmlDocument PG#49
o XmlLine
o XPath
o XmlReader
There are two methods to read XML document. Using XmlDocument and XmlReader. XmlDocuments reads entire
document in memory
o XmlDocument PG#49
o xmlReader
o xmlQuery
o xmlparse
93. Event-based programming is also known as:
o Waiting
o Waste
o Idle
o Blocking PG#8
95. The Main method returns a non-zero value which indicates the_____________.
o Source of Program
o Termination of Program
o Exception in Program
CS411 QUIZ # 2
2014 ,2015 and 2016
From (11 to 21) Lectures
96. System.Windows.Controls.Button b = new System.Windows.Controls.Button(); b.Content = "OK"; For the above
code (written in C#) the corresponding XAML code will be:
97. If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
o Skew Transform
o Skew Transform
o Rotate Transform
98. If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
o Rotate Transform
o Matrix Transform
o Skew Transform
99. Which of the following is/are not derived from “Control” class?
o ListBox
o StatusBar
o Both of above
100. Which of the following is/are not derived from “Control” class?
o ListBox
o StatusBar
o Button
o 2012
o 2005
o 2003
102. Suppose we want to restrict the user to don’t decrease the height of a WPF element from a specific amount then
which property will be used?
o HeightMinimum
o MinimumHeight
o MinHeight PG#83
o MaxWidth PG#91
o MaximumWidth
o WidthMaximum
104. XAML specification defines rules that map ".NET" namespaces, types, properties, and events
into_______________________. I) XML namespaces II) XML elements III) XML Attributes
o Only
o Only
o Only
XAML specification defines rules that map .NET namespaces, types, properties, and events into XML namespaces,
elements, and attributes. Lets see XAML and equivalent C#.
o System.Windows.DependencyProperty PG#75
o System.Windows.Dependency.Property
o System.Windows.Dependency
o System.Windows.Property.Dependency
o Dynamic class
o Normal class
o String class
107. Extension methods __________ access the private data members of the class in which they are extended.
o May
o May not
o Can
108. In context of XAML child element rules, if the child is plain text and a type converter exists to transform the
child into the parent type (and no properties are set on the parent element), treat the child as the input to the type
converter and use the output as the __________.
o none
If the child is plain text and a type converter exists to transform the child into the parent type (and no properties are set
on the parent element), treat the child as the input to the type converter and use the output as the parent object instance.
109. We use "UIElement" property ClipToBounds= “True” when ________________________.
o None of given
o CAML:NS
o XAML PG#69
o XAML:NS
o CAML
o CAML:NS
o XAML PG#69
o XAML:NS
o CAML
112. If we exclude the mechanism of calling the objects through name then:
113. “viewbox” element use different types of stretching with the help of stretch property. There is/are ___________
possible value(s) of stretch.
o 1
o 4
o 2
o 3
o Interface imyinterface
{
Void methodtoimplement(); PG#35
}
o Interface imyinterface
{
Void methodtoimplement
}
o Interface imyinterface
{
Void implement();
}
o Interface imyinterface
{
Void method();
}
Interfaces can also be inherited.
116. If we want to place a component at top in "dockpanel" then which one is correct syntax?
o PanelDock="Top"
o Dock="Top"
o DockPanel.Dock="Top" PG#91
o DockPanel="Top
o True PG#91
o False
Dock panel allows easy docking of elements to an entire side. Dock attached property has left, right, top, bottom values
118. ________ processing operations include reading, creating, transforming, and deleting events.
o Observed Events
o Deducted Events
o Probabilistic Events
Common event processing operations include reading, creating, transforming, and deleting events.
o Arrows
o Semicolon
o Brackets
120. The interface forces each component to expose specific ________ members that will be used in a certain way.
o Public PG#35
o Private
o Both of above
The interface forces each component to expose specific public members that will be used in a certain way.
121. Static ctor exists to initialize class static members and called only ________.
o Once PG#23
o Twice
o Anytime
Static ctor exists to initialize class static members. Its called only once.
122. Static ctor exists to initialize class static members and has many parameters.
o True
o False PG #23
Static ctor exists to initialize class static members. Its called only once.
o True PG#35
o False
124. Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from
that namespace.
o Parent
o Whole
o Fill
o Stretch PG#82
126. The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself
and any child elements.
o one PG#63
o two
o three
o five
The root object element in XAML must specify at least one XML namespace
o True
o False PG#30
Auto-implemented properties improve the common-case we saw. Here is the same example using auot-implemented
properties. Properties have the same idea as getters and setters. They just allow simplified syntax.
129. The initial name for C# was ___________.
o COAL
o COOP
o COAP
o COOL PG#13
Where do the name for C# comes from. The initial name was “Cool”, which stood for “C-like Object Oriented
Language”.
o Inside
o Outside PG#10
o Both of above
131. If we run the program from within Visual Studio, the console window disappears quickly so we can use
__________ to keep screen from going away.
o Console.ReadLine( ) PG#15
o Console.WriteLine()
o Console.Title
o Console.Clear
o static, instance
o public, private
o static, private
133. Mapping to the WPF namespaces is ______________ in-side the WPF assemblies.
o Hard-coded PG#63
o Dynamically specified
o Different
o Same PG#25
o Alternative
o Class
o Function
o Array PG#30
o Pointer
o True PG#38
o False
o Value
o Reference
o Extension
138. Object variables are references to the ________ object not the object themselves.
o Original PG#20
o Alternative
o Primary
o True PG#21
o False
140. ________ is built from request-response and it moves away from monolithic applications.
o Both of above
o True
o False PG#14
o Event Producer
o Raw Event
o Event Stream
144. “FrameworkElement” is the base class that adds support for __________.
o Data binding
o Styles
o Stack
o Pointer
o Jagged PG#18
o Function
146. The using directive can be used to rename a long namespace in the current file.
o True PG#21
o False
o True PG#24
o False
148. Cast back to base type to call a/an ________ method of base.
o Instance
o Base Class
o Derived Class
o Overridden PG#24
149. ________ invoke derived class methods through base class reference during run-time.
o Abstraction
o Polymorphism PG#24
o Composition
o Association
150. __________ are inherited by classes which provide the real implementation.
o Functions
o Variables
o Interfaces PG#35
o Objects
151. An object initializer is a syntax for initializing a struct without using a ctor.
o True PG#35
o False
o Clearance
o Errors
o Ambiguity
153. Enum of one type may not be ________ assigned to an enum of another type.
o Implicitly PG#43
o Explicitly
o Both of above
o 0 PG#44
o 1
o 2
o 3
o True
o False PG#21
o Arrays
o Variables
o Parameters PG#31
o All of these
157. Derived Event is:
o Generated as a result of event that takes place inside an event processing system. PG#11
o Console PG#15
o Pointer
o Variable
o Function
o Variable
o Reference
o Memory PG#33
o Object
160. We can add constructors to a struct and can also overload the default ctor which initializes everything to default
values.
o True
o False PG#34
o True PG#22
o False
162. C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
o Activated PG#38
o Deactivated
o Transformed
o Associated
163. A C# _______ is a class member that is activated whenever the event it was designed for occurs (fires).
o Event PG#38
o Attribute
o Method
o True PG#40
o False
o True PG#43
o False
167. Which of the following statements is TRUE about raw event?
o True PG#41
o False
o 2000
o 2001
o 2002
o 2003 PG#61
o True PG#37
o False
o Similar PG#33
o Different
o Large
o Small
172. Events and ________ work hand in hand.
o Parameters
o Delegates PG#39
o Functions
o Data Members
o Platform, Language
o Package, Language
o Language, Package
C# design most directly reflects .NET (CLR) design but C# is a language and .NET is the platform.
o True
o False PG#43
Positional parameters come before named parameters. There is no order requirement on named parameters.
175. Stathread is stand for:
STAThread is a common attribute you will see later. It stands for Single Threaded Apartment model which is used for
communicating with unmanaged COM.
176. Structs can not have destructors.
o True PG#33
o False
o True PG#14
o False
178. The “this” pointer in methods refers to the ________ on which the method is called.
o Function
o Class
o Object PG#20
o Pointer
o True
o False PG#21
Ctor does not return any values and it initializes class members.
o Transactional
o Functional
o Event PG#8
o All of these
181. _________ is an event that is introduced into an event processing system by an event producer.
o Event Producer
o Event Consumer
o Event Stream
o Variables
o Functions
o Methods PG#37
o Classes
183. _________ are unique types that allow you to assign symbolic names to integral values.
o Structures
o Enumerations PG#43
o Typedefs
o Unions
184. Attributes are generally applied ________ in front of type and type member declarations.
o Logically
o Physically PG#42
o Both of above
o None of given
185. __________let any classes behave like an array.
o Properties
o Fields
o Finalizers
Indexers permit instances of a class or struct to be indexed in the same way as arrays. Indexers are similar to properties
except that their accessors take parameters.
o True PG#18
o False
187. ________event consumer is an entity at the edge of an event processing system that receives events from the
system.
o Event Producer
o Event Stream
o Constructors
o Destructors PG#23
o Both of above
o True PG#42
o False
Threaded Apartment model which is used for communicating with unmanaged COM
o Value
o Reference PG#14
o Both of above
191. ________ can leave your program in an inconsistent state by not releasing resources or doing some other type
of cleanup.
o Functions
o Exception PG#41
o Abstraction
o All of these
o int PG#44
o short
o long
o all of these
o True PG#47
o False
194. There are ________ methods to read XML document.
o Two PG#49
o Three
o Four
o Five
There are two methods to read XML document. Using XmlDocument and XmlReader.
195. “out” parameters which are not used for return values or the “params” argument for variable arguments.
o True
o False PG#20
“out” parameters which are used for return values or the “params” argument for variable arguments.
196. ____________ is a base class similar to UIElement but for document-related pieces of content that don’t have
rendering behavior on their own.
o ContentElement PG#71
o VisualElement
o SystemElement
o XAMLElement
197. ________ have already happened whereas ________ are asking something to happen.
o Requests, Events
o Functions, Events
o Requests, Functions
198. The common type system of C# has ________ types and ________ types.
o Reference, Value
o Function, Data
o Data, Function
199. ________ operations are completed before the next operation can be started.
o Asynchronous
o Synchronous PG#8
o Math class
o Program class
o String class
o Attributes PG#40
o Functions
o Exception
o Objects
202. A compiled C# file is called ________.
o Complied File
o Source File
o EXE File
o handler
o event
o delegate PG#47
Anonymous methods. It is used with delegates and handlers and events. Anonymous methods result in much less code.
Anonymous method is a method without a name.
o compile-time PG#41
o run-time
o anytime
ObsoleteAttribute causes a compile-time warning to appear. Such things would be difficult to accomplish with normal
code.
o Private
o Static
o Abstract
206. ________ decouple producers and consumers.
o Requests
o Events PG#10
o Functions
o All of these
207. Markup extensions are invoked from ________ with explicit and consistent syntax.
o C#
o HTML
o XAML PG#65
208. The base class will have the _____ functionality of all derived classes.
o Common PG#24
o Specialized
o Unique
o Different
o True PG#43
o False
210. Any class, including the same class that the event is declared in, may register one of its methods with the
________.
o Delegate
o Function
o Class
o Event PG#39
o True
o False PG#50
212. When the data is passed from one place to another in chunks, this data is called __________.
o Bits
o Line
o Byte
o Stream
213. Overloaded operators must be static and must be declared in the class for which the operator is defined.
o True PG#45
o False
o Referenced
o Static PG#45
o Objective
o delegates
215. A method performs an action in a series of statements, called a ______________.
o Code Block
o Method Block
o Routine Block
o Event-driven
217. Polymorphism works on the basis that child class should have ______ feature/s of its parent class.
o Only one
o No
o Few
o All
o Event
o Request
o C#
o XAML PG#62
o HTML
o All of these
o Requests
o Service
o Messages PG#10
o Applications
o Xmldocuments PG#49
o Xmlreader
o Both of above
222. The ___________ method is used to read the whole file at once.
o ReadAll();
o Read(“test.txt”);
o ReadLine();
223. XML is a stricter version of ____________.
o Java
o CSS
o HTML PG#48
o C#
o Dev C++
225. Writing higher-level functions that call upon lower-level functions _________ a program.
o Decode
o Harder
o Refactor
226. To use kbhit() command, you need to include which header file in your program?
o fstream.h
o stdio.h
o iostream.h
o 2005
o 2006
o 2009
o Raw Event
o Event Stream
o Event Producer
229. Which of the following grabs the “OK” button by only knowing its name?
230. If we require to set components in table (column and row) format, then which panel will be used?
o StackPanel
o Grid PG#92
o TabPanel
o DockPanel
Grid is the most versatile. Its the default panel in VS and expression blend. You arrange things in multirow
multicolumn, like a table in html.
231. An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.
o 0
o False
o Null
o True
232. "Console" is a/an __________ class in the "System" namespace.
o Virtual
o Input
o Static PG#15
o Dynamic
o "Struct" can add methods like interfaces and can be called in exactly the same way.
o "Interfaces" can add methods like classes and can be called in exactly the same way.
o "Struct" can add methods like classes and can be called in exactly the same way. PG#34
o "Struct" cannot add methods like classes and cannot call in exactly the same way.
o Three PG#68
o Two
o One
o Four
o Factory method
o Sequential heap
o XAML compiler
236. By convention "tunneling event" names are prefixed with ________ and just come_________ the bubbling
event occurs.
o View, after
o View, before
o Preview, after
237. A ____________ block has access to an "Exception" object that contains information about the error.
o Throw
o Try
o Finally
238. Whenever an attribute value is enclosed in curly braces "{}", the XAML compiler/parser treats it as a/an
_________ rather than a/an __________.
o Tunneling
o Indirect PG 117
o Bubbling
o Direct
o Event Request
o Event Response
o Event Architecture
o 80%
o 100% PG#69
o 90%
o 70%
WPF and expression blend is 100% WPF and is great for designing and prototyping WPF apps.
o Event properties
o Layer
o Properties
o Routed Events
o Output Events
o Obvious Events
244. __________where multiple GUI elements and many sources of events exist.
o Event properties
o Content property
o Event properties
o Layer
o Output Events
o Algorithms PG#43
o Variable
o Pointer
o Function
247. When your C# program is compiled, it creates a file called a/an______, which is normally an executable or
DLL library.
o C++
o Assembly PG#41
o Text
o BIOS
o Function
o Method
o Value
o Positional PG#43
o Name PG#43
o Static
o Global
250. WPF element in "DockPanel" has property "dock". There is/are __________ possible value(s) of "dock"
property.
o two
o three
o four PG#93
o one
251. In context of XAML child element rules, if the parent supports a content property and the type of the child is
compatible with that property, treat the child as its __________.
o Super class
o Sub class
o Value PG#68
o Interface
252. The _______________ user interfaces, enabled by WPF, is getting a lot of attention.
o Loutish
o Polished PG#61
o Coarse
o Distracted
253. With the help of WPF, an ugly looking application can be _______ by the designers.
o Rearranged
o Re-created
o Re-themed PG#61
o Rejected
254. If we want to rotate an object clockwise about a specified point in a 2-D x-y coordinate system then which
transform class will be used?
o Translate Transform
o Skew Transform
o Scale Transform
255. All elements of WPF have following property/properties.
o Width
o Height
o It contains a stacktrace
Note: Give me a feedback and your Suggestion also If you find any mistake in mcqz plz
inform me Viva Contact us Page on our Site. And tell me your answer with references.
For More Solved Papers By Arslan Visit Our Website :
Www.VirtualUstaad.blogspot.com