You are on page 1of 17

FOR MORE PAPERS, GO TO VUINSIDER.

COM

CS411 Mid Term

Event-based programming is also known as:

► Service-oriented architecture (SOA)

► Event-driven Architecture (EDA) (Page 11)

► Service-driven Architecture (SDA)

► Event-based Architecture (EBA)

Polymorphism works on the basis that child class should have______feature/s


of its parent class.

► Only one

► No

► Few

► All

Clean room design is also called__________

► Clear Room Design

► Wall Technique Design (Page 13)

► Chinese Wall Technique

► French Wall Technique

Types not defined in any namespace are said reside in the


_________namespace.
Page 1 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Local

► Static

► Virtual

► Global

A compiled C# file is called

► Complied File

► Source File

► Assembly File (Page 41)

► EXE File

Cool stands for______________.

► Class Oriented Object Language

► Consumer Oriented Object Language

► C-like Object Oriented Language

► C++-like Object Oriented Language (Page 13)

The initial name for C# was______________.

► COAL

► COOP

Page 2 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► COAP

► COOL (Page 13)

The Main method returns a non-zero value which indicates the_____________.

► Source of Program

► Error in Program

► Termination of Program

► Exception in Program

Attributes add ____________to year program.

► Clearance

► Errors

► Meta Data (Page 40)

► Ambiguity

Wait for a single event is ____________operation.

► Waiting

► Waste

► Idle

► Blocking (Page 8)

Page 3 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

To use kbhit() command, you need to include which header file in your
program?

► fstream.h

► stdio.h

► iostream.h

► conio.h

Which of the following is built from request-response?

► Event-processing Architecture (EDA)

► Service-driven Architecture (SDA)

► Service-oriented Architecture (SOA) (Page 11)

► Event-bas Architecture (EBA)

_________let any classes behave like an array.

► Properties

► Fields

► Indexers (Page 29)

► Finalizers

All the members of interfaces are implicitly__________.

Page 4 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Private

► Static

► Public (Page 34)

► Abstract

_________methods do not have names.

► Attribute

► Anonymous (Page 46)

► None of given

► Non-Anonymous

Derived Event is:

► Introduced into an event processing system by an event consumer.

► Generated as a result of event that takes place inside an event processing


system. (Page 11)

► Introduced into an event processing system by an event producer.

► A set of associated events.

Which of the following is an occurrence within a particular system or domain?

► Object

Page 5 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Event (Page 7)

► Result

► Message

_____________ is an entity that receives events from the system.

► Event Producer

► Event Consumer (Page 11)

► Event Channel

► Event Generator

Which statement is True?

► A "catch" block always executes whether or not an exception is thrown and


whether or not the "try" block runs to completion.

► A "finally" block executes only, when an exception is thrown and when the
"try" block runs to completion.

► 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.

► A "finally" block always executes whether or not an exception is thrown


and whether or not the "try" block runs to completion. Click here 4 detail

Attributes of a program can be queried at run time through ____________.

Page 6 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Reflection (Page 41, for more detail)

► Value

► Reference

► Extension

During the program execution, program can be stopped with the help of
____________.

► Attributes

► Compiler

► Exception Handling

► Breakpoints (Page 47)

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 (Page 8)

Clean room design is useful as a defense against _____________.

► Copyright
Page 7 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Trade secret infringement

► Copyright and trade secret infringement (Page 13)

► None of the given options

The result of Exception can bring __________ in the program.

► Reliability

► Stability

► Inconsistency (Page 40)

► Consistency

___________ method reads the whole document in memory.

► XmlDocument (Page 48)

► XmlLine

► XPath

► XmlReader

The __________ in the namespace indicate a hierarchy of nested namespaces.

► Arrows

► Dots

► Semicolon

Page 8 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Brackets (Page 22)

If we run the program from within Visual Studio, the console window
disappears quickly so we can use ________________ to keep screen from going
away.

► Console.ReadLine() (Page 15)

► Console.WriteLine()

► Console.Title

► Console.Clear

Which of the following is an entity that introduces event into the system?

► Event Channel

► Event Stream

► Event Consumer

► Event Producer (Page 11)

At the time an event is fired, the _____________ methods will be invoked.

► Registered Click here 4 detail

► Public

► Static

► Unregistered
Page 9 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

The easiest way to declare an event is to put the event keyword in front of a
________ member.

► Interface

► Delegate Click here 4 detail

► Class

► Struct

Which of the following does NOT include in event processing operations?

► Deleting Events

► Reading Events

► Terminating Events (Page 8)

► Transforming Events

C# is a _________ and .NET is a _________.

► Platform, Language

► Package, Language

► Language, Package

► Language platform (Page 13)

Anonymous methods _________________ the code size.

Page 10 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Double

► Expand

► Reduce (Page 46)

► Extend

A class can inherit from ___________class/classes.

► Two

► Single Click here 4 detail

► Three

► Multiple

Which of the following events may or may not relate to an actual occurrence?

► Probabilistic Events (Page 7)

► Actual Events

► Real Events

► Expected Events

Which of the following statements is TRUE about raw event?

► It is introduced into an event processing system by an event producer.


(Page 11)

Page 11 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► 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.

A method performs an action in a series of statements, called a


______________.

► Code Block

► Method Block

► Routine Block

► Statement Block Click here for detail

The System.Console is a ___________ which enables us to do Console Input and


Output.

► Structure

► Class (Page 14)

► Namespace

► Library

Events are based on the principle of ____________.

► Request

► Response
Page 12 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Coupling

► Decoupling (Page 10)

In event-driven architecture (EDA), _______________ sends event to


_________.

► Event Consumer, Event Producer

► Event Producer, Event Consumer (Page 10)

► Event Handler, Event Producer

► Event Generator, Event Producer

XML is a stricter version of ____________.

► Java

► CSS

► HTML (Page 47)

► C#

Extension methods __________ access the private data members of the class in
which they are extended.

► May

► Cannot

► May not
Page 13 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Can

BAML is compressed representation of _________.

► CAML:NS

► XAML (Page 71)

► XAML:NS

► CAML

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 __________.

► Parent object instance (Page 68)

► Interface object instance

► none

► Child object instance

IsNumeric(string s) is a function of ______________ class.

► Math class

► Program class

► String class

Page 14 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► MyUtills class (Page 53)

XAML specification defines rules that map ".NET" namespaces, types,


properties, and events into _________. I) XML namespaces II) XML elements III)
XML Attributes

► (I) Only

► (II) Only

► (I), (II) and (III) only (Page 63)

► (III) Only

Visual 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!

► Propdp (Page 77)

► Property extension

► Dpprop

► Dependency property

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 (Page 83)

Page 15 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► none

► HeightMinimum

► MinimumHeight

WPF element in "DockPanel" has property "dock". There is/are __________


possible value(s) of "dock" property.

► two

► three

► four (Page 93)

► one

WPF4 was released in

► 2012

► 2010 Click here for detail

► 2005

► 2003

_________ allows to keep the user interface description and implementation


separate.

► GDI

► WPF (Page 61)


Page 16 of 17
For more papers, go to VUInsider.com
FOR MORE PAPERS, GO TO VUINSIDER.COM

CS411 Mid Term

► Avalon

► Altia

We want the width of button should cover the whole width of StackPanel in
WPF then what should be value of HorizontalAlignment property of button?

► Parent

► Whole

► Fill

► Stretch (Page 97)

Page 17 of 17
For more papers, go to VUInsider.com

You might also like