CS411-Visual Programming Quiz MCQs Lecture 23-45 Finalterm Objective Questions | SUPERSTARWEBTECH

CS411-Visual Programming Quiz  MCQS #Objective #Questions
1. While dealing with “threads” in “.Net”, one can avoid performance bottlenecks and enhance the overall responsiveness of his/her application by using ___ programming.
  • Multithreading programming
  • Synchronous programming
  • Parallel programming
  • Asynchronous programming
2. Which of the following is the correct way to temporarily stop the execution of a thread object named “myThread” for 500 milisec?
  • myThread.Sleep(0.05);
  • myThread.Stop(0.05);
  • myThread.Sleep(500);
  • myThread.Stop(500);
3. ___ supports the creation of applications that run directly in a web browser.
  • WPF
  • C/C++
  • Partial Class
  • Logic behind
4. Which one of the following is used, if we want to add a window resource in procedural code?
  • Window.Resource.Add();
  • <Windows.Resources></Windows.Resources>
  • Window.Resources.Add();
  • <Window.Resources></Window.Resources>
5. AJAX stands for ___
  • Abstract JSON and XML
  • Asynchronous JavaScript and XHTML
  • Asynchronous JavaScript and XML
  • Abstract Java and XML Library
6. Using ___ requires more overhead than ___ because of the extra tracking.
  •  StaticResource, DynamicResourrce
  • DynamicResource, StaticResource
  • PermanentResource, TemporaryResource
  • TemporaryResource, PermanentResource
7. We use “GetDefaultView” method of ___ to get the default view.
  • CollectionViewSource
  • DataSource
  • ViewDescription
  • ViewCollection
8. Which of the following is used to display new HTML contents without reloading the page?
  •  JQuery
  • Ajax
  • JavaScript
  •  XML
9. ___ solves “JavaScript” complexity and browser incompatibilities.
  • jHTML
  • RQuery
  • JQuery
  • J#
10. Which of the following “Event” property is used to show the “distance(in pixels)” of the mouse pointer from the left edge of the Monitor?
  • pageX
  • pageY
  • ScreenY
  • ScreenX
11. Which of the following “Event” property is used to show the “distance(in pixels)” of the mouse pointer from the top edge of the browser window?
  • pageY
  • pageX
  • ScreenX
  • ScreenY
12. Which of the following is not a “JQuery” filter?
  • Even
  • Odd
  • Has
  • Write
13. Which of the following is not a part of the “cancellation” task?
  • The calling thread does forcibly end the task
  • Notice and respond to the cancellation request in your user delegate
  • Pass a cancellation token to your user delegate and optionally to the task instance
  • Create and start a cancelable task
14. “Javascript” is ___ side scripting language
  • Interpreter
  • browser
  • server
  • client
15. ___ are high order functions that compose, combine, otherwise modify function in useful and interesting ways.
  • Combinators
  • None
  • Separators
  • Modifiers
16. ___ can add/remove/change “CSS” properties based on input or mouse clicks
  • J#
  • jQuery
  • HTML
  • None
17. Which of the following class supports data parallelism in “Task Parallel Library”?
  • System Threading Tasks
  • System.Task.Parallel
  • System.threading.Task.Parallel
  • System.Task.Threading.Parallel
18. DOM is a ___ representation of data.
  • Tree
  • Graphical
  • Object
  • None

    Leave a Comment

    Your email address will not be published.

    CS411-Visual Programming Quiz MCQs Lecture 1-22 MidTerm Objective Questions | SUPERSTARWEBTECH

    CS411-Visual Programming Quiz  MCQS #Objective #Questions
    1. WCF stands for
    • Windows Communication Foundation 
    • Windows Class Foundation
    • Windows Classic Foundation
    • None
    2. C# is a ___ and .NET is a ___.
    • Platform, Language
    • Package, Language
    • Language, Package
    • Language, Platform 
    3. The ___, ___ and ___ of applications that use events, either directly or indirectly is called event-based programming.
    • Model, Code, Operation
    • Analyze, Design, Operation
    • Code, Operation, Maintain
    • Design, Coding, Operation 
    4. 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?
    • MinHeight 
    • None
    • HeightMinimum
    • MinimumHeight
    5. Types not defined in any namespace are said to reside in the ___ namespace.
    • Local 
    • Static
    • Virtual
    • Global
    6. Overloaded operators must be ___
    • Referenced
    • Static 
    • Objective
    • Delegates
    7. If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
    • Rotate Transform
    • Matrix Transform
    • Translate Transform
    • Skew Transform 
    8. Polymorphism works on the basis that child class should have ___ feature/s of its parent class.
    • Only one
    • No
    • Few
    • All 
    9. The code given below is equivalent to ___.
    <SolidColorBrush>White</SolidColorBrush>
    • <WhiteBrush>MyWhiteBrush</WhiteBrush>
    • None
    • <SolidColorBrush Color=”White”/>
    • <Brush Style=”SolidWhite”/>
    10. We use “UIElement” property CliptoBounds = “false” when
    • We want the area of child element do not cross the boundary of parent
    • None
    • We want the area of the child element is allowed to cross the boundary of parent 
    • Parent area also increases on increasing the area of the child element 
    11. Additional XML namespaces (on the root or on the children) must be ___ to be used on any identifiers from that namespace.
    • Given a common prefix
    • Qualified with “Pre” keyword
    • Given a distinct prefix
    • Qualified with “Ext” keyword
    12. When your C# program is compiled, it creates a file called ___
    • Assembly
    • Exe
    • Object
    • Class
    13. In the context of XAML child element rules, if the child is plain text and a type converter exists to transform the child into 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
    • Interface object instance
    • None
    • Child object instance
    14. The ___ method is used to read the whole file at once.
    • ReadAllText(“test.txt”);
    • ReadAll();
    • Read(“test.txt”);
    • ReadLine();
    15. A(n) ___ is a reference to a method.
    • Delegate
    • XAML
    • Function
    • Constructor
    16. Which of the following statement is TRUE about the raw event?
    • It is introduced into an event processing system by an event producer
    • It is generated as a result of event processing
    • It is introduced into an event processing system by an event consumer
    • It is a subscription mechanism for events
    17. Which of the following is an entity that introduces events into the system?
    • Event Channel
    • Eent Stream
    • Event Consumer
    • Event Producer
    18. XAML is good to concisely represent ___
    • User interface
    • User logic
    • User concerns
    • User behavior
    19. At the time an event is fired, the ___ methods (with that event) will be invoked.
    • Registered
    • Public
    • Protected
    • Private

      Leave a Comment

      Your email address will not be published.