cs411_Quiz2_midterm_merged.pdf

Verified academic study resource for CS411 (Visual Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 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
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS411.

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)

Frequently asked questions

Where can I download cs411_Quiz2_midterm_merged.pdf for free?

You can preview and download "cs411_Quiz2_midterm_merged.pdf" (CS411 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs411-quiz2-midterm-merged-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 Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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

1. Which one of the following is not a routed event?

                     Direct

2. To achieve DockPanel behavior in grid we can use ___________.

              Row span and column span

3. ___________ is the subclass of grid used to freeze some rows and
   columns of grid.

                   Selective scrolling Grid

4. Multitouch events are available on _________.

                     Windows 7 or later

5. Suppose we have two elements in grid one is button and other is
   rectangle, which property will be helpful to set position of button on top
   of the rectangle?

               Z index…..confirm

6. ________ is the subclass of grid used to freeze some rows and columns
   of grid.

               Selective Scrolling Grid…..confirm

7. To design a complex interface, which of the following technique is best
   to achieve the required results?

           Panels composed within panels……confirm

8. Which of the following property will be used to restrict the user to not
   decrease the height of a WPF element form a specific value?

                            Minheight….confirm

9. In WPF, ________ class defines an object which has read-only(frozen)
   state.

                      Freezable…..confirm

10. While working with grids in WPF, which attribute is used to see grid lines
    on screen?
                              Showgridlines….confirm

11. When a user select element from listbox, after selecting compiler
    marked the selected element as _______.

                        Selected….confirm

12. Which of the followings are keyboard events?

                                    Key down, key up

13. A __________ transform element after they are laid out by the parent
    panel ( but before they are rendered).

                        Layout transform…..confirm

14. Rotate transform has default value _________for center-x, center-y,
    Angle

                0….confirm

15. In this code statement
    Button b = sender as button
    As keyword is used for __________.

                         Instantiation……confirm

16. Dockpanel uses ________ property while docking elements in different
    orientations.

           Attached…..confirm

17. In order to resize the row and column in Grid panel, __________ is
    used.

         Grid splitter,,,,confirm

18. In dockpanel __________ attribute doesn’t fill the remaining space at
    the end.

                Lastchildfill=False…..confirm

19. _______ allow attaching a handler for an event that is defined in an
    element other than the one adding the handler.

           Attached event…..confirm

20. Which statement from the following statements is true about a java
   anonymous inner class?

                        All options…..confirm

               LMS handling service are
                     available
                         PAID
               Assignment, QUIZ, GDBZ and

GRAND QUIZ      GRAND QUIZ SERVICE are
                       available

                     0304-1659294
0304-1659294
JUNAID MALIK

 AL-JUNAID INSTITUTE GROUP
                   CS411 Grand Quiz
In WFP, if we try to add list box item in list box object which is already null, it will give us

      Runtime exception
      Compile time error
      Syntax error
      Logical error

XML is a stricter version of _________.

      Java
      CSS
      HTML
      C#

Which of these methods used to read strings from the console?

      Get ()
      Get line ()
      Read ()
      Readline ()

Which if the following statement is correct about WPF?

      WPF can use Python language foe designing
      WPF can developed mobile apps
      WPF is resolution independence
      WPF not support declarative programming

The code given bellow is equivalent to __________.

<SolidColorBrush>White</SolidColorBrush>

          <WhiteBrush>MyWhiteBrush</WhiteBrush>
          None of the given option
          <SolidColorBrush Color = “White”/>
          <Brush Style = “Solid White”>

WPF4 was released in _____________.

    2012
    2010

 AL-JUNAID INSTITUTE GROUP
    2005
    2003

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

      Probabilistic Events
      Actual Events
      Real Events
      Expected Events

All elements of WFP have following property/properties.

      Width
      None of the given option
      Height and Width
      Height

_________ is used to declare a class into multiple files and all these files and all these files are
combined into a single class file when the application is compiled.

      Inheritance
      Partial class
      Abstract Class
      Property Element

Which of the following is an example of tunnel key event?

      Key up
      Preview key entered
      Preview key down
      Key down

Is SharedSizeScope shares size information in __________grids(s)?

      Multiple
      Single
      Both 1 & 2
      Double

Wait for a single event is ________ operation.

      Waiting
      Waste
      Idle
      Blocking

 AL-JUNAID INSTITUTE GROUP
Which of the following components generates an input Event?

       Printer
       Multi touch
       Plotter
       Speaker

Arrays in C# are __________ objects.

       Logical
       Arithmetic
       Reference
       Value

A language supported by MS. Net platform.

       C
       C++
       Java
       C#

Extra space inside the element in WFP is known as ____________.

       Margin
       Style
       Padding
       Tunneling

Which of the following statements is true about raw events?

       It is introduced into an event processing system by an event procedure.
       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.

Dependency object .Clear Value method clears the ____________ value in a dependency
property.

More CS411 files

All CS411 files · Midterm Prep 2026 · MCQs Bank