Q1. WPF, If we try to add listbox item in listbox object which is already null, it will give us
- A.Runtime exception✓ Correct
- B.Compile time error
- C.Syntax error
- D.Logical error
Q2. i of the following statement is correct about WPF?
- A.WPF can use Python language for designing
- B.WFP can developed mobile apps
- C.WPF is resolution independence✓ Correct
- D.WPF not support declarative programming
Q3. The code given below is equivalent to . <SolidColorBrush>White</SolidColorBrush>
- A.<WhiteBrush >MyWhiteBrush </ WhiteBrush>
- B.None of the given options
- C.<SolidColorBrush Color="White"/>✓ Correct
- D.<Brush Style= "SolidWhite" >
Q4. CT
- A.Probabilistic Events✓ Correct
- B.Actual Events
- C.Real Events
- D.Expected Events
Q5. elements of WPF have following property/properties.
- A.Width
- B.None of given options
- C.Height and Width✓ Correct
- D.Height
Q6. is used to declare a class into multiple files and all these files are combined into a single class file when the application is compiled.
- A.Inheritance
- B.Partial Class✓ Correct
- C.Abstract Class
- D.Property Element
Q7. i of the following is an example of tunnel key event?
- A.Bb
- B.Preview key entered
- C.Preview key down✓ Correct
- D.Key down
Q8. Co shares size information in grid(s).
- A.Multiple✓ Correct
- B.Single
- C.Both 1 & 2
- D.Double
Q9. I for a single event is operation.
- A.Waiting
- B.Waste
- C.Idle
- D.Blocking✓ Correct
Q10. i of the following components generates an input Event?
- A.Printer
- B.Multi Touch✓ Correct
- C.Plotter
- D.Speaker
Q11. i in C# are objects.
- A.Logical.
- B.Arithmetic.
- C.Reference.
- D.Value.✓ Correct
Q12. I space inside the element in WPF is known as
- A.Margin
- B.Padding
- C.Tunneling✓ Correct
- D.Border
Q13. i of the following statements is TRUE about raw event?
- A.It is introduced into an event processing system by an event producer.✓ Correct
- B.It is generated as a result of event processing.
- C.It is introduced into an event processing system by an event consumer.
- D.It is a subscription mechanism for events.
Q14. CT method clears the value in a dependency property.
- A.Default✓ Correct
- B.-
- C.h
- D.ClearValue
Q15. the members of interfaces are implicitly .
- A.Private
- B.Static
- C.Public✓ Correct
- D.Abstract
Q16. I panel is used in interface.
- A.Top level✓ Correct
- B.Bottom level
- C.Left level
- D.Right level
Q17. I data members of a class by default are?
- A.Protected, Public
- B.Private, Public
- C.Public
- D.Private✓ Correct
Q18. I Main method returns zero value which indicates the .
- A.Source of Program
- B.Successful execution of Program✓ Correct
- C.Termination of Program
- D.Exception in Program
Q19. I , and of applications that use events, either directly or indirectly is called event-based programming.
- A.Model, Code, Operation
- B.Analyze, Design, Operation
- C.Code, Oeration, Maintain
- D.Design, Coding , Operation✓ Correct
Q20. | we insert some objects in a single cell in Grid panel, then these objects are placed on 5
- A.One on Top of the other✓ Correct
- B.One after the other
- C.One on Bottom of the other
- D.One on Side of the other
Q21. | we exclude the mechanism of calling the objects through name then:
- A.Code will not compile✓ Correct
- B.Code will be difficult to debug
- C.Code will have errors
- D.Code will become design dependent
Q22. B parameters can be either positional parameters or parameters.
- A.B✓ Correct
- B.BN
- C.None of the given options
- D.Named
Q23. B we have two elements in grid one is button and other is rectangle,which property will be helpful to set position of button on top of the rectangle?
- A.Z index✓ Correct
- B.Sizing
- C.Transform
- D.Stack Panel
Q24. graphics work with shapes.
- A.Scalar
- B.Vector✓ Correct
- C.Both 1 & 2
- D.None of the above
Q25. I of namespace in XML is just a
- A.String✓ Correct
- B.Integer
- C.Float
- D.Property
Q26. I Studio has a snippet called that automatically expands into a definition of a dependency property, which makes defining one much faster than doing all the typing yourself!
- A.Propdp✓ Correct
- B.Property extension
- C.Dpprop
- D.Dependency property
Q27. B we want to restrict the user to don't increase the height of a WPF element from a specific amount then which property will be used?
- A.MaximumHeight
- B.MaxHeight✓ Correct
- C.None of given
- D.HeightMaximum
Q28. i of the following events may or may not relate to an actual occurrence?
- A.Probabilistic Events✓ Correct
- B.Actual Events
- C.Real Events
- D.Expected Events
Q29. i method is used to write single byte to the file?
- A.Write()
- B.WriteLine()
- C.WriteByte ( )✓ Correct
- D.WriteKey( )
Q30. BN user interfaces and the event-driven model is not applied on which of the following?
- A.Web Applications
- B.Console Applications✓ Correct
- C.Mobile applications
- D.Desktop Applications
Q31. Function will register a dependency property in WPF.
- A.DependencyProperty.Reg()
- B.DependencyProperty.Registeration()
- C.DependencyProperty.Registered()
- D.DependencyProperty.Register()✓ Correct
Q32. Event is:
- A.Introduced into an event processing system by an event consumer.
- B.Generated as a result of event that takes place inside an event processing system.
- C.Introduced into an event processing system by an event producer.✓ Correct
- D.A set of associated events.
Q33. key can be represented as _text in XAML.
- A.Protected
- B.Focus✓ Correct
- C.Public
- D.None of the above
Q34. convention event names are prefixed with Preview.
- A.Tunneling✓ Correct
- B.Bubbling
- C.Direct
- D.None of the given
Q35. I use "UlElement" property ClipToBounds= "false" when .
- A.We want area child element don't cross the boundary of parent
- B.None of given
- C.We want area of child element is allowed to cross the boundary of parent✓ Correct
- D.Parent area also increases on increasing of area of child element
Q36. I in the namespace indicate a hierarchy of nested namespaces.
- A.Arrows✓ Correct
- B.Semicolon
- C.Brackets
- D.Dots
Q37. If we want to place a component at top in "dockpanel" then which one is correct syntax?
- A.PanelDock="Top"
- B.Dock="Top"
- C.DockPanel.Dock="Top"✓ Correct
- D.DockPanel="Top"
Q38. | we insert some objects in a single cell in Grid panel, then these objects are placed on .
- A.One on Top of the other✓ Correct
- B.One after the other
- C.One on Bottom of the other
- D.One on Side of the other
Q39. i of the following is the object-oriented way to handle run time errors?
- A.OnError
- B.Error codes
- C.Interface
- D.Exceptions✓ Correct
Q40. is an entity that receives events from the system.
- A.Event Producer
- B.Event Consumer✓ Correct
- C.Event Channel
- D.Event Handler
Q41. Co tag in XAML is the syntax for
- A.Namespace
- B.Property Element✓ Correct
- C.Class
- D.Attribute
Q42. COOL stands for g
- A.Class Oriented Object Language
- B.Consumer Oriented Object Language
- C.C-like Object Oriented Language✓ Correct
- D.C++-like Object Oriented Language
Q43. Against keyword a partial class is generated which we write in C# code.
- A.X:class✓ Correct
- B.Xmlns
- C.<button>
- D.X:Element
Q44. Suppose we have declared a button in XAML as shown in given code.Choose the correct C# code which get this button in C#. <Button x:Name="okbutton">OK</Button>
- A.Button okbutton=(Button)window.("okbutton");
- B.Button okbutton=(Button)window.searchname("okbutton");
- C.Button okbutton=(Button)window.getbutton("okbutton");
- D.Button okbutton=(Button)window.findname("okbutton");✓ Correct
Q45. B XML namespaces (on the root or on children) must be to be used on any identifiers from that namespace.
- A.Given a common prefix
- B.Qualified with “Pre” keyword
- C.Given a distinct prefix✓ Correct
- D.Qualified with “Ext” keyword
Q46. i your C# program is compiled, it creates a file called
- A.Assembly✓ Correct
- B.Class
- C.Namespace
- D.Module
Q47. property value is used to set width and height of element in WPF according to its content.
- A.h✓ Correct
- B.X:class
- C.i
- D.Width
Q48. 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
- A.Super class
- B.Sub class
- C.Value✓ Correct
- D.Interface
Q49. i a user select element from listbox, after selecting compiler marked the selected element as
- A.Selected✓ Correct
- B.Handled
- C.Bubble
- D.Focused
Q50. design a complex Interface, which of the following technique is best to achieve the required results?
- A.Panels composed in three panels
- B.Panels composed within panels✓ Correct
- C.Panels composed in two panels
- D.Panels composed in single panel
Q51. tunneling, event move from .
- A.Left to Right
- B.Right to Left
- C.Top to Down✓ Correct
- D.Diagonally
Q52. i room design is also called .
- A.Clear Room Design
- B.Wall Technique Design
- C.Chinese Wall Technique✓ Correct
- D.French Wall Technique
Q53. | we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
- A.Rotate Transform
- B.Matrix Transform✓ Correct
- C.Translate Transform
- D.Skew Transform
Q54. i room design is useful as a defense against .
- A.Copyright
- B.Trade secret infringement
- C.Copyright and trade secret infringement✓ Correct
- D.None of the given options
Q55. B methods the code size.
- A.Double
- B.Expand
- C.Reduce✓ Correct
- D.Extend
Q56. | works with Graphic Cards.
- A.OpenGL
- B.DirectX
- C.XNA✓ Correct
- D.Vulkan
Q57. the code size.
- A.Double
- B.Expand
- C.Reduce✓ Correct
- D.Extend
Q58. 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:
- A.<Button xmlIns=http://schemas.microsoft.com/winfx/2006/xaml/presentation Content="OK"/>✓ Correct
- B.<Button xmlIns= "OK" Content="http://schemas.microsoft.com/winfx/2006/xaml/presentation "/>
- C.<Button xmIns=http://schemas.microsoft.com/winfx/2006/xaml/presentation Event="0K"/>
- D.<Button xmIns="http://schemas.microsoft.com/winfx/2006/xaml/presentation” Call="OK"/>
Q59. I use "UlElement" property ClipToBounds= "false" when c
- A.We want area child element don't cross the boundary of parent
- B.None of given
- C.We want area of child element is allowed to cross the boundary of parent✓ Correct
- D.Parent area also increases on increasing of area of child element
Q60. check that the user either pressed left Alt key or right Alt key, the is used.
- A.IsKeyDown
- B.IsDown
- C.keyboardDevice.lsKeyDown✓ Correct
- D.KeyStates.|sKeyDown
Q61. Ul element focusable value is by default.
- A.True✓ Correct
- B.False
- C.Zero
- D.One
Q62. XAML specification defines rules that map ".NET" namespaces, types, properties, and events into : 1) XML namespaces 11) XML elements III) XML Attributes
- A.(1) and (11) only
- B.(1) and (111) only
- C.(1), (11) and (Ill) only✓ Correct
- D.(Ill) Only
Q63. i provider has the highest priority while providing a value to a dependency property?
- A.Style Setters
- B.Default Value
- C.Local Value✓ Correct
- D.Theme Style Setters
Q64. I Margin is defined by type.
- A.Thinnest
- B.Thick
- C.Thickness✓ Correct
- D.Border
Q65. i property is used to change the Z Order of elements in WPF?
- A.Z-Coordinate
- B.ZPanel
- C.Zlndex✓ Correct
- D.ZValue
Q66. | we run the program from within Visual Studio, the console window disappears quickly so we can use to keep screen from going away.
- A.Console.ReadLine()✓ Correct
- B.Console.WriteLine()
- C.Console. Title
- D.Console.Clear
Q67. i parent element space is not enough for the content of child element,this type of situation arises due to
- A.Short memory
- B.Content Overflow✓ Correct
- C.Indexing
- D.Buffer underflow
Q68. is a base class similar to UlElement but for document-related pieces of content that don't have rendering behavior on their own.
- A.ContentElement✓ Correct
- B.VisualElement
- C.SystemElement
- D.XAMLElement
Q69. i of these methods of the class String is used to obtain length of string object?
- A.Sizeof()
- B.length()✓ Correct
- C.lengthof()
- D.count()
Q70. B operators must be .
- A.Referenced
- B.Static✓ Correct
- C.Objective
- D.Delegates
Q71. I is a reference to a method.
- A.Delegate✓ Correct
- B.Function
- C.Constructor
- D.Event
Q72. B value of Grid.Row is
Q73. XAML 2006, x:AsyncRecords works on thread(s).
- A.Single✓ Correct
- B.Multiple
- C.Both 1 & 2
- D.None of the given
Q74. I can you specify null property in markup extension?
- A.null:
- B.{null}✓ Correct
- C.[null]
- D.(null)