CURRENT MIDTERM TODAY S CS411 PAPERS SOLVED BY ZAIN NASAR

Similar documents
CS411 Visual Programming Mid-Term

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

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

SHAPES & TRANSFORMS. Chapter 12 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ.

CHAPTER 1: INTRODUCING C# 3

CSC Website Design, Spring CSS Flexible Box

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

Windows Presentation Foundation. Jim Fawcett CSE687 Object Oriented Design Spring 2018

Client-Side Web Technologies. CSS Part II

FINALTERM EXAMINATION Fall 2009 CS301- Data Structures Question No: 1 ( Marks: 1 ) - Please choose one The data of the problem is of 2GB and the hard

STYLES AND BEHAVIORS

Fundamentals of Web Technologies. Agenda: CSS Layout (Box Model) CSS Layout: Box Model. All HTML elements can be considered as a box or a container

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Microsoft CSharp

BIM222 Internet Programming

ADOBE 9A Adobe Dreamweaver CS4 ACE.

Documentation of the UJAC print module's XML tag set.

CSS Selectors. element selectors. .class selectors. #id selectors

Introduction p. 1 Who Should Read This Book? p. 2 Software Requirements p. 3 Code Examples p. 3 How This Book Is Organized p. 4 Conventions Used in

COMS 359: Interactive Media

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

door to my garden Simple CSS resulting in impressive, sophisticated visual effects

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

USER GUIDE. MADCAP FLARE 2017 r3. QR Codes

XAML - BUTTON. The Button class represents the most basic type of button control. The hierarchical inheritance of Button class is as follows

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2

Apex TG India Pvt. Ltd.

Block & Inline Elements

Class 3 Page 1. Using DW tools to learn CSS. Intro to Web Design using Dreamweaver (VBUS 010) Instructor: Robert Lee

CS 162, Lecture 25: Exam II Review. 30 May 2018

10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010

Practical WPF. Learn by Working Professionals

INFORMATICS LABORATORY WORK #2

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY ACADEMIC YEAR (ODD SEM)

Programming Abstractions

Introduction to WEB PROGRAMMING

Microsoft MB Microsoft CRM Extending MS CRM 1.2 with.net.

CSS. Shan-Hung Wu CS, NTHU

First Name Last Name CS-081 March 23, 2010 Midterm Exam

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

10266 Programming in C Sharp with Microsoft Visual Studio 2010

Multiple Choice: 2 pts each CS-3020 Exam #3 (CH16-CH21) FORM: EX03:P

ComponentOne. HyperPanel for WPF

Graduating to Grid. An Event Apart Orlando

P3e REPORT WRITER CREATING A BLANK REPORT

L E S S O N 2 Background

Using CSS for page layout

Table Basics. The structure of an table

Solutions for Transformations of Functions

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Mobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 09

Topics. Java arrays. Definition. Data Structures and Information Systems Part 1: Data Structures. Lecture 3: Arrays (1)

CHAPTER 1: INTRODUCTION TO THE IDE 3

Algebra II Notes Transformations Unit 1.1. Math Background

Certified CSS Designer VS-1028

CSS Handout. CS 4173 Summer about 70 more properties includes all of CSS1 includes properties for non-screen presentation

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

I. Function Characteristics

Excel Tutorial 1: Getting Started with Excel

Chapter 1. Getting to Know Illustrator

