CS411currentSolvedByAwaisAshraf.pdf

Verified academic study resource for CS411 (Visual Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum spanning approximately 180 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS411 – Visual Programming
Faculty
Computer Science
Format
PDF
Type
MCQ Bank
Coverage
Full Course Curriculum

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

What this file covers — CS411 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS411currentSolvedByAwaisAshraf.pdf for free?

You can preview and download "CS411currentSolvedByAwaisAshraf.pdf" (CS411 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs411currentsolvedbyawaisashraf-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS411 file?

This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS411 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS411 solved past papers and handouts verified for 2026 exams?

Yes. All CS411 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

Current all solved paper By Awais Ashraf
         05 March To 16 March

It was my paper of cs411 today.
I am going to share all questions to you.
Total 52 questions, 4 questions of 2 marks , 4 of 3 marks and 4 of 5 marks. Remaining All were
Mcqs
....
2 mark questions:
Which event combines information from independent touch devices
updating simultaneously and package data in an easy-to-consume form?
A finger or fingers touches the screen - (void)touchesbegan:(nsset *)touches withevent:(uievent
*)event; a finger or fingers move across the screen (This message is sent repeatedly as a finger moves.) -
(void)touchesmoved:(nsset *)touches withevent:(uievent *)event;

when we set filter property to null, what will happen ?
Ans: it will show all the elements

Selectors and declarations are two blocks of which website layer?

A single CSS style is a rule that tells how to format. Make “this” look like “that”. Selector and declaration
block. E.g. Selector can be headline, paragraph of text, photo etc. Declaration block can turn text blue,
add red border around a paragraph, position the photo at center of page etc. E.g. P color: red; font-size:
1.5em; selector, declaration block has declarations

Write syntax to create instance of XMLHttpRequest?
Xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET","ajax_info.txt",true);
xmlhttp
3 mark Questions:
How you refresh current page in WPF Navigation based application?
This.navigationservice.refresh();

Name and Explain two categories of binary’s resources?
Resource: embed resources into the assembly
Content: This leaves resources as loose files and upon compilation this resource information is not
embedded into assembly.
Enlist three benefits of ObjData Provider?

Lets discuss data providers. source obj can be arbitrary. you could bind to db, registry, excel spreadsheet
etc.with enough code. an obj. that exposes right props and notifications and handles messy details work
involved might overweight benefits if writing all logic yourself two generic data-binding-friendly way to
expose common items.
XmlDataProvider and ObjectDataProvider. starting with wpf 3.5 sp1 data binding works with LINQ
(language
independent query) you can set Source or DataContext to a LINQ and the enumerable result is used.
Now with LINQ
to SQL and LINQ to XML, is an easy way than using wpf data providers
Ajax is interaction of which type of technologies?
Html css, javascript
5 mark Questions:
Describe purpose of using navigation in page in one line? And how we perform navigation?
.
Write Output:
msbuild/t:updateuidProjectName.csProj
LocBaml/parseProjectName_g_en_US.resources/out:-US-csv
msbuild /t:updateuid ProjectName.csproj
running this gives every object element in every XAML file in the project on x:Uid directive with a unique
value and
LocBaml /parse ProjectName.g.en-US.resources /out:en-US.csv
this generate a simple .csv file contianing all the property values you should need to localize
Ali wants to select and hide all <p>tags from html. Give syntax for this in JavaScript and
JQuery?
var element = document.getElementsByTagName("p");
  for (index = element.length - 1; index >= 0; index--) {
  element[index].parentNode.removeChild(element[index]);
}

$(document).ready(function(){
       $(“button”).Click(function(){
               $(“p”).hide();
       });
});
.

Questimi 03):- Differentiate b/W XIB and NIB.(2MarkS)
XIBs are flat files rather than being a bundle. This makes it easier for SCM systems to deal
with. When you compile your app, the XIB is compiled into a NIB file for inclusion in your
app.

The compiled NIB that is included in the app bundle is no longer editable in Interface Builder
and is much smaller than the equivalent XIB or legacy NIB file.

.
When browser sends request to web server, in which formats server sends back
information to web server? Give 4 examples?
JS, server-side programming, and web browser, all work together. Web browser: xmlhttprequest object.
Makes ajax possible. Talks to web server and get response. JS: sends request, waits for response,
process response, updates web page. Web server: receives request and responds as HTML, plain text,
XML, JSON. Or application server for more complicated tasks. Need web server for ajax examples.
For talking to web server, we create xmlhttprequest (also called XHR in short) var newxhr = new XML-
httprequest(); again browser incompatibilities call open to specify what kind of data and where it will go
can GET or POST newxhr.open(’GET’, ’shop.php?Productid=34’);

Please be remember that if someone wants to attempt all mcqs then it is necessory to listen
all lectures especially from 35 - 45.
CS411 Today's paper         11:00 a.m
Only 15 MCQs from Arslan Arshad File. Rest were new.
Subjective from last 15 lectures.
Total MCQs: 43
Total Subjective ques : 9

properties of touch point ? 3 marks
Basic touch events are touchenter and touchleave, touchmove and previewtouchmove, touchdown,
touchup, previewtouchdown and previewtouchu, gottouchcapture and losttouchcapture. With multiple
fingers, events raised for each finger separately. For first finger mouse events are generated as well.
Toucheventargs has gettouchpoint, getintermediatetouchpoints, touchdevice. Touchpoint has Position,
Size, Bounds, touchdevice, Action (Down, Up, Move). Each finger has its own touchdevice identified by
Id porp.

aik program likna tha acending aur decsending mai kuch sort k sath statement di hoi thi? 5
marks
Sortdescriptions property Is a collection of sortdescription which chooses a field and order, sort by
datetime, then by name. A clear method to return to unsorted. Eg. Three buttons to sort and toggle.
Sortdescription sort = new sortdescription("Name", listsortdirection.Ascending);
View.sortdescriptions.Add(new sortdescription("datetime", listsortdirection.Descending);
View.sortdescriptions.Add(new sortdescription("Name", listsortdirection.Ascending);
// Click event handlers for three different Buttons:
Void sortbyname_Click(object sender, routedeventargs e)
{
Sorthelper("Name");
}
Void sortbydatetime_Click(object sender, routedeventargs e)
{

More CS411 files

All CS411 files · Midterm Prep 2026 · MCQs Bank