Question No: 1 (Marks: 1) - Please choose one is an occurrence within a particular system or domain. Function Event (Page#7) Information Transaction

Similar documents
CS411 QUIZ # and 2015 From (1 to 10) Lectures

CURRENT MIDTERM TODAY S CS411 PAPERS SOLVED BY ZAIN NASAR

Question No: 1 ( Marks: 1 ) - Please choose one One difference LISP and PROLOG is. AI Puzzle Game All f the given

CHAPTER 1: INTRODUCING C# 3

CS411 Visual Programming Mid-Term

Chapter 1 Getting Started

Programming in Visual Basic with Microsoft Visual Studio 2010

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led

Object-Oriented Programming

Get Unique study materials from

Programming in C# with Microsoft Visual Studio 2010

Short Notes of CS201

CS201 - Introduction to Programming Glossary By

20483BC: Programming in C#

Learning C# 3.0. Jesse Liberty and Brian MacDonald O'REILLY. Beijing Cambridge Farnham Köln Sebastopol Taipei Tokyo

Note: many examples in this section taken or adapted from Pro WPF 4.5 C#, Matthew MacDonald, apress, 2012, pp

Introduce C# as Object Oriented programming language. Explain, tokens,

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

C# Programming: From Problem Analysis to Program Design. Fourth Edition

10266 Programming in C Sharp with Microsoft Visual Studio 2010

DOT NET Syllabus (6 Months)

CS411 VISUAL PROGRAMMING

Microsoft. Microsoft Visual C# Step by Step. John Sharp

OOPs Concepts. 1. Data Hiding 2. Encapsulation 3. Abstraction 4. Is-A Relationship 5. Method Signature 6. Polymorphism 7. Constructors 8.

CS201 Latest Solved MCQs

OOPS Viva Questions. Object is termed as an instance of a class, and it has its own state, behavior and identity.

C++ Important Questions with Answers

MCSA Universal Windows Platform. A Success Guide to Prepare- Programming in C# edusum.com

Absolute C++ Walter Savitch

Graphical Interface and Application (I3305) Semester: 1 Academic Year: 2017/2018 Dr Antoun Yaacoub

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

"Charting the Course... MOC Programming in C# with Microsoft Visual Studio Course Summary

COPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio

C++\CLI. Jim Fawcett CSE687-OnLine Object Oriented Design Summer 2017

What are the characteristics of Object Oriented programming language?

LAYOUT. Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon

explicit class and default definitions revision of SC22/WG21/N1582 =

Microsoft Visual C# Step by Step. John Sharp

MARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Midterm #2 Examination 12:30 noon, Thursday, March 15, 2012

Programming in C# (20483)

Hierarchical inheritance: Contains one base class and multiple derived classes of the same base class.

DOT NET SYLLABUS FOR 6 MONTHS

CGS 2405 Advanced Programming with C++ Course Justification

Introduction To C#.NET

1 Shyam sir JAVA Notes

Programming in C# for Experienced Programmers

C# 6.0 in a nutshell / Joseph Albahari & Ben Albahari. 6th ed. Beijin [etc.], cop Spis treści

JAYARAM COLLEGE OF ENGINEERING AND TECHNOLOGY Pagalavadi, Tiruchirappalli (An approved by AICTE and Affiliated to Anna University)

Instantiation of Template class

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Quiz Start Time: 09:34 PM Time Left 82 sec(s)

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

Preface to the Second Edition Preface to the First Edition Brief Contents Introduction to C++ p. 1 A Review of Structures p.

Object-Oriented Programming in C# (VS 2015)

Fast Introduction to Object Oriented Programming and C++

Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual

VALLIAMMAI ENGINEERING COLLEGE

Introduction to C++ with content from

OBJECT ORİENTATİON ENCAPSULATİON

CS3157: Advanced Programming. Outline

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

This module reviews the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger.

Course Hours

MaanavaN.Com CS1203 OBJECT ORIENTED PROGRAMMING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

EXAM Microsoft MTA Software Development Fundamentals. Buy Full Product.

Introduction to Programming Using Java (98-388)

Jayaram college of Engineering and Technology, Pagalavadi. CS2203 Object Oriented Programming Question Bank Prepared By: S.Gopalakrishnan, Lecturer/IT

D Programming Language

CMSC 202 Section 010x Spring Justin Martineau, Tuesday 11:30am

Appendix. Grammar. A.1 Introduction. A.2 Keywords. There is no worse danger for a teacher than to teach words instead of things.

Programming in C#

DC69 C# &.NET DEC 2015

Ch. 10: Name Control

I BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions.

Object-Oriented Programming in C# (VS 2012)

STRUCTURING OF PROGRAM

Class definition. complete definition. public public class abstract no instance can be created final class cannot be extended

Tokens, Expressions and Control Structures

CS201 Some Important Definitions

Windows Presentation Foundation Programming Using C#

Object oriented programming. Encapsulation. Polymorphism. Inheritance OOP

.NET-6Weeks Project Based Training

Microsoft Visual Studio 2010

CLASSES AND OBJECTS IN JAVA

Introduction to C++ Introduction. Structure of a C++ Program. Structure of a C++ Program. C++ widely-used general-purpose programming language

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

Compaq Interview Questions And Answers

Data Structures (list, dictionary, tuples, sets, strings)

CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011. MIDTERM EXAMINATION Spring 2010

Interview Questions of C++

"Charting the Course to Your Success!" MOC B Programming in C# Course Summary

Oops known as object-oriented programming language system is the main feature of C# which further support the major features of oops including:

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.

B.E /B.TECH DEGREE EXAMINATIONS,

CS Programming In C

Mastering VB.NET using Visual Studio 2010 Course Length: 5 days Price: $2,500

Object Oriented Programming. Solved MCQs - Part 2

Introduction to C++ Systems Programming

Cpt S 122 Data Structures. Introduction to C++ Part II

For Teacher's Use Only Q No Total Q No Q No

Transcription:

MUHAMMAD FAISAL MIT 4 th Semester Al-Barq Campus (VGJW01) Gujranwala faisalgrw123@gmail.com Solved Reference MCQ s for Mid Term Papers CS411 VISUAL PROGRAMMING Question No: 1 (Marks: 1) - Please choose one is an occurrence within a particular system or domain. Function Event (Page#7) Information Transaction Question No: 2 (Marks: 1) BAML stands for: - Please choose one binary application map language binary application markup linkage binary application markup language binary application map linkage (Page#69)

Question No: 3 (Marks: 1) - Please choose one Which is the right syntax to define an interface? Interface imyinterface { Void methodtoimplement(); } Interface imyinterface { Void methodtoimplement } Interface imyinterface { Void implement(); } Interface imyinterface { Void method(); } Interfaces can also be inherited. Question No: 4 (Marks: 1) - Please choose one If we want to place a component at top in "dockpanel" then which one is correct syntax? PanelDock="Top" Dock="Top" DockPanel.Dock="Top" (Page#93) DockPanel="Top

Question No: 5 (Marks: 1) - Please choose one Dock panel allows easy docking of elements to an entire side. (Page#91) False Question No: 6 (Marks: 1) - Please choose one processing operations include reading, creating, transforming, and deleting events. Observed Events Common event (Page#8) Deducted Events Probabilistic Events Question No: 7 (Marks: 1) - Please choose one The in the namespace indicate a hierarchy of nested namespaces. Arrows Dots Semicolon Brackets (Page#22) Question No: 8 (Marks: 1) - Please choose one The interface forces each component to expose specific members that will be used in a certain way. Public (Page#35) Private Both of above None of the given

Question No: 9 (Marks: 1) - Please choose one Static ctor exists to initialize class static members and called only. Once (Page#23) Twice Anytime All of the given Question No: 10 (Marks: 1) Interfaces define a contract. - Please choose one False (Page#35) Question No: 11 (Marks: 1) - Please choose one Additional XML namespaces (on the root or on children) must be to be used on any identifiers from that namespace. Given a common prefix Qualified with Pre keyword Given a distinct prefix (Page#63) Qualified with Ext keyword Question No: 12 (Marks: 1) - Please choose one 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)

Question No: 13 (Marks: 1) - Please choose one The root object element in XAML must specify at least XML namespace that is used to qualify itself and any child elements. one two three five (Page#63) Question No: 14 (Marks: 1) - Please choose one In event-driven architecture (EDA), sends event to. Event Consumer, Event Producer Event Producer, Event Consumer Event Handler, Event Producer Event Generator, Event Producer (Page#10) Question No: 15 (Marks: 1) - Please choose one Auto-implemented properties do not allow simplified syntax. False (Page#30) Question No: 16 (Marks: 1) - Please choose one Clean room design is useful as a defense against. Copyright Trade secret infringement Copyright and trade secret infringement None of the given options (Page#13)

Question No: 17 (Marks: 1) - Please choose one The result of Exception can bring in the program. 1) Reliability 2) Stability 3) Inconsistency (Page#40) 4) Consistency Question No: 18 (Marks: 1) - Please choose one The initial name for C# was. 1) COAL 2) COOP 3) COAP 4) COOL (Page#13) Question No: 19 (Marks: 1) - Please choose one Events may live events like in event logs. 1) Inside 2) Outside (Page#10) 3) Both of above 4) None of the given Question No: 20 (Marks: 1) - Please choose one If we run the program from within Visual Studio, the console window disappears quickly so we can use to keep screen from going away. 1) Console.ReadLine() (Page#15) 2) Console.WriteLine() 3) Console.Title 4) Console.Clear

Question No: 21 (Marks: 1) - Please choose one Types of class members in C# are and. 1) static, instance 2) instance, static (Page#22) 3) public, private 4) static, private Question No: 22 (Marks: 1) - Please choose one Mapping to the WPF namespaces is in-side the WPF assemblies. 1) Specified at compile time 2) Hard-coded (Page#63) 3) None of the given 4) Dynamically specified Question No: 23 (Marks: 1) - Please choose one Polymorphism needs the signatures to be the. 1) Different 2) Same (Page#25) 3) Alternative 4) None of the given Question No: 24 (Marks: 1) - Please choose one The code given below is equivalent to. <SolidColorBrush>White</SolidColorBrush> <WhiteBrush >MyWhiteBrush </ WhiteBrush> <SolidColorBrush Color="White"/> (Page#65) <Brush Style= SolidWhite > None of the given options

Question No: 25 (Marks: 1) - Please choose one An indexer enables your class to be treated like a/an. 1) Class 2) Function 3) Array (Page#30) 4) Pointer Question No: 26 (Marks: 1) - Please choose one allows to keep the user interface description and implementation separate. 1) GDI 2) WPF (Page#61) 3) Avalon 4) Altia Question No: 27 (Marks: 1) - Please choose one Reference types hold a reference to an object in memory. False (Page#33) Question No: 28 (Marks: 1) - Please choose one Attributes of a program can be queried at run time through. 1) Reflection (Page#41) 2) Value 3) Reference 4) Extension

Question No: 29 (Marks: 1) - Please choose one Object variables are references to the object not the object themselves. 1) Original (Page#20) 2) Alternative 3) Primary 4) None of the given Question No: 30 (Marks: 1) - Please choose one During the program execution, program can be stopped with the help of. 1) Attributes 2) Compiler 3) Exception Handling 4) Breakpoints (Page#47) Question No: 31 (Marks: 1) - Please choose one Console class can reside in multiple libraries. (Page#21) False Question No: 32 (Marks: 1) - Please choose one Which of the following is built from request-response? 1) Event-processing Architecture (EDA) 2) Service-driven Architecture (SDA) 3) Service-oriented Architecture (SOA) (Page#11) 4) Event-bas Architecture (EBA)

Question No: 33 (Marks: 1) - Please choose one is built from request-response and it moves away from monolithic applications. 1) Event-driven architecture (EDA) 2) Service-oriented architecture (SOA) (Page#10) 3) Both of above 4) None of the given option Question No: 34 (Marks: 1) - Please choose one 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. 1) Parent object instance (Page#68) 2) Interface object instance 3) Child object instance 4) None of the above Question No: 35 (Marks: 1) - Please choose one It is always possible to create an instance of a reference type. False (Page#14) Question No: 36 (Marks: 1) - Please choose one 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! 1) Propdp (Page#77) 2) Property extension 3) Dpprop 4) Dependency property

Question No: 37 (Marks: 1) CLI stands for: - Please choose one Common Language Interface Common Language Instruction Common Language Infrastructure (Page#14) Common Language Iteration Question No: 38 (Marks: 1) - Please choose one If we want to move an object in the 2-D x-y coordinate system then which transform class will be used? Translate Transform (Page#89) Skew Transform Skew Transform Rotate Transform Question No: 39 (Marks: 1) - Please choose one events may or may not relate to an actual occurrence. Observed Events Deducted Events Probabilistic Events (Page#7) None of the above Question No: 40 (Marks: 1) - Please choose one 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: <Button xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation Content="OK"/> <Button xmlns= OK Content="http://schemas.microsoft.com/winfx/2006/xaml/presentation "/> <Button xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation Event="OK"/> <Button xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Call="OK"/> (Page#63)

Question No: 41 (Marks: 1) - Please choose one is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events. Event Producer Raw Event Event Processing (Page#11) Event Stream Question No: 42 (Marks: 1) - Please choose one FrameworkElement is the base class that adds support for. Some common mechanisms for Windows-based controls Data binding Styles All of the given options (Page#73) Question No: 43 (Marks: 1) - Please choose one is basically array of arrays. Stack Pointer Jagged (Page#18) Function Question No: 44 (Marks: 1) - Please choose one The using directive can be used to rename a long namespace in the current file. (Page#21) False

Question No: 45 (Marks: 1) - Please choose one Derived class is exactly the same as base. False (Page#24) Question No: 46 (Marks: 1) - Please choose one Cast back to base type to call a/an method of base. Instance Base Class Derived Class Overridden (Page#24) Question No: 47 (Marks: 1) - Please choose one Clean room design is also called. Clear Room Design Wall Technique Design (Page#13) Chinese Wall Technique French Wall Technique Question No: 48 (Marks: 1) - Please choose one invoke derived class methods through base class reference during run-time. Abstraction Polymorphism (Page#24) Composition Association

Question No: 49 (Marks: 1) - Please choose one are inherited by classes which provide the real implementation. Functions Variables Interfaces (Page#35) Objects Question No: 50 (Marks: 1) Cool stands for. - Please choose one Class Oriented Object Language Consumer Oriented Object Language C-like Object Oriented Language C++-like Object Oriented Language (Page#13) Question No: 51 (Marks: 1) - Please choose one An object initializer is a syntax for initializing a struct without using a ctor. False (Page#35) Question No: 52 (Marks: 1) - Please choose one Attributes add to year program. Clearance Errors Meta Data (Page#40) Ambiguity

Question No: 53 (Marks: 1) - Please choose one Enum of one type may not be assigned to an enum of another type. Implicitly (Page#43) Explicitly Both of above None of the given Question No: 54 (Marks: 1) - Please choose one Wait for a single event is operation. Waiting Waste Idle Blocking (Page#8) Question No: 55 (Marks: 1) - Please choose one Default value of first member is. 0 (Page#44) 1 2 3 Question No: 56 (Marks: 1) - Please choose one Namespaces do not allow name reuse. False (Page#21)

Question No: 57 (Marks: 1) - Please choose one Indexers can take any number of. Arrays Variables Parameters All of these (Page#31) Question No: 58 (Marks: 1) Derived Event is: - Please choose one Introduced into an event processing system by an event consumer. Generated as a result of event that takes place inside an event processing system. Introduced into an event processing system by an event producer. A set of associated events. (Page#11) Question No: 59 (Marks: 1) - Please choose one is a static class in the System namespace. Console (Page#15) Pointer Variable Function Question No: 60 (Marks: 1) - Please choose one is an entity that receives events from the system. Event Producer Event Consumer Event Channel Event Generator (Page#11)

Question No: 61 (Marks: 1) - Please choose one Value-types hold their value in where they are declared. Variable Reference Memory Object (Page#33) Question No: 62 (Marks: 1) - Please choose one 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? Translate Transform Skew Transform Scale Transform None of the given (Page#87) Question No: 63 (Marks: 1) - Please choose one We can add constructors to a struct and can also overload the default ctor which initializes everything to default values. False (Page#34) Question No: 64 (Marks: 1) - Please choose one An initializer list can be used to use an alternate constructor. False (Page#22)

Question No: 65 (Marks: 1) - Please choose one C# event is a class member that is whenever the event it was designed for occurs (fires). Activated (Page#38) Deactivated Transformed Associated Question No: 66 (Marks: 1) - Please choose one Dependency properties are represented by. System.Windows.DependencyProperty System.Windows.Dependency.Property System.Windows.Dependency System.Windows.Property.Dependency (Page#77) Question No: 67 (Marks: 1) - Please choose one A single exception can be handled differently. False (Page#40) Question No: 68 (Marks: 1) - Please choose one 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 (III) Only (Page#63)

Question No: 69 (Marks: 1) WPF stands for: - Please choose one Windows Powerful Foundations Windows Presentation Formations Windows Presentation Foundations Windows Presentation Functions (Page#61) Question No: 70 (Marks: 1) - Please choose one Attribute parameters can be either positional parameters or named parameters. False (Page#43) Question No: 71 (Marks: 1) - Please choose one Which of the following statements is TRUE about 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. (Page#11) Question No: 72 (Marks: 1) - Please choose one Attributes can be used at design time by application development tools. False (Page#41)

Question No: 73 (Marks: 1) - Please choose one Windows Presentation Foundations (WPF) was publicly announced in. 2000 2001 2002 2003 (Page#61) Question No: 74 (Marks: 1) - Please choose one A delegate is a reference to a method. False (Page#37) Question No: 75 (Marks: 1) - Please choose one Syntax of struct and class are very. Similar Different Large Small (Page#33) Question No: 76 (Marks: 1) - Please choose one The System.Console is a which enables us to do Console Input and Output. Structure Class (Page#14) Namespace Library

Question No: 77 (Marks: 1) - Please choose one Events and work hand in hand. Parameters Delegates (Page#39) Functions Data Members Question No: 78 (Marks: 1) - Please choose one C# is a and.net is a. Platform, Language Package, Language Language, Package Language, platform (Page#13) Question No: 79 (Marks: 1) - Please choose one Named parameters come before positional parameters. False (Page#43) Question No: 80 (Marks: 1) - Please choose one Which of the following does NOT include in event processing operations? Deleting Events Reading Events Terminating Events (Page#8) Transforming Events

Question No: 81 (Marks: 1) Stathread is stand for: - Please choose one Single Threaded Attribute model Single Threaded Apartment model Single Threaded Authorized model Single Threaded Assumed model (Page#42) Question No: 82 (Marks: 1) Structs can not have destructors. - Please choose one False (Page#33) Question No: 83 (Marks: 1) - Please choose one Which of the following is an entity that introduces event into the system? Event Channel Event Stream Event Consumer Event Producer (Page#11) Question No: 84 (Marks: 1) - Please choose one Instances of value types do not have referential identity. False (Page#14)

Question No: 85 (Marks: 1) - Please choose one The this pointer in methods refers to the on which the method is called. Function Class Object Pointer (Page#20) Question No: 86 (Marks: 1) - Please choose one 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) Question No: 87 (Marks: 1) - Please choose one Ctor return any values and it initializes class members. False (Page#21) Question No: 88 (Marks: 1) - Please choose one processing is computing that performs operations on events. Transactional Functional Event (Page#8) All of these

Question No: 89 (Marks: 1) - Please choose one is an event that is introduced into an event processing system by an event producer. Event Producer Event Consumer Raw Event (Page#11) Event Stream Question No: 90 (Marks: 1) - Please choose one method reads the whole document in memory. XmlDocument (Page#48) XmlLine XPath XmlReader Question No: 91 (Marks: 1) - Please choose one Multiple are conventionally stored in multiple files. Functions Values Variables Classes (Page#22) Question No: 92 (Marks: 1) - Please choose one are algorithms that operate on data. Variables Functions Methods Classes (Page#37)

Question No: 93 (Marks: 1) - Please choose one are unique types that allow you to assign symbolic names to integral values. Structures Enumerations Typedefs Unions (Page#43) Question No: 94 (Marks: 1) - Please choose one The in the namespace indicate a hierarchy of nested namespaces. Arrows Dots Semicolon Brackets (Page#22) Question No: 95 (Marks: 1) - Please choose one Static ctor exists to initialize class static members and has many parameters. False (Page#23) Question No: 96 (Marks: 1) - Please choose one Anonymous methods the code size. Double Expand Reduce Extend (Page#46)

Question No: 97 (Marks: 1) - Please choose one Attributes are generally applied in front of type and type member declarations. Logically Physically (Page#42) Both of above None of given Question No: 98 (Marks: 1) - Please choose one let any classes behave like an array. Properties Fields Indexers Finalizers (Page#29) Question No: 99 (Marks: 1) - Please choose one Zero-based index is used in jagged arrays. False (Page#18) Question No: 100 (Marks: 1) - Please choose one event consumer is an entity at the edge of an event processing system that receives events from the system. Event Producer Event Consumer Event Stream None of the given (Page#11)

Question No: 101 (Marks: 1) - Please choose one are called by garbage collector. Constructors Destructors (Page#23) Both of above None of the given Question No: 102 (Marks: 1) - Please choose one Single Threaded Apartment model is used for communicating with unmanaged COM. False (Page#42) Question No: 103 (Marks: 1) - Please choose one types have the notion of referential identity. Value Reference (Page#14) Both of above None of the given Question No: 104 (Marks: 1) - Please choose one Which of the following is an occurrence within a particular system or domain? Object Event (Page#7) Result Message

Question No: 105 (Marks: 1) - Please choose one can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup. Functions Exception Abstraction All of these (Page#41) Question No: 106 (Marks: 1) - Please choose one Which of the following events may or may not relate to an actual occurrence? Probabilistic Events Actual Events Real Events Expected Events (Page#7) Question No: 107 (Marks: 1) - Please choose one Default underlying type of an enum is. int (Page#44) short long all of these Question No: 108 (Marks: 1) - Please choose one Anonymous method is a method without a name. False (Page#47)

Question No: 109 (Marks: 1) - Please choose one There are methods to read XML document. Two Three Four Five (Page#49) Question No: 110 (Marks: 1) - Please choose one out parameters which are not used for return values or the params argument for variable arguments. False (Page#20) Question No: 111 (Marks: 1) - Please choose one With the help of WPF, an ugly looking application can be by the designers. Rearranged Re-created Re-themed Rejected (Page#61) Question No: 112 (Marks: 1) - Please choose one is a base class similar to UIElement but for document-related pieces of content that don t have rendering behavior on their own. ContentElement VisualElement SystemElement XAMLElement (Page#73)

Question No: 113 (Marks: 1) - Please choose one The user interfaces, enabled by WPF, is getting a lot of attention. Loutish Polished Coarse Distracted (Page#61) Question No: 114 (Marks: 1) - Please choose one WPF element in "DockPanel" has property "dock". There is/are possible value(s) of "dock" property. one two three four (Page#93) Question No: 115 (Marks: 1) - Please choose one have already happened whereas are asking something to happen. Requests, Events Events, Requests Functions, Events Requests, Functions (Page#10) Question No: 116 (Marks: 1) - Please choose one The common type system of C# has types and types. Reference, Value Value, Reference Function, Data Data, Function (Page#14)

Question No: 117 (Marks: 1) - Please choose one operations are completed before the next operation can be started. Asynchronous Synchronous (Page#8) Both of the above None of the given option Question No: 118 (Marks: 1) - Please choose one IsNumeric(string s) is a function of class. Math class Program class String class MyUtills class (Page#53) Question No: 119 (Marks: 1) - Please choose one add declarative information to your programs. Attributes Functions Exception Objects (Page#41) Question No: 120 (Marks: 1) - Please choose one A compiled C# file is called. Complied File Source File Assembly File EXE File (Page#41)

Question No: 121 (Marks: 1) - Please choose one To delcare an anonymous method, you just use keyword. handler event delegate (Page#47) none of the given Question No: 122 (Marks: 1) - Please choose one Obsoleteattribute causes a warning to appear. compile-time (Page#41) run-time anytime none of the given Question No: 123 (Marks: 1) - Please choose one Event-based programming is also known as: Service-oriented architecture (SOA) Event-driven Architecture (EDA) Service-driven Architecture (SDA) Event-based Architecture (EBA) (Page#11) Question No: 124 (Marks: 1) - Please choose one All the members of interfaces are implicitly. Private Static Public Abstract (Page#34)

CS411 VISUAL PROGRAMMING Quizzes MCQ s 1) decouple producers and consumers. Requests Events (Page#10) Functions All of these 2) Markup extensions are invoked from with explicit and consistent syntax. C# HTML XAML (Page#65) None of the given 3) The base class will have the functionality of all derived classes Common Specialized Unique Different 4) All elements of WPF have following property/properties. Width None of given options Height and Width Height

5) WPF4 was released in: 2012 2010 2005 2003 6) There is no order requirement on named parameters. True False (Page#43) 7) Any class, including the same class that the event is declared in, may register one of its methods with the. Delegate Function Class Event (Page#39) 8) Using xmldocument, the order is required. True False (Page#50) 9) When the data is passed from one place to another in chunks, this data is called. Bits Line Byte Stream

10) Overloaded operators must be static and must be declared in the class for which the operator is defined. True False (Page#45) 11) A method performs an action in a series of statements, called a. Code Block Method Block Routine Block Statement Block 12) contacts the service provider or the server. Event-driven Service Requester (Page#10) Both of the above None of the given options 13) A class can inherit from class/classes. Two Single Three Multiple 14) Polymorphism works on the basis that child class should have feature/s of its parent class. Only one No Few All

15) A customer order can be represented as. Event Request Event or Request All of the given 16) XAML is a declarative programming language for creating and initializing objects. C# XAML (Page#62) HTML All of these 17) may contain events. Requests Service Messages (Page#10) Applications 18) reads entire document in memory. Xmldocuments Xmlreader Both of above None of the given (Page#49) 19) If we exclude the mechanism of calling the objects through name then: Code will not compile Code will be difficult to debug Code will have errors Code will become design dependent

20) Extension methods can only be defined in class. Dynamic class Normal class String class Static class 21 The method is used to read the whole file at once. ReadAllText( test.txt ); ReadAll(); Read( test.txt ); ReadLine(); 22 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. Super class Sub class Value (Page#68) Interface 23 Which of the following is/are not derived from Control class? ListBox StatusBar Both of above None of the given (Page#73) 24 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? HeightMinimum MinimumHeight MinHeight (Page#83) None of the given

25 BAML is compressed representation of. CAML:NS XAML (Page#71) XAML:NS CAML 26 Extension methods access the private data members of the class in which they are extended. May Cannot May not Can 27 XML is a stricter version of. Java CSS HTML C# (Page#47) 28 Events are based on the principle of. Request Response Coupling Decoupling (Page#10) 29 Graphical user interfaces and the event-driven model are not applied on which of the following? Web Applications Console Applications Mobile applications Desktop Applications

30 g++ is a command of. Dev C++ Unix based system Windows based system None of the given options 31 An event is a list of constants variable pointers delgates 32 The easiest way to declare an event is to put the event keyword in front of a member. Interface Delegate Class Struct 33 At the time an event is fired, the methods will be invoked. Registered Public Static Unregistered 34 Writing higher-level functions that call upon lower-level functions a program. Decode Harder Simplify Refactor

35 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. 36 methods do not have names. Attribute Anonymous (Page#46) None of given Non-Anonymous 37 To use kbhit() command, you need to include which header file in your program? fstream.h stdio.h iostream.h conio.h 38 The Main method returns a non-zero value which indicates the. Source of Program Error in Program Termination of Program Exception in Program

39 Types not defined in any namespace are said reside in the namespace. Local Static Virtual Global 40 Indexers are similar to properties, but are accessed via a/an rather than a property name. Index Argument Reference Pointer Integer Argument --------------------------------Wish U Best of L U C K for EXAMS -----------------------------