Here(is(the(XML(Schema(that(describes(the(format:

DOWNLOAD PDF LINKED LIST PROGRAMS IN DATA STRUCTURE

Introduction to C++/CLI 3. What C++/CLI can do for you 6 The rationale behind the new syntax Hello World in C++/CLI 13

.Net Technologies. Components of.net Framework

Programming in C# with Microsoft Visual Studio 2010

Assignments (4) Assessment as per Schedule (2)

Web Design and Implementation

ADOBE 9A Adobe(R) Flex 3 with AIR. Download Full Version :

Quick Reference Card Business Objects Toolbar Design Mode

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Coding Faster: Getting More Productive with Microsoft Visual

Stamina Software Pty Ltd. TRAINING MANUAL Viságe Reporter

1 THE PNP BASIC COMPUTER ESSENTIALS e-learning (MS Excel 2007)

9. Heap : Priority Queue

Index. object lifetimes, and ownership, use after change by an alias errors, use after drop errors, BTreeMap, 309

Working with Tables in Word 2010

Creating Layouts Using CSS. Lesson 9

Lesson #6: Basic Transformations with the Absolute Value Function

20483BC: Programming in C#

CS445 Week 9: Lecture

Dreamweaver CS4. Introduction. References :

ENCAPSULATION. private, public, scope and visibility rules. packages and package level access.

Introducing Motif. Motif User s Guide 1

FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar

In this section you will learn some simple data entry, editing, formatting techniques and some simple formulae. Contents

Sri Vidya College of Engineering & Technology

Windows Presentation Foundation Programming Using C#

SCRIPT.ACULO.US - DRAG & DROP

Introduction To C#.NET

JSN Sun Framework User's Guide

JavaFX Technology Building GUI Applications With JavaFX - Tutorial Overview

Introduction to HTML & CSS. Instructor: Beck Johnson Week 5

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Event Dispatch. Interactor Tree Lightweight vs. Heavyweight Positional Dispatch Focus Dispatch. 2.4 Event Dispatch 1

DEPARTMENT OF INFORMATION TECHNOLOGY

CSS: Lists, Tables and the Box Model

What is Publisher, anyway?

Transcription:

CURRENT MIDTERM TODAY S CS411 PAPERS SOLVED BY ZAIN NASAR 1. Every is represented by an event-object. Information Entity Object Event page10 2. Which statement is True about interfaces? An interface can contain only methods, variables, events, and indexers. An interface can contain only variables, properties, events, and indexers. An interface can contain only methods, properties, variables, and indexers. An interface can contain only methods, properties, events, and indexers. Page 40 3. Which one is the correct syntax for declaring attribute? [Obsolete] page 48 {Obsolete} (Obsolete) *Obsolete 4. An "object" element can have type/s of children. Four Three Page 73 Two One 5 allows to keep the user interface description and implementation separate. 1) GDI 2) WPF (Page#61) 3) Avalon 4) Altia 6. There is/are type(s) of padding in WPF element.

One Two Three page 91 Four 7. Which of the following is not a feature of "C#"? Operator overloading is not allowed. Page 17 Multiple Inheritances is not supported but interfaces are supported. Enumeration members are scoped. Global variables or functions are not allowed. 8. Stylus can behave like a but has resolution. Keyboard, lower Mouse, lower Mouse, higher page 122 Keyboard, higher 9. Attributes are declared the class/function. Within After Above Outside 10. 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 =. Fill page 109 UniformToFill Uniform 11.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 12.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 13.Multiple are conventionally stored in multiple files. Functions Values Variables Classes (Page#22) 14. "Situation" is an event occurrence that requires a (n). Reaction page 10 Class Object Action 15. 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". Less than Greater than Equal to No need to give value of ZIndex of b1 page99 Events can be. Specialized

All of the given options page 15 Composed Generalized Wpf 3.5 released in 2005 2006 2008 2009 The corresponding type converter class for Brush class will be. BrushConverter CastBrush BrushCast None of the given options Which "transform" property can help us to flip the element from its center? ScaleY None of given options ScaleX RenderTransformOrigin page 126 CLI stands for. Compact Language Infrastructure Common Language Infrastructure page18 Console Language Infrastructure Control Language Infrastructure The elements in a/an are always stored in a contiguous block of memory.

Tree Array Variable Struct The statement iterates over each element in an "enumerable" object. Foreach page 191 Dowhile While For 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 =. 1 Fill page 109 UniformToFill Uniform We are checking that whether an element is eligible for focus or not, which property will help us in this testing? Focus IsFocus IsFocusable Focusable page 121 Directory is the class of. System.Collections.Generic System.Reflection

System.Text System.IO Q: how ali will make xaml document name?write the sythnx? Kuch asa tha. 2marks Q:Why most WPF classes are inherently thread-unsafe? Ans: Most WPF classes derive from dispatcherobject and are therefore inherently thread-unsafe. The Dispatcher part of the name refers to wpfs version of a Win32-like message loop, Q:Name the properties supported by the ScaleTransform also write its default values of each of Them? ScaleTransform ScaleTransform enlarges or shrinks an element horizontally, vertically, or in both directions. This transform has four straightforward double properties:. ScaleX Multiplier for the element s width (default value = 1). ScaleY Multiplier for the element s height (default value = 1). CenterX Origin for horizontal scaling (default value = 0). CenterY Origin for vertical scaling (default value = 0) <Button.RenderTransform> <ScaleTransform ScaleX="2" ScaleY="2"/> </Button.RenderTransform> Q:Consider the following code snippet and write the output: XmlDocument xmldoc = new XmlDocument(); xmldoc.loadxml("<uni name=\'virtual\"> university Node</uni."); console.writeline(xmldoc.documentelement.name); console.writeline(xmldoc.documentelement.innertext); console.readline();

ANS: Element Name: Virtual Inner Text: University Node Q:What we achive from ZIndex codes? ZIndex is an integer with a default value of 0 that you can set to any number (positive or negative). Elements with larger ZIndex values are rendered on top of elements with smaller ZIndex values, so the element with the smallest value is in the back, and the element with the largest value is in the front. Difference b/w Margin and padding??? 5 marks ka tha. Margin and Padding Margin and Padding are two very similar properties that are also related to an element s size. All FrameworkElements have a Margin property, and all Controls (plus Border) have a Padding property. Their only difference is that Margin controls how much extra space gets placed around the outside edges of the element, whereas Padding controls how much extra space gets placed around the inside edges of the element. Both Margin and Padding are of type System.Windows.Thickness, an interesting class that can represent one, two, or four double values. The meaning of these values is demonstrated in Listing 4.1, which applies various Padding and Margin settings to Label controls. The second set of Labels is wrapped in Borders because the margin settings would not be noticeable otherwise. Figure 4.2 shows the rendered result for each Label if each one is individually placed in a Canvas (a panel covered in the next chapter). Although not shown in this figure, Margin permits negative values. Padding does not. Q:1 Dock panel may fill k option nahi hoty tu ager hum ko fill karna ha tu kia option use karygay2 marks ka tha. We will set Background = Red Q:2 How many children an object can have, name them (3 marks) ANS:An object element can have three types of children : 1. A value for a content property, 2. Collection items 3. A Value that can be type-converted to the object element. Q:3 which functionality is actually a super set of stack panel functionality.(3 marks) ANS: Stack Panel is popular, simple, useful, stacks sequentially. It is one of the few panels that dont

even define an attached property. Orientation can be horizontal or vertical (which is default). Default horizontal direction is basedon flowdirection Q:5 default value btani thi Max height Min Height Max width R Minm Width (5 marks)