CS411 Final Term Solved Subjective Set 3 by Junaid
- Type
- Final term past paper
- Course
- CS411 Visual Programming
- Size
- PDF 1.6 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 66. Download the file for all 66 pages.
Q1. Which event combines information from independent touch devices updating simultaneously and package data inan easy-to-consume form?
Answer: startupdatinglocation and stopupdatinglocation
Q2. when we set filter property to null, what will
happen?
To undo filtering, you can set the Filter property to null: Nothing will happen Filer:{category:null}
Q3. Selectors and declarations are two blocks of which website layer?
Answer: A CSS rule set consists of a selector and a declaration block: H1 {color:blue; font-size:12px;} H1 is selector The selector points to the HTML element you want to style. The declaration block contains one or more declarations separated by semicolons. Each declaration includes a property name and a value, separated by a colon.
Q4. Write syntax to create instance of XMLHttpRequest?
Answer: Xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET","ajax_info.tx t",true); xmlhttp
Q5. How you refresh current page in WPF Navigation based application?
Answer: This.navigationservice. Refresh();
Q6. Name and Explain two categories of binary’s resources?
Answer: Resource: embed resources into the assembly Content: This leaves resources as loose files and upon compilation this resource information is notembedded into assembly
Q7. Enlist three benefits of ObjData Provider?
Answer: By utilizing the XML or Object data providers, we can bind to different types of objects inour applications ObjectDataProvider provides a convenient way to create and use objects as binding source objects inXAML ObjectDataProvider enables you to create your object in XAML and make it available as a binding source. It provides the following properties that enable you to execute a query on your object and bindto the results. Use the ConstructorParameters property to pass parameters to the constructor of your object. Use the MethodName property to call a method and use the MethodParameters property to passparameters to the method. You can then bind to the results of the method.
Q8. Ajax is interaction of which type of technologies?
Answer: Ajax interactions can be used to do things such as validate form entries (while the user is enteringthem) using server-side logic, retrieve detailed data from the server, dynamically update data on apage, and submit partial forms from the page.
Q9. Describe purpose of using navigation in page in one line? And how we perform navigation?
Answer: Navigation means managing the current item, not the other kind of nav. navigation in threemain ways: Calling the Navigate method, Using Hyperlinks, Using the journal.
Q10. Write Output:
msbuild/t:updateuidProjectName.csProj LocBaml/parseProjectName_g_en_US.resources/ out:-US-csvAnswer: msbuild /t:updateuid ProjectName.csproj running this gives every object element in every XAML file in the project on x:Uid directive with aunique value and LocBaml /parse ProjectName.g.en-US.resources /out:en-US.csv this generate a simple .csv file containing all the property values you should need to localize
Q11. When browser sends request to web server, in which formats server sends back information toweb server? Give 4 examples?
Answer: Web servers receive request and responds as Html, plain text and XML, JSON
Q12. Ali wants to bind the entire set of XML data to Tree n Menue write
the code?
Answer: Text="{Binding Source={x:Reference treeview}, Path=selecteditem. Header}" <xmldataprovider x:Key="dataprovider" xpath="gamestats"> If you want to bind to xml tree.
<xmldataprovider x:Key="dataprovider" xpath="gamestats" Source="gamestats.xml"/> < Label Content="{Binding Source={staticresource dataprovider},Xpath=gamestat/highscore, Path=outerxml}"/>
Q13. How to localize binary resource. Write code.
Answer: localizing binary resources. Can partition into satellite assembly and use locbaml to managestring localization. To spec. A default culture and auto. Build a satellite assembly, you can to set uiculture. Need to open project file in a text ed. Add under debug, release etc. Or where it effects all prop. If you rebuild your project with this setting in place, youll find an en-US folder alongside yourassembly, containing the satellite assembly named assemblyname.resources.dll. Also mark assemblywith the neutral resource language matching. < Project > <propertygroup> <uiculture>en-US</uiculture> [assembly: neutralresourceslanguage("en-US", Ultimateresourcefallbacklocation.S atellite)] Next, apply Uid directive to any element needing localization. Msbuild /t:updateuid projectname.csproj. Locbaml /parse projectname.g.en-US.resources /out:en-US.csv. Now edit and localize all strings. Locbaml /generate Project-Name.resources.dll /trans:fr-CA.csv /cul:fr-CA. Thencopy the assembly with a name matching the locale. To test, System. Threading. Thread.currentthread.currentuiculture (and System. Threading. Thread.currentthread.currentculture) to an instance of the desired
Related CS411 files
All CS411 files →- CS411 Final Term Short Notes Final term PDF 1.6 MB
- CS411 Final Term Solved MCQs with References by Arslan Arshad Final term PDF 1.7 MB
- CS411 Final Term Solved Subjective Set 2 by Junaid Final term PDF 1.8 MB
- CS411 Final Term Solved MCQs by Junaid Final term PDF 1.2 MB
- CS411 Highlighted Handouts by Sawera Ch Highlighted PDF 13.6 MB
- CS411 Quiz 4 Set 2 by VU Topper RM Quiz PDF 594 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.